Alan Mackenzie <a...@muc.de> wrote: >Hi, Dan. > >On Sun, Apr 07, 2013 at 02:34:16PM +0200, Dan Johansson wrote: >> Hello List, > >> What is the status of using mdev (instead the ever "growing" udev) >> together with lvm2? Reason for my question is that at >> https://wiki.gentoo.org/wiki/Mdev it says " One beta tester reports >> getting close with lvm2, but it's not there yet.". > >I think that beta tester was me. I had lvm2 partitions running under >mdev without problems. (They were also RAID-1, just for completion's >sake.) > >The only change I had to make was to my /etc/fstab. Where I previously >had: > > /dev/vg/usr /usr <options> > >under udev, I then needed > > /dev/mapper/vg-usr /usr <options> > >instead. mdev failed to create the /dev/vg directory. With this >change, >my system worked quite happily. Sadly, I went back to udev when >xf86-input-evdev-2.7.0 started depending on udev, back in June last >year. > >> Regards, >> -- >> Dan Johansson, <http://www.dmj.nu> >> *************************************************** >> This message is printed on 100% recycled electrons! >> *************************************************** > >-- >Alan Mackenzie (Nuremberg, Germany).
LVM can be configured to double-check udev to make sure all the /dev entries are done correctly. By default this is not switched on. See /etc/lvm/lvm.conf It might solve that part. It solves some udev issues on one of my systems where the links are not handled correctly by udev for snapshots. -- Joost -- Sent from my Android phone with K-9 Mail. Please excuse my brevity.