Skip to content

Commit

Permalink
Guest Disk config: rename vg1 to vg2
Browse files Browse the repository at this point in the history
It can be useful to be able to mount the guest filesystem in the host (to check on disk usage for example, or to repair something). LVM will choke if we have 2 volume groups with the same name on the same system. To solve this, since the host will still use "vg1", we rename the guest VG to "vg2".

Signed-off-by: Florent CARLI <[email protected]>
  • Loading branch information
insatomcat committed Jun 17, 2024
1 parent 1867f1f commit 4396bae
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions srv_fai_config/disk_config/SEAPATH_VM
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ primary - 9G - -

disk_config lvm

vg vg1 disk1.2
vg1-root / 7G ext4 noatime,rw lvcreateopts="--zero n"
vg1-varlog /var/log 1G ext4 noatime,rw lvcreateopts="--zero n"
vg1-swap swap 500 swap sw lvcreateopts="--zero n"
vg vg2 disk1.2
vg2-root / 7G ext4 noatime,rw lvcreateopts="--zero n"
vg2-varlog /var/log 1G ext4 noatime,rw lvcreateopts="--zero n"
vg2-swap swap 500 swap sw lvcreateopts="--zero n"

0 comments on commit 4396bae

Please sign in to comment.