nfs broken after upgrade from 10.04 to 12.04

Marius Gedminas marius at pov.lt
Mon Jan 6 13:40:00 UTC 2014


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.  there was a strange issue during upgrade preventing nfs-common
> et.al. from being upgraded...

Strange!  How did you upgrade?

> had to remove portmap to fix that but i still cannot connect to the
> server from the client.

I upgraded a 10.04 LTS server to 12.04 LTS with sudo do-release-upgrade,
and NFS continues to work fine.  (portmap was removed during the upgrade
and seems to no longer be necessary.)

> 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)

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

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

> [ 3030.936847] nfsd: last server has exited, flushing export cache
> [ 3032.064385] NFSD: Using /var/lib/nfs/v4recovery as the NFSv4 state
> recovery directory
> [ 3032.064415] NFSD: starting 90-second grace period
> 
> looks like everything is OK but when i try to access the server from the
> client (using ls e.g.) i get an extreme delay and eventually a "ls:
> cannot open directory X: No such file or directory"

Marius Gedminas
-- 
After having done some test using hi-tech istruments (moving my mouse
during a kernel build) [...]
        -- Davide Libenzi on lkml
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 190 bytes
Desc: Digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20140106/c99d2054/attachment.sig>


More information about the ubuntu-users mailing list