Reproducer: On server: edit /etc/sysconfig/nfs and set MOUNTD_NFS_V1=no restart nfs On client: Mount a share from the server. This should be successful. Now try to unmount it. This fails with an error. # umount /mnt umount.nfs: vm22:/exports: not found / mounted or server not reachable umount.nfs: vm22:/exports: not found / mounted or server not reachable The cause appears to be the fact that the client when mounting uses MOUNT version 3 protocol. However when unmounting, it appears to use version 1 of the MOUNT protocol. Since version 1 is disabled, the client cannot unmount.
Created attachment 474657 [details] The patch that fixes the problem
reproduced on RHEL5.6: On server: edit /etc/sysconfig/nfs and set MOUNTD_NFS_V1=no restart nfs [root@dell-pesc430-03 ~]# mount -t nfs dell-pesc430-03.rhts.eng.bos.redhat.com:/scratch/testdir/1 /mnt/ [root@dell-pesc430-03 ~]# cat /proc/mounts ... dell-pesc430-03.rhts.eng.bos.redhat.com:/scratch/testdir/1 /mnt nfs rw,vers=3,rsize=32768,wsize=32768,hard,proto=tcp,timeo=600,retrans=2,sec=sys,addr=dell-pesc430-03.rhts.eng.bos.redhat.com 0 0 [root@dell-pesc430-03 ~]# umount /mnt umount.nfs: dell-pesc430-03.rhts.eng.bos.redhat.com:/scratch/testdir/1: not found / mounted or server not reachable umount.nfs: dell-pesc430-03.rhts.eng.bos.redhat.com:/scratch/testdir/1: not found / mounted or server not reachable verified on RHEL5.7 with nfs-utils-1.0.9-52.el5 i386 and x86_64 package, umount is ok if mount version 1 is disabled.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-1048.html