nfs broken after upgrade from 10.04 to 12.04

scar scar at drigon.com
Mon Jan 6 18:40:46 UTC 2014


Marius Gedminas @ 01/06/2014 06:40 AM:
> On Mon, Jan 06, 2014 at 01:22:23AM -0700, scar wrote:
>> NFS server not working properly after upgrading to Ubuntu 12.04 from
>> 10.04.
> Strange!  How did you upgrade?

i just used the GUI update manager and clicked on the button that said
'new release is available'

>> don't see any errors but not sure where else to look besides dmesg?
> /var/log/syslog?
> 
> Check with 'sudo netstat -tnlvp' to see if you have daemons listening on
> the right ports?  (the kernel nfs thread, shown as "-", on port 2049,
> rpcbind on port 111, rpc.mountd on some random port -- I actually have
> it listening on three ports, not sure why -- one port per export?;
> rpc.statd on some other random port, rpc.rquotad also maybe)

yeah looks like they are all running/listening except for rpc.rquotad,
but they are listening on 0.0.0.0 it looks like, shouldn't they be
listening on the servers address (192.168.1.139 in this case)?
$ sudo netstat -tnlvp|grep 2049
tcp        0      0 0.0.0.0:2049            0.0.0.0:*
LISTEN      -
tcp6       0      0 :::2049                 :::*
LISTEN      -
$ sudo netstat -tnlvp|grep 111
tcp6       0      0 :::111                  :::*
LISTEN      12328/rpcbind
$ sudo netstat -tnlvp|grep rpc.mountd
tcp        0      0 0.0.0.0:32783           0.0.0.0:*
LISTEN      13067/rpc.mountd
tcp        0      0 0.0.0.0:41746           0.0.0.0:*
LISTEN      13067/rpc.mountd
tcp        0      0 0.0.0.0:47414           0.0.0.0:*
LISTEN      13067/rpc.mountd
tcp6       0      0 :::35849                :::*
LISTEN      13067/rpc.mountd
tcp6       0      0 :::34444                :::*
LISTEN      13067/rpc.mountd
tcp6       0      0 :::43981                :::*
LISTEN      13067/rpc.mountd
$ sudo netstat -tnlvp|grep rpc.statd
tcp        0      0 0.0.0.0:44422           0.0.0.0:*
LISTEN      12634/rpc.statd
tcp6       0      0 :::33353                :::*
LISTEN      12634/rpc.statd
$ sudo netstat -tnlvp|grep rpc.rquotad
$

> Check with rpcinfo if nfs/mountd etc services are registered.

rpcinfo lists several things pertaining to nfs/mountd

> Check with 'sudo exportfs' if you have successfully exported the
> filesystems.

yes both of my filesystems are shown....






More information about the ubuntu-users mailing list