Comment 17 for bug 147216

Revision history for this message
wizwiz50 (wizwiz50) wrote :

I'm using Ubuntu 12.04.2 and I'm facing same problem.

I did a fresh install from alternate cd (amd64). Raid 1 and lvm volumes were created before installation.

With kernel 3.5.0-23-generic everything is working but it isn't with 3.5.0.31-generic.
I'm getting those lines :

md1: unknwon partition table
device-mapper: table: 252:0: linear : Device lookup failed

1) I've noticed I could activate volume by doing vgchange -ay on busybox prompt.

2) Adding this to /etc/udev/rules.d/85-lvm2.rules solved the problem.

SUBSYSTEM=="block", ACTION=="add|change", ENV{ID_FS_USAGE}="raid", \
 RUN+="watershed sh -c '/sbin/lvm vgscan; /sbin/lvm vgchange -a y'"

How could I check ID_FS_USAGE value ?