By disappear I meant no longer visible, you have to do the vgscan and
vgchange for the logical volumes to become visible.  Some distro do this
automatically for you.

On Fri, Feb 11, 2022 at 12:20 PM Rich Shepard <rshep...@appl-ecosys.com>
wrote:

> 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