You are not logged in.

#1 2009-10-22 13:07:59

lewis1711
Member
Registered: 2009-09-14
Posts: 12

fsck complains my unmounted drive is mounted.

I'm on a live CD, trying to fix a corrupted file system. I have to replace a superblock or something, so I am doing this;

mint@mint ~ $ sudo fsck -b 98304 -y -t ext3 /dev/sda4
fsck 1.40.8 (13-Mar-2008)
e2fsck 1.40.8 (13-Mar-2008)
fsck.ext3: Device or resource busy while trying to open /dev/sda4
Filesystem mounted or opened exclusively by another program?

I am 100% certain the drive is NOT mounted. Here is proof;

sudo fuser -vm /dev/sda4

(no output) AND

mint@mint ~ $ sudo umount /dev/sda4
umount: /dev/sda4: not mounted

Any help appreciated.

Offline

#2 2009-10-22 14:57:32

jargoman
Member
Registered: 2008-03-10
Posts: 33

Re: fsck complains my unmounted drive is mounted.

Hmmm that's a strange one.

df

will show your mounted partitions.

make sure you didn't cd into /dev/sda4. and make sure no other programs are trying to access sda4 ie gparted, another file system checker. Maybe the partition isn't sda4 in the livecd.

Offline

Board footer

Powered by FluxBB