Can’t umount Red-Hat filesystem with error “This utility only unmounts cifs filesystems” either with force?
[@Linux-redhat5 ~]$ cat /etc/redhat-release Red Hat Enterprise Linux Server release 5.11 (Tikanga)
ERROR:
[@Linux-redhat5 /]# umount /cifsfilesystem/data/custom This utility only unmounts cifs filesystems. This utility only unmounts cifs filesystems. This utility only unmounts cifs filesystems.
#EITHER no dismount with FORCE (-f):
[@Linux-redhat5 /]# umount.cifs -f /cifsfilesystem/data/custom This utility only unmounts cifs filesystems.
SO TRY THIS:
[@Linux-redhat5 /]# umount -i /cifsfilesystem/data/custom umount: //cifsfilesystem/data/custom: not found umount: /cifsfilesystem/data/custom: not mounted umount: //cifsfilesystem/data/custom: not found umount: /cifsfilesystem/data/custom: not mounted umount: //cifsfilesystem/data/custom: not found umount: /cifsfilesystem/data/custom: not mounted [@Linux-redhat5 /]# df -h /cifsfilesystem/data/custom Filesystem Size Used Avail Use% Mounted on /dev/mapper/vgroot-lvroot 5.9G 4.5G 1.1G 81% /
IDEA:
-i
Don’t call the /sbin/umount. helper even if it exists. By default /sbin/umount. helper is called if one exists.