first I'm new to patching, etc; I don't know how to commit a fix to the
udev package, or even how to notify the package maintainer.

Well after a bunch of udev learning I have figured out why my desktop
install of lvm2 is not working.

the new udev rule for lvm2 is great, it depends on an environment
variable being set to specify if a lvm device's event is being processed
(see bottom for reference).

the udev package's rule 65-persistent-storage.rules only sets those environment 
variables for partition types as seen below:
ENV{DEVTYPE}=="partition", IMPORT{program}="vol_id --export $tempnode"

I changed this line in 65-persistent rule below the partition rule and now my 
system's lvm works fine, even root partitions now work; sweet.
ENV{DEVTYPE}=="disk|partition", IMPORT{program}="vol_id --export $tempnode"

the problem comes because lvm2 does not require a partition table, you
can make a pv from a disk itself; this is in fact the instructed way to
do it at: http://tldp.org/HOWTO/LVM-HOWTO/initdisks.html

anybody that was also having problems with lvm2 package now that the
script is removed could you please post your output from "sudo pvdisplay
-v"

I still have not figured out why installations from the alt cd don't
have this problem, any ideas on how to identify what or when in a boot
sequence vgchange is being called, I'd love to hear and I'll try to
figure that one out.

lvm rule for reference:
SUBSYSTEM=="block", ACTION=="add|change", ENV{ID_FS_TYPE}=="lvm*|LVM*", \
        RUN+="watershed sh -c '/sbin/lvm vgscan; /sbin/lvm vgchange -a y'"

** Also affects: udev (Ubuntu)
   Importance: Undecided
       Status: New

-- 
[gutsy|hardy alpha4] `/etc/init.d/lvm2' missing
https://bugs.launchpad.net/bugs/192794
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to