On Fri, 11 Feb 2022, Michael Ewan wrote:

The steps involved are pvcreate, vgscan, vgcreate, and lvcreate. The
pvcreate operation labels the disks for use in a volume group. Do not use
the UUID. The vgscan operation finds the pv labels. The vgcreate operation
takes those disks and adds them to a volume group.
So...
pvcreate /dev/sdc1 /dev/sdd1
vgscan
vgcreate vg01 /dev/sdc /dev/sdd

Now the fun starts, there are many options in lvcreate for striping,
mirroring, size, etc.  Read the man page.

A note about pvcreate, you can use existing partitions with pvcreate in
order to stripe some spare space into a bigger logical volume.

Also note that the disks and logical volumes will disappear after reboot.
Your OS may already have the steps built in to activate the volume groups,
but in case not here goes,
vgscan
vgchange -a y

Michael,

I read about the four steps and your explanation answers the question I
asked about the hdds needing a partition. Thank you.

The LV will be two disks in the external MediaSonic Probox which is not
bootable so they should not disappear.

Regards,

Rich

Reply via email to