Re: Can't umount when busy

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You can use command 'fuser -mv' with the mount point as its argument.'
For example, if you need to know what processes are using /var
filesystem
so it cannot be umounted, you should give the following command:

fuser -mv /var

It will give you the list of all processes which use files and
directories
in the mounted filesystem. Filesystem can not be umounted while any of
files/directories on it are used (for example, opened).

Alexey Fadyushin
Brainbench MVP for Linux.
http://www.brainbench.com

Frank Reichenbacher wrote:
> 
> I'm trying to get mirrordir to work on a new second hard drive. I
> created the partitions, set up the filesystems as needed, and then made
> the directories for the mount points. I'm having a hard time testing and
> troubleshooting, however, because I can't get umount to work on the
> mirrored drive partitions because no matter what stuff I
> close/stop/delete I can't get them 'unbusy' unless I reboot. How do I
> find out what processes are tying up the mount point? Man umount says it
> might even be the umount command, if so, what on earth would one do to
> get around that?
> 
> Frank
> 
> --
> redhat-list mailing list
> unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
> https://www.redhat.com/mailman/listinfo/redhat-list


-- 
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux