[Bug 683493] New: dmsetup problems with loop devices
https://bugzilla.novell.com/show_bug.cgi?id=683493 https://bugzilla.novell.com/show_bug.cgi?id=683493#c0 Summary: dmsetup problems with loop devices Classification: openSUSE Product: openSUSE 11.5 Version: Factory Platform: x86-64 OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: nfbrown@novell.com ReportedBy: pcerny@novell.com QAContact: qa@suse.de Found By: --- Blocker: --- Device mapper seems to have some issues when using loop devices. With /dev/loop0 attached to /dev/sda, and following table file: # DM table file 0 XXX linear /dev/loop0 0 XXX YYY linear /dev/sda XXX # end of DM table file 'dmsetup create' prduces the following error in log: ---- snip ---- device-mapper: table: 253:0: linear: dm-linear: Device lookup failed device-mapper: ioctl: error adding target to table ---- snip ---- With another loop device (say /dev/loop1) attached to /dev/sda and substitued for it in the table file, the whole process works correctly. $ dmsetup --version Library version: 1.02.63 (2011-02-09) Driver version: 4.19.1 $ uname -a Linux hostname 2.6.38-4-default #1 SMP 2011-03-15 17:12:01 +0100 x86_64 x86_64 x86_64 GNU/Linux The behaviour is present since at least Oct 2010. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683493 https://bugzilla.novell.com/show_bug.cgi?id=683493#c1 Neil Brown <nfbrown@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |pcerny@novell.com --- Comment #1 from Neil Brown <nfbrown@novell.com> 2011-04-06 04:35:27 UTC --- Very strange. I cannot reproduce this, so there is probably something odd with your /dev/loop0. The most likely explanation is that it is in use by something else. What does: fsck.ext2 /dev/loop0 show? It will most likely give an error but which error is the question. If it shows: fsck.ext2: Device or resource busy while trying to open /dev/loop0 then /dev/loop0 is in use by something else - a mounted filesystem, a swap file, an md array, a dm target, or some process has it open O_EXCL. If you get some other message ... that will be interesting. If you could give me full details like: cat /proc/partitions cat /proc/mdstat cat /proc/mounts cat /proc/swaps dmsetup table losetup -a and the exact 'table' file you are using, that might help. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683493 https://bugzilla.novell.com/show_bug.cgi?id=683493#c2 --- Comment #2 from Petr Cerny <pcerny@novell.com> 2011-04-06 08:57:16 UTC --- I have already migrated from this setup, so it will take me some time to supply the info, please bear with me. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=683493 https://bugzilla.novell.com/show_bug.cgi?id=683493#c3 Neil Brown <nfbrown@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED InfoProvider|pcerny@novell.com | Resolution| |NORESPONSE --- Comment #3 from Neil Brown <nfbrown@novell.com> 2011-06-02 06:20:55 UTC --- As this doesn't seem to be a priority I'm going to close it as 'no response'. Feel free to re-open if you have more data and wish to pursue this further. Thanks. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com