Re: [systemd-devel] 'udevadm settle' brakes lvm on top of imsm raid

2015-05-29 Thread Lennart Poettering
On Fri, 29.05.15 11:15, Oleg Samarin (osamari...@gmail.com) wrote: > Thanks, > > I made more debbuging with LVM and I realised, that lvm always uses the > last device it has scanned. Scanning of devices is called by udev rules > using "lvm pvscan --cache " command. So the reason of using > /dev/s

Re: [systemd-devel] 'udevadm settle' brakes lvm on top of imsm raid

2015-05-29 Thread Oleg Samarin
Thanks, I made more debbuging with LVM and I realised, that lvm always uses the last device it has scanned. Scanning of devices is called by udev rules using "lvm pvscan --cache " command. So the reason of using /dev/sdb2 instead of /dev/md126p2 is that udev runs lvm in the following order: 1. lvm

Re: [systemd-devel] 'udevadm settle' brakes lvm on top of imsm raid

2015-05-28 Thread Tom Gundersen
On Thu, May 28, 2015 at 10:10 AM, Oleg Samarin wrote: > Hi! > > I have an imsm raid-1 device /dev/md126 assembled of /dev/sda and /dev/sdb. > I have a lvm group on top of /dev/md126p2 with some logical volumes. All > this work fine with Fedora 21. > > I'm trying to fresh install Fedora 22 in some

Re: [systemd-devel] 'udevadm settle' brakes lvm on top of imsm raid

2015-05-28 Thread Lennart Poettering
On Thu, 28.05.15 11:10, Oleg Samarin (osamari...@gmail.com) wrote: > Hi! > > I have an imsm raid-1 device /dev/md126 assembled of /dev/sda and /dev/sdb. > I have a lvm group on top of /dev/md126p2 with some logical volumes. All > this work fine with Fedora 21. > > I'm trying to fresh install Fed