General
cancel
Showing results for 
Search instead for 
Did you mean: 

getting "device is busy" msg but no one is in fs

SOLVED
Go to solution
Matt Shaffer_1
Regular Advisor

getting "device is busy" msg but no one is in fs

this is a linux redhat HP ml350 g4 machine. after using lvextend to extend the lvol, i tried to umount the fs so i could increase it. i got device is busy alert but i was not in the directory nor was anyone else on the system. i had to comment out the fs in /etc/fstab then reboot to umount the fs. i was then able to extend it and mount it. why did i get device is busy msg. thanks
4 REPLIES
Steven E. Protter
Exalted Contributor
Solution

Re: getting "device is busy" msg but no one is in fs

fuser -cu /filesystem_name

fuser -cuk /filesystem_name

should kill all processes on the filesystem.

More than likely your connection to the box will terminate.

Best solution is to boot the box.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Florian Heigl (new acc)
Honored Contributor

Re: getting "device is busy" msg but no one is in fs

Maybe You simply had a running process there or something was mounted below that filesystem?
Also possible would be a open file handle from rm'ing an open file.
There's almost no other reason!
yesterday I stood at the edge. Today I'm one step ahead.
Matt Shaffer_1
Regular Advisor

Re: getting "device is busy" msg but no one is in fs

thanks. i'll try these suggestions next time it occurs.
Matt Shaffer_1
Regular Advisor

Re: getting "device is busy" msg but no one is in fs

. lsof may have shown some proc in the mount. not sure anymore. but it was one of the solutions provided as i agree that it really could be nothing else.