LVM filesystems not mounted at boot
Bug #147216 reported by
Rudd-O
This bug affects 19 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lvm2 (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
My system has a root filesystem in an LVM logical volume, backed up by two MD RAID-1 arrays. It fails to boot propertly after upgrading to kubuntu gutsy gibbon prerelease (latest packages as of today). In order to boot it, I have to specify the break=mount boot option, then subsequently run
lvm vgscan
lvm vgchange -a y
to manually enable the LVM volumes. I should note that the MD arrays are started successfully.
Changed in lvm2 (Ubuntu): | |
status: | Incomplete → Confirmed |
To post a comment you must log in.
Basically I suspect that the udev events that are supposed to be getting triggered duing the boot process in the initramfs are not getting triggered, hence a vgscan is never done. My guess is based on the contents of :
rudd-o@ karen:/ etc/udev/ rules.d$ cat 85-lvm2.rules
# This file causes block devices with LVM signatures to be automatically
# added to their volume group.
# See udev(8) for syntax
SUBSYSTEM=="block", ACTION= ="add|change" , ENV{ID_ FS_TYPE} =="lvm* |LVM*", \
RUN+=" watershed sh -c '/sbin/lvm vgscan; /sbin/lvm vgchange -a y'"
here's the output of pvdisplay
root@karen: /etc/udev/ rules.d# pvdisplay 1Lj3-0eU7- 3dbE-dLIz- 0AKz-sjcJMz
--- Physical volume ---
PV Name /dev/md0
VG Name vg0
PV Size 362,49 GB / not usable 1,25 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 92797
Free PE 0
Allocated PE 92797
PV UUID OoPCI9-
--- Physical volume --- iOPs-kGpy- WQzl-S0BJ- wydK-PSaOC6
PV Name /dev/md1
VG Name vg0
PV Size 9,54 GB / not usable 1,81 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 2443
Free PE 0
Allocated PE 2443
PV UUID 5SndoF-