Unable to unmount NFSv3 or NFSv4 mounts when mounted using IPv6 address
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
util-linux (Ubuntu) |
Confirmed
|
Medium
|
Unassigned |
Bug Description
I am unable to unmount NFS (v3 or v4) mount points if they were mounted using the server's IPv6 address instead of the server's hostname (which resolves to an IPv6 address). umount says "<mountpoint> was not found in /proc/mounts" even though the file system is clearly mounted.
I do not get the expected result when using IPv6 addresses (NFSv3 example):
root@gecko23:~# mount -t nfs [2620:103:
root@gecko23:~# mount | grep /mnt2
[2620:103:
root@gecko23:~# cat /proc/mounts | grep /mnt2
2620:103:
root@gecko23:~# umount /mnt2
/mnt2 was not found in /proc/mounts
/mnt2 was not found in /proc/mounts
This problem also happens when using NFSv4.
When mounting using a hostname which resolves to an IPv6 address, I get the expected result (NFSv4 example):
root@gecko23:~# mount -t nfs4 netapp2a-
root@gecko23:~# mount | grep /mnt2
netapp2a-
root@gecko23:~# cat /proc/mounts | grep /mnt2
netapp2a-
root@gecko23:~# umount /mnt2
Using a hostname with NFSv3 works as expected too:
root@gecko23:~# mount -t nfs netapp2a-
root@gecko23:~# umount /mnt2
Perhaps the colons (':') in the IPv6 addresses get confused with the delimiter (a colon) between NFS server and share point?
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: mount 2.20.1-1ubuntu3
ProcVersionSign
Uname: Linux 3.2.0-23-generic x86_64
ApportVersion: 2.0.1-0ubuntu7
Architecture: amd64
Date: Wed May 16 08:20:50 2012
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 (20120425)
ProcEnviron:
TERM=xterm
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: util-linux
UpgradeStatus: No upgrade log present (probably fresh install)
Changed in util-linux (Ubuntu): | |
importance: | Undecided → Medium |
Status changed to 'Confirmed' because the bug affects multiple users.