Edit file File name : lvm2-pvscan@.service Content :[Unit] Description=LVM event activation on device %i Documentation=man:pvscan(8) DefaultDependencies=no StartLimitIntervalSec=0 BindsTo=dev-block-%i.device Before=shutdown.target Conflicts=shutdown.target [Service] Type=oneshot RemainAfterExit=yes ExecStart=/usr/sbin/lvm pvscan --cache --activate ay %i ExecStop=/usr/sbin/lvm pvscan --cache %i Save