[Bug 837595] New: LVM VG activation fails under guestfs
https://bugzilla.novell.com/show_bug.cgi?id=837595 https://bugzilla.novell.com/show_bug.cgi?id=837595#c0 Summary: LVM VG activation fails under guestfs Classification: openSUSE Product: openSUSE Factory Version: 13.1 Milestone 4 Platform: x86-64 OS/Version: openSUSE 12.3 Status: NEW Severity: Major Priority: P5 - None Component: KVM AssignedTo: ohering@suse.com ReportedBy: mlatimer@suse.com QAContact: jdouglas@suse.com Found By: Development Blocker: --- Files required for the activation of LVM volume groups under guestfs are missing from the initramfs.x86_64.img image. The following files are missing (grouped by function): Files required to create the device-mapper maps, and notify waiting processes (without these files, the vgchange -ay process hangs): /sbin/dmsetup /lib/udev/rules.d/95-dm-notify.rules udev rules files required to create the correct device nodes: /lib/udev/rules.d/10-dm.rules /lib/udev/rules.d/11-dm-lvm.rules /lib/udev/rules.d/13-dm-disk.rules Kernel modules possibly required for specific device-mapper maps. (If space is an issue, these are not always necessary): /lib/modules/3.0.76-0.11-default/kernel/drivers/md/dm-snapshot.ko /lib/modules/3.0.76-0.11-default/kernel/drivers/md/linear.ko /lib/modules/3.0.76-0.11-default/kernel/drivers/md/dm-log.ko /lib/modules/3.0.76-0.11-default/kernel/drivers/md/dm-mirror.ko /lib/modules/3.0.76-0.11-default/kernel/drivers/md/dm-region-hash.ko In SLES11 SP3, there is also the following lvm related udev rule. It doesn't seem to be strictly required, but might be nice to include in that environment: /lib/udev/rules.d/64-lvm2.rules Once the initramfs.x86_64.img image is updated with the above files, VGs activate correctly under guestfs tools. -- 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=837595
https://bugzilla.novell.com/show_bug.cgi?id=837595#c1
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=837595
https://bugzilla.novell.com/show_bug.cgi?id=837595#c2
--- Comment #2 from Mike Latimer
For me it was the /lib/udev/rules.d/95-dm-notify.rules file. I wonder why the normal initrd does not require this rule.
Adding that file stops the hang, but without the additional rules files, the /dev/<VG>/<LV> devices are not created, so the environment is not really complete (for further work on those devices). -- 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=837595
https://bugzilla.novell.com/show_bug.cgi?id=837595#c3
--- Comment #3 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=837595
https://bugzilla.novell.com/show_bug.cgi?id=837595#c4
Olaf Hering
https://bugzilla.novell.com/show_bug.cgi?id=837595
https://bugzilla.novell.com/show_bug.cgi?id=837595#c5
--- Comment #5 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=837595
https://bugzilla.novell.com/show_bug.cgi?id=837595#c6
--- Comment #6 from Bernhard Wiedemann
https://bugzilla.novell.com/show_bug.cgi?id=837595
https://bugzilla.novell.com/show_bug.cgi?id=837595#c7
--- Comment #7 from Bernhard Wiedemann
participants (1)
-
bugzilla_noreply@novell.com