when i try to umount a drive it says device busy.. i check whos using it using fuser and nothing found. I guess a reboot should do the trick but is there another way? Also the -f doesn't work either. henry
Hi Henry, A mounted filesystem will not be unmountable as long as there are processes holding open files in it. You can check to see which processes have open files by using the "lsof" utility. You may want to use a construct like "lsof | grep /mnt/mountpoint" .. replace /mnt/mountpoint with the mountpoint you are interested in. You will see the process, owner, and pid. End those processes, and viola! You should be able to unmount. Best Regards, Arthur Perry Linux Systems/Software Architect Lead Linux Engineer On Wed, 1 Sep 2004, Henry Tang wrote:
when i try to umount a drive it says device busy..
i check whos using it using fuser and nothing found. I guess a reboot should do the trick but is there another way? Also the -f doesn't work either.
henry
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
Thanks arthur and patrick The lsof got the pid and i killed it.. after that i was able to umount! thanks henry Arthur Perry wrote:
Hi Henry,
A mounted filesystem will not be unmountable as long as there are processes holding open files in it. You can check to see which processes have open files by using the "lsof" utility.
You may want to use a construct like "lsof | grep /mnt/mountpoint" .. replace /mnt/mountpoint with the mountpoint you are interested in.
You will see the process, owner, and pid. End those processes, and viola! You should be able to unmount.
Best Regards, Arthur Perry Linux Systems/Software Architect Lead Linux Engineer
On Wed, 1 Sep 2004, Henry Tang wrote:
when i try to umount a drive it says device busy..
i check whos using it using fuser and nothing found. I guess a reboot should do the trick but is there another way? Also the -f doesn't work either.
henry
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (2)
-
Arthur Perry
-
Henry Tang