User Tools

Site Tools


physical_volumes

Quick Command Reference

The following command displayes in GiB

pvdisplay
To display in GB use the following command:
pvdisplay --units G
The following commands put a marker on the device which allows them to be used for volume groups
pvcreate /dev/device1
pvcreate /dev/device2
Now create the volume
vgcreate vg1 /dev/device1 /dev/device2

LVCREATE

lvcreate -L 10G name
Creating a logical volume from a specific volume group
lvcreate -L 1500 -n lvname vg1

You can also use the -l argument of the lvcreate command to specify the percentage of the remaining free space in a volume group as the size of the logical volume
lvcreate -l 100%FREE -n lvname vg1

physical_volumes.txt · Last modified: 2024/05/23 07:26 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki