[lfs-support] LFS-7.0 with LVM
baho-utot at columbus.rr.com
Mon Jan 30 06:23:14 PST 2012
I believe I have solved my LVM booting problem with the kernel not finding the
# Start the udev daemon to continually watch for, and act on,
# Now traverse /sys in order to "coldplug" devices that have
# already been discovered
/sbin/udevadm trigger --action=add --type=subsystems
/sbin/udevadm trigger --action=add --type=devices
/sbin/udevadm trigger --action=change --type=devices
# Now wait for udevd to process the uevents we triggered
If I add /sbin/udevadm trigger --action=change --type=devices to udev script
in /etc/rc.d/init.d I believe everything works as long as you are using
It will now boot and run as expected and udev places the expected links
The action=change is for devices already attached.
Is there any bad things going on if this is done....drawbacks...better way
No other changes are needed to LFS-7.0 to make lvm root work.
just the following
add /sbin/udevadm trigger --action=change --type=devices
Bruce you may need to add this as a patch?
More information about the lfs-support