Comment 16 for bug 656526

Revision history for this message
Adam Koczur (sbv) wrote :

I have successfully ported Natty's e2fsprogs back to Maverick and still there is a problem. Looks like it is related to http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549691 which is rather LVM / Device Mapper issue and not e2fsprogs.
Basically, I have a logical volume with ext4 on it, which got corrupted. The filesystem is unmounted and fsck, even the recent version, keeps saying:

e2fsck 1.41.14 (22-Dec-2010)
fsck.ext4: Device or resource busy while trying to open /dev/mapper/vg-trash
Filesystem mounted or opened exclusively by another program?

then:
lvchange -v -a n /dev/vg/trash
    Using logical volume(s) on command line
    Deactivating logical volume "trash"
    Found volume group "vg"
  LV vg/trash in use: not deactivating

and finally:
dmsetup remove /dev/mapper/vg-trash
device-mapper: remove ioctl failed: Device or resource busy
Command failed

Looks like I am nowhere with it...