[CS-FSLUG] Re: Things that bug me about Linux...
timbrown at ichristian.com
timbrown at ichristian.com
Mon Mar 7 16:14:59 CST 2005
Well, I tried to do a umount as root. The device is /dev/hdb1. When Fuser is
run, it returns nothing. Yet when I try to umount, the OS says the drive is
busy.
Gotta love it.
Tim
Tim Young writes:
> A process is still locking something on the mount. From a command-line run the
> following command to determine which process is locking the directory:
>
> (assuming /dev/hdb3 was mounted on /mnt/hdb3)
> # fuser /mnt/hdb3
>
> Then you can do a:
> # pstree -p | grep [number returned from command above]
>
> For example, I might do:
>
> # fuser /mnt/hdb3
> 5682
> # pstree -p | grep 5682
>
> This should give you some information as to what is still using the mounted
> partition. Quite likely you just have a widow up that is looking at the files
> or something like that.
>
> - Tim Young
>
> timbrown at ichristian.com wrote:
>
>> Here's a question I've been meaning to ask for some time...
>>
>> Say I put a second drive in the computer to move data over. Let's assume
>> it's /dev/hdb3 for a name.
>>
>> I configure it through Yast partitioner, then create an icon on my desktop.
>> It works fine. THEN when I'm done with it, I try to unmount it..."Only root
>> can unmount /dev/hdb3" Ok, I understand that.
>>
>> But I go to terminal and type umount /dev/hdb3 AS SU and it returns "can't
>> unmount, drive is busy". BUSY. BUSY??? How is it busy??? I'm not using it!!!
>>
>> So, I just power down, unplug the thing, boot up, get the inevitable console
>> prompt, run yast, then pico fstab to remove the ref to the drive.
>>
>> Then I'm ok.
>>
>> What gives?
>>
>> Thanks,
>>
>> TIm
>>
>> 10 out of 10 people die.
>> http://www.needgod.com
>>
>> _______________________________________________
>> ChristianSource FSLUG mailing list
>> Christiansource at ofb.biz
>> http://cs.uninetsolutions.com
10 out of 10 people die.
http://www.needgod.com
More information about the Christiansource
mailing list