[PVE-User] LVM autoactivation failed with multipath over iSCSI

Marco Gaiarin gaio at sv.lnf.it
Mon Feb 3 11:20:41 CET 2020


Mandi! Stefan M. Radman via pve-user
  In chel di` si favelave...

> My own workaround for the issue at hand is to delay the start of lvm2-pvscan by a few seconds (see below).
> That gives multipathd more than enough time to complete its job.
> It solves the problem for me (at least until the next upgrade) but there might be a smarter solution.

Would be better to make 'lvm2-pvscan' service depends on 'multipathd'?
Something like (NOT TESTED!) adding in:

	/etc/systemd/system/lvm2-pvscan.service.d/wait-multipath.conf

the rows:
	[Unit]
	After=multipathd.service
	Wants=multipathd.service

-- 
dott. Marco Gaiarin				        GNUPG Key ID: 240A3D66
  Associazione ``La Nostra Famiglia''          http://www.lanostrafamiglia.it/
  Polo FVG   -   Via della Bontà, 7 - 33078   -   San Vito al Tagliamento (PN)
  marco.gaiarin(at)lanostrafamiglia.it   t +39-0434-842711   f +39-0434-842797

		Dona il 5 PER MILLE a LA NOSTRA FAMIGLIA!
      http://www.lanostrafamiglia.it/index.php/it/sostienici/5x1000
	(cf 00307430132, categoria ONLUS oppure RICERCA SANITARIA)



More information about the pve-user mailing list