Physical Volumes (PVs): The actual disks or partitions (e.g., /dev/sda1).
Volume Groups (VGs): A pool of storage created from one or more physical volumes.
Logical Volumes (LVs): Flexible partitions created from the space in a volume group.
to create a Physical Volume:
pvcreate /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg
show current Physical Volumes:
pvdisplay
to create Volume Groups:
vgcreate media /dev/sdb /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg
shows currents Volume Groups:
vgdisplay
to create Logical Volumes:
lvcreate -n lv_media -L 76.40TiB media
to shows all Logical Volumes:
lvdisplay
format Logical Volume:
mkfs.ext4 /dev/media/lv_media
inforamtion about all device mapper
dmsetup info