old kernel mount issue

Categories: OS

while trying to mount my nas box (debian 2.4.25 armv41 kernel) from my gentoo box, i kept getting these weird errors in dmesg:

rpcbind: server localhost not responding, timed out
RPC: failed to contact local rpcbind server (errno 5).
lockd_up: makesock failed, error=-5

the command i was issuing:
$ sudo mount -t nfs /media/pluto

after doing some legwork and reading the mount man page and the nfs man page i stumbled across this little gem in the nfs man page and referenced in the mount page:

    Disable NFS locking. This has to be used with some old NFS servers that don't support locking (for example servers running Red Hat Linux 5.2 or older).

hmmm. lets give it a shot:
$ sudo mount -t nfs -o nolock /media/pluto

no weird dmesg or /var/log/messages error and it fully mounted (quick too).


    Leave a Reply

    Your email address will not be published. Required fields are marked *