[ILUG] LVM symlinks not created during startup

Jean Francois Bucas jfbucas at stp.dias.ie
Tue Feb 7 13:28:06 GMT 2012


Hi Steph,

thanks for your answer.

It turns out that udev-initramdisk doesn't handle all the events and
some of the remaining events are dropped before being transmitted to the
udev-rootfs.

https://bugs.launchpad.net/ubuntu/+source/udev/+bug/802626

The proposed patch seems to work for me.
https://launchpadlibrarian.net/85230495/lvm.debdiff

Many thanks,
Jef

On 06/02/12 18:21, FRLinux wrote:
> 
> On Mon, February 6, 2012 4:26 pm, Jean Francois Bucas wrote:
>> Hi all,
>>
>> anybody with some LVM/udev experience?
>>
>> The following symlinks are not created at boot time.
>> /dev/my.vg.name/my.lv.name
>> /dev/mapper/my.vg.name-my.lv.name
> 
> My money is on a race condition at boot time and udev not being able to
> create those devices in time, have you checked the full kernel output for
> bugs?
> 
> Also check what is in:
> /proc/sys/kernel/hotplug
> /sys/kernel/uevent_helper
> 
> Next, debug the init script calling this, you should be able to adjust the
> sleep/delay time if your box is mentally challenged. Last but not least,
> is that sitting on any kind of "exotic" RAID controller?
> 
> Cheers,
> Steph
> 

-- 
Jean-Francois Bucas
IT System Administrator
School of Theoretical Physics
Dublin Institute for Advanced Studies
10 Burlington Road
Dublin 4
Tel. +353 1 614 0132


More information about the ILUG mailing list