Excerpts from Thomas Bächler's message of So Jan 30 21:45:28 +0100 2011:
Am 27.01.2011 14:30, schrieb Thomas Bächler:
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.
Could you try with the device-mapper and lvm2 packages from here? This should fix your problem. Thanks. https://dev.archlinux.org/~thomas/lvm_fix/
I booted a couple of times with your packages and the problem didn't show up yet (without 'sleep 1' of course). Btw I do have udisks installed. Thanks!