Creating a Proxmox File-system
Creating a Physical Volume for the Logical Volume
“pvcreate
” initializes the specified physical volume for later use by the Logical Volume Manager (LVM).
Command:
pvcreate /dev/mapper/mpathX
Creating a Volume Group
Command:
vgcreate vol_grp<No> /dev/mapper/mpathX
Displaying a Volume Group
Command:
vgscan
Output:
Adding LVM at the Datacenter level
To create a new LVM storage, access the PVE GUI to the datacenter level, then select Storage and enter Add.
Finding out the UUID and the Partition Type
The blkid
command is used to query information from the connected storage devices and their partitions.
Command:
blkid /dev/mapper/mpath*
Output: