[Bug 656526] Re: Device or resource busy while trying to open

Adam Koczur 656526 at bugs.launchpad.net
Wed Jun 8 16:16:52 UTC 2011


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...

** Bug watch added: Debian Bug tracker #549691
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=549691

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to e2fsprogs in Ubuntu.
https://bugs.launchpad.net/bugs/656526

Title:
  Device or resource busy while trying to open

Status in “e2fsprogs” package in Ubuntu:
  Incomplete

Bug description:
  Binary package hint: e2fsprogs

  After a system crash my Ubuntu didn´t want to boot due some problems
  in Ext4 filesystem. I was trying to repair filesystem with booting
  from Ubuntu LiveCD and run fsck.ext4 and e2fsck. But both programs
  said me that:

  fsck.ext4: Device or resource busy while trying to open /dev/sda1
  Filesystem mounted or opened exclusively by another program?

  But this partition wasn´t mounted, I checked it with mount command.

  ProblemType: Bug
  DistroRelease: Ubuntu 10.04
  Package: e2fsprogs 1.41.11-1ubuntu2
  ProcVersionSignature: Ubuntu 2.6.32-25.44-generic 2.6.32.21+drm33.7
  Uname: Linux 2.6.32-25-generic i686
  Architecture: i386
  Date: Fri Oct  8 00:25:35 2010
  InstallationMedia: Ubuntu-Netbook 10.04 "Lucid Lynx" - Release i386 (20100429.4)
  ProcEnviron:
   LANG=ru_RU.UTF-8
   SHELL=/bin/bash
  SourcePackage: e2fsprogs




More information about the foundations-bugs mailing list