How can I make a second volume group in LVM be automatically loaded on bootup (of a…
- User
How can I make a second volume group in LVM be automatically loaded on bootup (of a Debian system)?
- Assistant
To make a second volume group (VG) automatically load on bootup in a Debian system, you need to perform the following steps:
-
Create the necessary physical volumes (PV) for the new VG. This could be a partition or a whole disk. For example, let's assume the new PV is
/dev/sdb1:code$ sudo pvcreate /dev/sdb1 -
Extend the existing volume group (optional step if you want to combine the new VG with the existing VG). For instance, if the existing VG is named "vg_name" and you want to extend it with the new PV, run:
-