[Bug 1274678] [NEW] Unable to unmount nfsv3 when server is inaccessible

Georg Lipps georg.lipps at t-online.de
Thu Jan 30 19:58:35 UTC 2014


Public bug reported:

Afer haveing upgraded to Ubuntu 13.10 (3.11.0-15-generic) I an unable to
unmount  nfsv3.

Setting: My NAS is only running a few hours per day. I have a script
mounting the NAS share when the NAS becomes available on the network.
The script also tries to  unmount the shares when the NAS shut downs.
This configuration was running without any problems under Ubuntu 12.10.
After upgrading to 13.10 the unmounting is not working anymore and the
computer is even not shuting down completely. I used to mount "hard"
without any problems now I tried "soft" but no success. Unmounting works
perfect as long as NAS is accessible.


georg at InaUbuntu:~$ mount
...
192.168.1.10:/media on /mnt/NAS/media type nfs (rw,soft,intr,tcp,actimeo=3,addr=192.168.1.10)
192.168.1.10:/backup on /mnt/NAS/backup type nfs (rw,soft,intr,tcp,actimeo=3,addr=192.168.1.10)


== NAS is turned off ===

georg at InaUbuntu:~$ lsof /mnt/NAS/backup

"stalled"

georg at InaUbuntu:~$ fuser -v /mnt/NAS/backup

"stalled"

georg at InaUbuntu:~$ sudo umount -l /mnt/NAS/backup
[sudo] password for georg:

"stalled"

georg at InaUbuntu:~$ sudo umount -f /mnt/NAS/backup

"stalled"

georg at InaUbuntu:~$ sudo umount -l -f /mnt/NAS/backup

"stalled"

/Var/syslog & dmesg remains "clean", no nfs related messages


georg at InaUbuntu:~$ nfsstat -m
/mnt/NAS/backup from 192.168.1.10:/backup
 Flags:	rw,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,acregmax=3,acdirmin=3,acdirmax=3,soft,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.10,mountvers=3,mountport=3244,mountproto=tcp,local_lock=none,addr=192.168.1.10

/mnt/NAS/media from 192.168.1.10:/media
 Flags:	rw,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,acregmax=3,acdirmin=3,acdirmax=3,soft,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.10,mountvers=3,mountport=3244,mountproto=tcp,local_lock=none,addr=192.168.1.10


Any comments & help are highly appreciated. I cannot use nfs4 as it is not supported by NAS.

Best regards,

Georg

** Affects: nfs-utils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to nfs-utils in Ubuntu.
https://bugs.launchpad.net/bugs/1274678

Title:
  Unable to unmount nfsv3 when server is inaccessible

Status in “nfs-utils” package in Ubuntu:
  New

Bug description:
  Afer haveing upgraded to Ubuntu 13.10 (3.11.0-15-generic) I an unable
  to unmount  nfsv3.

  Setting: My NAS is only running a few hours per day. I have a script
  mounting the NAS share when the NAS becomes available on the network.
  The script also tries to  unmount the shares when the NAS shut downs.
  This configuration was running without any problems under Ubuntu
  12.10. After upgrading to 13.10 the unmounting is not working anymore
  and the computer is even not shuting down completely. I used to mount
  "hard" without any problems now I tried "soft" but no success.
  Unmounting works perfect as long as NAS is accessible.

  
  georg at InaUbuntu:~$ mount
  ...
  192.168.1.10:/media on /mnt/NAS/media type nfs (rw,soft,intr,tcp,actimeo=3,addr=192.168.1.10)
  192.168.1.10:/backup on /mnt/NAS/backup type nfs (rw,soft,intr,tcp,actimeo=3,addr=192.168.1.10)

  
  == NAS is turned off ===

  georg at InaUbuntu:~$ lsof /mnt/NAS/backup

  "stalled"

  georg at InaUbuntu:~$ fuser -v /mnt/NAS/backup

  "stalled"

  georg at InaUbuntu:~$ sudo umount -l /mnt/NAS/backup
  [sudo] password for georg:

  "stalled"

  georg at InaUbuntu:~$ sudo umount -f /mnt/NAS/backup

  "stalled"

  georg at InaUbuntu:~$ sudo umount -l -f /mnt/NAS/backup

  "stalled"

  /Var/syslog & dmesg remains "clean", no nfs related messages

  
  georg at InaUbuntu:~$ nfsstat -m
  /mnt/NAS/backup from 192.168.1.10:/backup
   Flags:	rw,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,acregmax=3,acdirmin=3,acdirmax=3,soft,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.10,mountvers=3,mountport=3244,mountproto=tcp,local_lock=none,addr=192.168.1.10

  /mnt/NAS/media from 192.168.1.10:/media
   Flags:	rw,relatime,vers=3,rsize=131072,wsize=131072,namlen=255,acregmax=3,acdirmin=3,acdirmax=3,soft,proto=tcp,timeo=600,retrans=2,sec=sys,mountaddr=192.168.1.10,mountvers=3,mountport=3244,mountproto=tcp,local_lock=none,addr=192.168.1.10

  
  Any comments & help are highly appreciated. I cannot use nfs4 as it is not supported by NAS.

  Best regards,

  Georg

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nfs-utils/+bug/1274678/+subscriptions



More information about the foundations-bugs mailing list