[Bug 845319] New: stopping dmraid does not remove all nodes
https://bugzilla.novell.com/show_bug.cgi?id=845319 https://bugzilla.novell.com/show_bug.cgi?id=845319#c0 Summary: stopping dmraid does not remove all nodes Classification: openSUSE Product: openSUSE Factory Version: 13.1 Beta 1 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Basesystem AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: aschnell@suse.com QAContact: qa-bugs@suse.de Found By: Development Blocker: --- Stopping a dmraid does not remove all nodes/links: g192:~ # ls -l /dev/mapper ls: cannot access /dev/mapper: No such file or directory g192:~ # dmraid -ay RAID set "ddf1_foo" was activated RAID set "ddf1_foo" was not activated RAID set "ddf1_foop1" was activated RAID set "ddf1_foop1" was not activated RAID set "ddf1_foop2" was activated RAID set "ddf1_foop2" was not activated g192:~ # ls -l /dev/mapper total 0 crw------- 1 root root 10, 236 Oct 10 14:34 control brw-r----- 1 root disk 253, 0 Oct 10 14:34 ddf1_foo brw-r----- 1 root disk 253, 1 Oct 10 14:34 ddf1_foop1 brw-r----- 1 root disk 253, 2 Oct 10 14:34 ddf1_foop2 lrwxrwxrwx 1 root root 7 Oct 10 14:34 ddf1_foo-part1 -> ../dm-3 lrwxrwxrwx 1 root root 7 Oct 10 14:34 ddf1_foo-part2 -> ../dm-4 g192:~ # dmraid -an RAID set "ddf1_foop1" is not active RAID set "ddf1_foop2" is not active g192:~ # ls -l /dev/mapper total 0 crw------- 1 root root 10, 236 Oct 10 14:34 control brw-r----- 1 root disk 253, 0 Oct 10 14:34 ddf1_foo lrwxrwxrwx 1 root root 7 Oct 10 14:34 ddf1_foo-part1 -> ../dm-3 lrwxrwxrwx 1 root root 7 Oct 10 14:34 ddf1_foo-part2 -> ../dm-4 -- 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=845319 https://bugzilla.novell.com/show_bug.cgi?id=845319#c zhang jiajun <jzhang@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jzhang@suse.com AssignedTo|bnc-team-screening@forge.pr |nfbrown@suse.com |ovo.novell.com | -- 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=845319 https://bugzilla.novell.com/show_bug.cgi?id=845319#c1 Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |hare@suse.com InfoProvider| |hare@suse.com --- Comment #1 from Neil Brown <nfbrown@suse.com> 2013-11-04 22:24:11 UTC --- The -partX links are probable due to kpartx. There seems to be a udev rule to run kpartx when dm devices are created, but not when they are removed. We normally run dmraid with the "-p" option so that it doesn't create the partitions (leaving that to udev and kpartx). What happens if you add "-p" to both the "-ay" and the "-an" ?? That should cause the "ddf_foop1" and "ddf_foop2" devices to not appear. I don't know if it will affect the final removal for ddf1_foo. Hannes: Should used run kpartx also when the device is removed? -- 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=845319 https://bugzilla.novell.com/show_bug.cgi?id=845319#c2 --- Comment #2 from Neil Brown <nfbrown@suse.com> 2014-01-20 23:33:58 UTC --- Ping Hannes... Can /etc/udev/rules.d/70-kpartx.rules run /sbin/kpartx -d -p -part /dev/$kernel or similar when a REMOVE event happens to clean up and partitions it has previously made? -- 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=845319 https://bugzilla.novell.com/show_bug.cgi?id=845319#c Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|nfbrown@suse.com |hare@suse.com -- 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=845319 https://bugzilla.novell.com/show_bug.cgi?id=845319#c3 Neil Brown <nfbrown@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nfbrown@suse.com --- Comment #3 from Neil Brown <nfbrown@suse.com> 2014-02-06 04:03:27 UTC --- re-assigned to Hannes as I'm fairly sure it is a kpartx issue. -- 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