Am 23.04.2015 um 11:53 schrieb Michael Biebl: > Am 23.04.2015 um 11:40 schrieb Peter Rajnoha:
> 69-lvm-metad.rules contains that line above. > I just tried in a VM with lvmetad enabled. > > A service lvm2-pvscan@8:35.service is started, but not all LVs are > activated. lvscan says: > > $ lvscan > inactive '/dev/vg0/test1' ... > ACTIVE '/dev/vg/big' > > vg0 is hosted on a /dev/md0 (mdadm RAID1). > >> Make sure lvm2 is compiled with "--enable-udev-systemd-background-jobs", >> this one is used by default since lvm2 v2.02.115, but you >> need to enable that explicitly for previous versions... Otherwise >> there would be a rule like: > > I can't find this configure flag in the Debian package. > So I assume the package was compiled without it? On the other hand, I > have the SYSTEMD_WANTS rule you described above. So now I'm a bit confused. I just checked the 2.02.111 source tarball. It has UDEV_SYSTEMD_BACKGROUND_JOBS=$enableval,UDEV_SYSTEMD_BACKGROUND_JOBS=yes) in configure.in So, this feature is enabled by default, which explains, why I have a lvm2-pvscan@8:35.service instance running But, as mentioned, one of my VGs (the one on RAID1) is not activated when using metad. Peter, any idea why? -- Why is it that all of the instruments seeking intelligent life in the universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature

