Closed GoogleCodeExporter closed 9 years ago
NFS4 is very old in 2.6.22 kernel, so bug seems to be in kernel code. So,
probably backports from upstream required. Unfortunately, we haven't time for
this task right now.
Simple workaround - use NFSv3.
Original comment by lly.dev
on 26 Mar 2011 at 6:36
How do I use nfs3? Start nfs daemon manually, specifying protocol version to
use?
Forgot to mention: sudo mount -t nfs finishes with same error.
Original comment by dmitriy.geels
on 26 Mar 2011 at 7:24
"-o vers=3" works for me (OpenSUSE 11.3 host)
Original comment by lly.dev
on 26 Mar 2011 at 8:38
"vers=3" helped, thanks!
At least, workaround found.
Original comment by dmitriy.geels
on 26 Mar 2011 at 8:42
Whoops - same issue here, though "-o vers=3" didn't help me:
sudo showmount -e 192.168.1.1
Export list for 192.168.1.1:
/tmp/mnt/disca_1 192.168.1.0/24
sudo mount -vvv -t nfs 192.168.1.1:/tmp/mnt/disca_1 Music -o vers=3
mount: fstab path: "/etc/fstab"
mount: mtab path: "/etc/mtab"
mount: lock path: "/etc/mtab~"
mount: temp path: "/etc/mtab.tmp"
mount: UID: 0
mount: eUID: 0
mount: spec: "192.168.1.1:/tmp/mnt/disca_1"
mount: node: "Music"
mount: types: "nfs"
mount: opts: "vers=3"
mount: external mount: argv[0] = "/sbin/mount.nfs"
mount: external mount: argv[1] = "192.168.1.1:/tmp/mnt/disca_1"
mount: external mount: argv[2] = "Music"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw,vers=3"
mount.nfs: timeout set for Thu Mar 31 11:20:51 2011
mount.nfs: trying text-based options 'vers=3,addr=192.168.1.1'
mount.nfs: prog 100003, trying vers=3, prot=6
mount.nfs: trying 192.168.1.1 prog 100003 vers 3 prot TCP port 2049
mount.nfs: prog 100005, trying vers=3, prot=17
mount.nfs: trying 192.168.1.1 prog 100005 vers 3 prot UDP port 1010
mount.nfs: mount(2): Permission denied
mount.nfs: access denied by server while mounting 192.168.1.1:/tmp/mnt/disca_1
I'm running 1.9.2.7-rtn-r2775 on WL-500gP V2 box. By the way, I'm most
impressed and grateful for the work on this firmware. My partner and I live
off-grid and depend on a 3G connection for our internet, and this firmware has
made our lives easier !
Original comment by odona...@gmail.com
on 31 Mar 2011 at 9:28
First of all, some filesystems, like ntfs, was unexportable until r3252.
Mandatory "-o vers=3" solved in r3278 by disabling NFSv4 at all, until we done
appropriate backports from upstream.
Original comment by lly.dev
on 10 Sep 2011 at 12:38
Original issue reported on code.google.com by
dmitriy.geels
on 25 Mar 2011 at 9:45