Board index LVM LVM Commands

VGDISPLAY

Postby a24uall » Fri Feb 08, 2013 8:47 am

[email protected] [~]# 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
Arun
WebhostingDevelopment.com
a24uall
Site Admin
 
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am

Re: VGDISPLAY

Postby a24uall » Fri Feb 08, 2013 8:58 am

Below indicates that in LVM there is a total of 128Gb of HDD ( 53.7 + 19 + 55.6 = 128.3 GB )

[email protected] [~]# 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
[email protected] [~]#


Below command says that the disk space that can be used is 119.51 GB.
[email protected] [~]# vgdisplay | grep "VG Size"
VG Size 119.51 GiB
[email protected] [~]#



Below command says there is 10GB of free space that can be used to extend the LVM
Code: Select all
[email protected] [/]# vgdisplay | grep "Free  PE / Size"
  Free  PE / Size       320 / 10.00 GB
[email protected] [/]#
Arun
WebhostingDevelopment.com
a24uall
Site Admin
 
Posts: 166
Joined: Sun Jul 01, 2012 9:07 am


Return to LVM Commands

Who is online

Users browsing this forum: No registered users and 1 guest


cron