LVM2
Published: Wednesday, Dec 26, 2007 Last modified: Thursday, Nov 14, 2024
Getting to know you argo$ sudo pvdisplay — Physical volume — PV Name /dev/sdb1 VG Name xenspace PV Size 372.61 GB / not usable 0 Allocatable yes PE Size (KByte) 4096 Total PE 95387 Free PE 90203 Allocated PE 5184 PV UUID 4FPMIu-FLpl-C56S-S1Pu-0BNs-HJwv-G0j2OO argo$ sudo vgdisplay — Volume group — VG Name xenspace System ID Format lvm2 Metadata Areas 1 Metadata Sequence No 3 VG Access read/write VG Status resizable MAX LV 0 Cur LV 2 Open LV 0 Max PV 0 Cur PV 1 Act PV 1 VG Size 372.61 GB PE Size 4.00 MB Total PE 95387 Alloc PE / Size 5184 / 20.25 GB Free PE / Size 90203 / 352.36 GB VG UUID 9GGCFn-YM5t-124X-M40i-GMRz-34m1-kixRt0 argo$ sudo lvdisplay — Logical volume — LV Name /dev/xenspace/asa.nipl.net-disk VG Name xenspace LV UUID X4RyOl-T2nU-Wy07-P4yi-F8Gw-Zof3-li34ma LV Write Access read/write LV Status available # open 0 LV Size 20.00 GB Current LE 5120 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:0 — Logical volume — LV Name /dev/xenspace/asa.nipl.net-swap VG Name xenspace LV UUID cWM3MB-6Awc-Qbmz-Euke-hFNK-WZLy-Ob1bgE LV Write Access read/write LV Status available # open 0 LV Size 256.00 MB Current LE 64 Segments 1 Allocation inherit Read ahead sectors 0 Block device 253:1 argo$ sudo lvscan ACTIVE ‘/dev/xenspace/asa.nipl.net-disk’ [20.00 GB] inherit ACTIVE ‘/dev/xenspace/asa.nipl.net-swap’ [256.00 MB] inherit