root@server007 [~]# vgdisplay
--- Volume group ---
VG Name vg_server007
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 4
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 3
Open LV 3
Max PV 0
Cur PV 1
Act PV 1
VG Size 119.51 GiB
PE Size 4.00 MiB
Total PE 30594
Alloc PE / Size 30594 / 119.51 GiB
Free PE / Size 0 / 0
VG UUID qqsNcv-0FPR-UN10-dQ93-Eg5U-EGrS-rE50J1
VGDISPLAY
VGDISPLAY
Arun
WebhostingDevelopment.com
WebhostingDevelopment.com
Re: VGDISPLAY
Below indicates that in LVM there is a total of 128Gb of HDD ( 53.7 + 19 + 55.6 = 128.3 GB )
Below command says there is 10GB of free space that can be used to extend the LVM
Below command says that the disk space that can be used is 119.51 GB.root@serverhost [~]# fdisk -l | grep Disk
Disk /dev/sda: 128.8 GB, 128849018880 bytes
Disk /dev/mapper/vg_serverhost-lv_root: 53.7 GB, 53687091200 bytes
Disk /dev/mapper/vg_serverhost-lv_swap: 19.0 GB, 19025362944 bytes
Disk /dev/mapper/vg_serverhost-lv_home: 55.6 GB, 55608082432 bytes
root@serverhost [~]#
root@serverhost [~]# vgdisplay | grep "VG Size"
VG Size 119.51 GiB
root@serverhost [~]#
Below command says there is 10GB of free space that can be used to extend the LVM
Code: Select all
root@serverhost [/]# vgdisplay | grep "Free PE / Size"
Free PE / Size 320 / 10.00 GB
root@serverhost [/]#
Arun
WebhostingDevelopment.com
WebhostingDevelopment.com