Re: can't umount /usr(/dev/hdb3)
At 12:44 AM 31/03/97 +0200, joost witteveen wrote:
>> Hi all,
>>
>> I upgrade a lot of packages, don't know exactly which ones though, and now
>> shutdown -h now and umount will not unmount /usr(aka /dev/hdb3). It
gives me
>> same error:
>> umount: /dev/hdb3: device is busy
>>
>> Does anyone have any idea as to what is causing this?
>
>The other asnwers in this list are all very usefull, but sometimes
>I find that whatever I do, I cannot unmount for example /usr.
>In such cases, it's best to do
>
> mount -o remount,ro /usr
>
>i.e. remount it read-only, so that all data is written do the partition,
>and you can now safely switch off the computer (execute "halt").
>(assuming all other partions are unmonuted properly).
Or better still, find what process is using /dev/hdb3 by doing this:
fuser -uvm <mounted system>
What I mean by mounted system is /var or /home and the like. This will
print out process ID and the USER who's controlling it (and what the
process is - ie: named).
Regards
--
Karl Ferguson
Tower Networking Pty Ltd Tel: +61-9-456-0000 karl@tower.net.au
t/a STAR Online Services Fax: +61-9-455-2776 karl@debian.org
Reply to: