Like Robert, I use nfs3. nfs4 introduced new strict policies for shares that I personally dont care to take the time to learn. So, use nfs3 for simplicity, or take teh time to learn about these nfs4 policies in Debian.
On Tue, Jun 17, 2014 at 10:23 AM, William Hermans <[email protected]> wrote: > *It is more usual for clients to mount NFS volumes automatically at >> boot-time. NFS volumes can be specified like any others in /etc/fstab. * >> >> * /etc/fstab* >> * 195.12.32.1:/home /home nfs >> rw,rsize=4096,wsize=4096,hard,intr,async,nodev,nosuid 0 0* >> * 195.12.32.2:/usr /usr nfs >> ro,rsize=8192,hard,intr,nfsvers=3,tcp,noatime,nodev,async 0 0* >> > > From: https://www.google.com/#q=debian%20mount%20NFS%20share%20at%20boot > -----> http://www.debianhelp.co.uk/nfs.htm > > On Tue, Jun 17, 2014 at 9:27 AM, Robert Nelson <[email protected]> > wrote: > >> On Tue, Jun 17, 2014 at 11:19 AM, Michel Lavoie <[email protected]> >> wrote: >> > Hi, >> > >> > I currently have 3 BBB running as web servers, media center, file >> syncing >> > tools, etc. and they used to be on Arch Linux. I recently switched one >> of >> > them to Debian (3.8.13-bone47), because I was curious, and I'm >> struggling >> > with the following problem: >> > >> > One of the BBB-Arch has several NFS exports which are used by other >> machines >> > (BBB-Arch, RPi-Rasbmc, PC-Ubuntu, PC-Manjaro, etc...). I've never had >> any >> > trouble mounting those NFS shares from any other machine, either >> manually or >> > automatically (at boot from an fstab entry). >> > >> > I've added the following entry to fstab in BBB-Debian and using "sudo >> mount >> > -a" works fine. However when I restart the board it doesn't get mounted >> > automatically. >> > >> > bbbdata:/EDMS /home/michel/edms nfs >> rsize=8192,wsize=8192,timeo=14,_netdev 0 >> > 0 >> > >> > I'm a bit at a loss here, I went through many guides and wiki entries >> and >> > couldn't find any solution. I also tried using the server's IP address >> > instead of the hostname (from /etc/hosts), but the results were the >> same. >> > >> > I did notice that it takes about 29 seconds for eth0 to become ready >> (from >> > dmesg), perhaps this is too long for the NFS automatic mount? >> > >> > [ 29.122963] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready >> > >> > Any help would be greatly appreciated! >> >> I don't have any issues with the 30 second timeout, although i'm still >> forcing nfsvers mode 3. >> >> From: /etc/fstab >> >> 192.168.1.95:/mnt/usb0/ /mnt/farm nfs >> rw,nfsvers=3,rsize=8192,wsize=8192 0 0 >> >> I have about 20 arm boards, connecting to that nfs server. >> >> Regards, >> >> -- >> Robert Nelson >> http://www.rcn-ee.com/ >> >> -- >> For more options, visit http://beagleboard.org/discuss >> --- >> You received this message because you are subscribed to the Google Groups >> "BeagleBoard" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
