Hi folks, I am running Jessie (amd64), and I have set up a backup system using http://www.rsnapshot.org/howto/1.2/rsnapshot-HOWTO.en.html as a guide. In particular, Section 7.2 describes how I've set up my system. (The exception being that I opted to use "snapshots" instead of ".snapshots")
In summary... /.private is readable and writable only to root /.private/snapshots is the mountpoint for /dev/sdb1 It is mounted on boot via an entry in /etc/fstab rsnapshot runs as root and creates backups in /.private/snapshot at regular intervals. /.private/snaphots is shared via NFS The entry in /etc/exports is as follows /.private/snapshots 127.0.0.1(ro,no_root_squash) /snapshots is mounted via an entry in /etc/fstab as follows localhost:/.private/snapshots /snapshots nfs ro 0 0 Users can browse and copy files from backups, but never change them. This works fairly well; however, it adds large amount of time onto the boot process. When booting up, I get a message that says "A start job is running for /snapshots (10 sec / 1 min 30 sec)" The job never finishes before the timer finishes and the boot process just waits until it is done. Similarily, the system sits unresponsive for about 1 minute and 40 seconds during shutdown. If I comment out the NFS entry in /etc/fstab , shutdown takes about 8 seconds and boot up takes about 40 (ignoring BIOS). If I add an entry for an NFS share located on a *different* computer, the slowdown does not occur. If the NFS share is not in /etc/fstab , manually mounting the share does not seem to result in prolonged shutdown. I'm primarily concerned with the boot speed at the moment, and it seems like the issue is caused by the fact that the NFS server is not running at the time when /etc/fstab is processed. Obviously, we *can't* start the server that early, so I thought manually calling mount from /etc/rc.local would do the trick. 'mount localhost:/.private/snapshots -o ro /snapshots' This gives the impression of working, but when I try to view the mountpoint contents I get the following error ls: cannot open directory /snapshots: Stale file handle So here is my question: What is the best way to automatically mount a NFS share on the system acting as the server? Thanks, Laverne -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/1423752646.1926.3.camel@schrock.email