On 03/31/2018 03:36 PM, Chris Laprise wrote:
> Is there a way to improve boot times here? I know Qubes 4 accumulates a
> lot of logical volumes, but it would be nice if the wait time wasn't so
> long.
I added a kernel boot parameter "systemd.mask=lvm2-pvscan@.service"
which allowed dom0 to boot in just a few seconds.
This left qubesd.service unaware of vm- volumes however, so no appVMs
could start. Manually running 'pvscan --cache --activate ay' then
restarting qubesd.service seemed to get everything working.
I wonder if the lvm2-pvscan@.service should be permanently disabled and
then have the lvm.py driver on initialization run pvscan.