Summary: | sys-fs/lvm2-2.02.103 doesn't creates devices in /dev/mapper when "lvm vgscan && lvm vgchange -ay lvm" is called | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | c877686 |
Component: | [OLD] Core system | Assignee: | Robin Johnson <robbat2> |
Status: | RESOLVED INVALID | ||
Severity: | normal | CC: | agk, alexander, anf, cardoe, mrueg |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
c877686
2013-11-15 19:14:19 UTC
also tried to enable the use flag lvm2create_initrd which didn't solve the problem. btw lvm.static is used in an initramfs in comination with cryptsetup Please try "lvm vgscan --mknodes" "lvm vgscan --mknodes" works i found a solution yesterday with "lvm vgmknodes" but as it seems lvm vgchange -ay lvm creates also the devices /dev/dm-* building lvm wihtout udev useflag avoids this but is there a way to get the same result out of lvm when its compiled with udev support? i also tried lvm vgscan lvm vgchange -ay lvm --noudevsync --sysinit lvm vgmknodes which also creates the devices /dev/dm-* "lvm vgscan --mknodes" worked for me. Thank you, Manuel(In reply to Manuel Rüger from comment #2) > Please try > > "lvm vgscan --mknodes" Worked for me. Thank you. The behaviour described is correct. udev should create the devices, otherwise --mknodes will. I'd watch the 'udevadm monitor' output while running your previous commands, and go from there. |