27 Jan
2011
27 Jan
'11
1:30 p.m.
Am 27.01.2011 11:35, schrieb Jan Spakula:
This is weird. I think lvm2 is supposed to wait for udev to finish creating all links before returning. Inserting a 'sleep 1' or '/sbin/udevadm settle' in rc.sysinit after the vgchange call should fix this, but it shouldn't be necessary.
Inserting 'sleep 1' after 'activate_vgs' (new initscripts) does indeed save the day. I don't know how to figure out why in my case lvm2 doesn't wait for udev... Any suggestions for further testing welcome.
I thought so. (I guess this issue stays the same in the new initscripts.) I suppose this must be a bug in the device-mapper - the udev integration is supposed to wait for symlink creation before returning.