The relevant .service file /lib/systemd/system/lvm2-pvscan@.service has:

ExecStart=/sbin/lvm pvscan --cache --activate ay %i

According to pvscan(8) this should result in:

       pvscan --cache -aay device...

       This  begins by performing the same steps as above.  Afterward, if the 
VG for the specified PV
       is complete, then pvscan will activate LVs in the VG (the same as 
vgchange -aay  vgname  would
       do.)

So it seems the service file is correct, and the bug is in pvscan. It should 
not return with an error if the VG is not yet complete.

Hope this helps!

Cheers,
-Nikolaus

--
GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F

 »Time flies like an arrow, fruit flies like a Banana.«

Reply via email to