logical_volumes
This is an old revision of the document!
Warning: Undefined variable $state in /usr/share/nginx/html/lib/plugins/tabinclude/helper.php on line 130
Warning: Undefined variable $html in /usr/share/nginx/html/lib/plugins/tabinclude/helper.php on line 240
Apache vhost
- Quick Command Reference
Quick Command Reference
The following command displayes in GiB
pvdisplayTo display in GB use the following command:
pvdisplay --units GThe following commands put a marker on the device which allows them to be used for volume groups
pvcreate /dev/device1 pvcreate /dev/device2Now create the volume
vgcreate vg1 /dev/device1 /dev/device2
LVCREATE
lvcreate -L 10G nameCreating 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
logical_volumes.1428414545.txt.gz · Last modified: 2024/05/23 07:26 (external edit)