Showing results for 
Search instead for 
Did you mean: 

LVOL not unmounting

Super Advisor

LVOL not unmounting


I am getting the following error while trying to unmount an LVOL i created earlier:-

# umount /data
umount: cannot unmount /dev/vg08/lvol1 : Device busy
umount: return error 1.

'fuser -c /data' does not show any use of the mount point

/data is also not shared under NFS.

What can be the problem?
Honored Contributor

Re: LVOL not unmounting

one possibility i can think is
file systems mounted underneath /data

check for any file system mounted inside /data

bdf |grep -i data
Super Advisor

Re: LVOL not unmounting

root@spare2:/>bdf|grep -i data
/dev/vg08/lvol1 1048576 17370 966762 2% /data

No there are no other filesystem(s) mounted under data

root@spare2:/>ll data
total 60
-rw------- 1 root sys 30720 Feb 20 17:04 data.bak
drwxr-xr-x 2 root root 96 Feb 17 18:14 lost+found
drwxrwxrwx 2 root sys 96 Feb 20 13:08 script
root@spare2:/>ll data/script/
total 4
-rwx------ 1 root sys 83 Feb 20 11:20
-rwx------ 1 root sys 424 Feb 20 13:07
Honored Contributor

Re: LVOL not unmounting

Use lsof instead of fuser
lsof /data
If you have not lsof, install it and check with it
Rita C Workman
Honored Contributor

Re: LVOL not unmounting

You may have someone 'cd' into that mountpoint. Doing nothing, just did a cd into it.

You may have some defunct process that is dead, but still holding on to it.

Frequent Advisor

Re: LVOL not unmounting

fuser -cu [mountpoint)
to see user processes

fusert -cuk [mountpoint]

to kill all

If there is an NFS mount on it that is a whole different thing.

Does bdf [mountpoint] hang?