mirror of
https://github.com/libguestfs/libguestfs.git
synced 2026-03-22 07:03:38 +00:00
appliance: init: Initialize LVM in the same way as done on physical machines.
Running vgscan appears to be unnecessary. The -aa option of vgchange activates LVs. The --sysinit option disables locking.
This commit is contained in:
@@ -90,8 +90,7 @@ mdadm -As --auto=yes --run
|
||||
modprobe dm_mod ||:
|
||||
lvmetad ||:
|
||||
|
||||
lvm vgscan --ignorelockingfailure
|
||||
lvm vgchange -ay --ignorelockingfailure
|
||||
lvm vgchange -aay --sysinit
|
||||
|
||||
# Scan for Windows dynamic disks.
|
||||
ldmtool create all
|
||||
|
||||
Reference in New Issue
Block a user