[Bug 957059] New: Base:System/lvm2: Bug lvm snapshot (lvcreate) reports "device-mapper: remove ioctl on (254:3) failed: Device or resource busy" error for all snaps
http://bugzilla.opensuse.org/show_bug.cgi?id=957059 Bug ID: 957059 Summary: Base:System/lvm2: Bug lvm snapshot (lvcreate) reports "device-mapper: remove ioctl on (254:3) failed: Device or resource busy" error for all snaps Classification: openSUSE Product: openSUSE.org Version: unspecified Hardware: x86-64 OS: openSUSE 42.1 Status: NEW Severity: Major Priority: P5 - None Component: 3rd party software Assignee: deanraccoon@gmail.com Reporter: 9b3e05a5@opayq.com QA Contact: opensuse-communityscreening@forge.provo.novell.com Found By: --- Blocker: --- On Leap lsb_release -rd Description: openSUSE Leap 42.1 (x86_64) Release: 42.1 I have 3 active LVs lvs --version LVM version: 2.02.120(2) (2015-05-15) Library version: 1.03.01 (2015-05-15) Driver version: 4.33.0 lvs LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert LV01 VG0 -wi-ao---- 352.00m LV02 VG0 -wi-ao---- 5.00g LV03 VG0 -wi-ao---- 512.00m On exec of LV snapshots of the volumes reports ERRORs lvcreate -L 352M -s -n SNAP01 /dev/VG0/LV01 device-mapper: remove ioctl on (254:3) failed: Device or resource busy Logical volume "SNAP01" created. lvcreate -L 512M -s -n SNAP03 /dev/VG0/LV03 device-mapper: remove ioctl on (254:15) failed: Device or resource busy Logical volume "SNAP03" created. lvcreate -L 5G -s -n SNAP02 /dev/VG0/LV02 device-mapper: remove ioctl on (254:18) failed: Device or resource busy Logical volume "SNAP02" created. But creates the snapshot LVs lvs | grep SNAP LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert SNAP01 VG0 swi-a-s--- 352.00m LV01 0.00 SNAP02 VG0 swi-a-s--- 5.00g LV02 0.01 SNAP03 VG0 swi-a-s--- 512.00m LV03 0.00 There's no indication of the integrity, or lack thereof, of the snapshot subsequent to the error. There's a similar error referenced in BUG Bug 927437 - "device-mapper: remove ioctl on failed" error when creating thin pool volume https://bugzilla.redhat.com/show_bug.cgi?id=927437#c10 which suggests an incompatibility of the LV de-/re-activation with udev. An upstream fix is at https://www.redhat.com/archives/lvm-devel/2013-July/msg00163.html -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957059 boo35 boo35 <9b3e05a5@opayq.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |lwang@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957059 boo35 boo35 <9b3e05a5@opayq.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |deanraccoon@gmail.com Flags| |needinfo?(deanraccoon@gmail | |.com) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957059 boo35 boo35 <9b3e05a5@opayq.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(lwang@suse.com) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957059 boo35 boo35 <9b3e05a5@opayq.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|3rd party software |Basesystem Version|unspecified |Leap 42.1 Product|openSUSE.org |openSUSE Distribution Target Milestone|--- |Leap 42.1 QA Contact|opensuse-communityscreening |qa-bugs@suse.de |@forge.provo.novell.com | -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957059 boo35 boo35 <9b3e05a5@opayq.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(lwang@suse.com) -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957059 http://bugzilla.opensuse.org/show_bug.cgi?id=957059#c12 --- Comment #12 from boo35 boo35 <9b3e05a5@opayq.com> --- Created attachment 665630 --> http://bugzilla.opensuse.org/attachment.cgi?id=665630&action=edit output of `lvcreate -vvvv ...` lvremove -f /dev/VG0/TEST01 lvcreate -L 32M -n TEST01 /dev/VG0 lvs | grep TEST01 TEST01 VG0 -wi-a----- 32.00m lvcreate -vvvv -L 1G -s -n SNAP01 /dev/VG0/TEST01 ... ?? #ioctl/libdm-iface.c:1834 device-mapper: remove ioctl on (254:23) failed: Device or resource busy ... output -> attached ... lvs | grep TEST01 SNAP01 VG0 swi-a-s--- 64.00m TEST01 0.00 TEST01 VG0 owi-a-s--- 32.00m -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=957059
Olav Reinert
http://bugzilla.opensuse.org/show_bug.cgi?id=957059
http://bugzilla.opensuse.org/show_bug.cgi?id=957059#c13
--- Comment #13 from Olav Reinert
http://bugzilla.opensuse.org/show_bug.cgi?id=957059 boo35 boo35 <9b3e05a5@opayq.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flags| |needinfo?(lwang@suse.com) -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com