pvdisplay, vgdisplay, lvdisplay コマンドをすると詳細を確認できる。
root@Microknoppix:~# pvdisplay
— Physical volume —
PV Name /dev/hda2
VG Name VolGroup00
PV Size 74.43 GB / not usable 22.62 MB
Allocatable yes (but full)
PE Size (KByte) 32768
Total PE 2381
Free PE 0
Allocated PE 2381
PV UUID Xk9z5V-5PLB-Umpe-TOUy-aplZ-7eTw-yH1eyh
root@Microknoppix:~# vgdisplay
— Volume group —
VG Name VolGroup00
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 74.41 GB
PE Size 32.00 MB
Total PE 2381
Alloc PE / Size 2381 / 74.41 GB
Free PE / Size 0 / 0
VG UUID GfkXlg-H9bD-258X-3oZl-2G0D-7xF7-vkQhiM
root@Microknoppix:~# lvdisplay
— Logical volume —
LV Name /dev/VolGroup00/LogVol00
VG Name VolGroup00
LV UUID qvqzVr-u8PY-Vmwc-cArD-yBe8-oFXl-wfvkp7
LV Write Access read/write
LV Status available
# open 0
LV Size 72.41 GB
Current LE 2317
Segments 1
Allocation inherit
Read ahead sectors auto
– currently set to 256
Block device 253:0
— Logical volume —
LV Name /dev/VolGroup00/LogVol01
VG Name VolGroup00
LV UUID tQfmaO-3GKo-cg2I-OeNA-oXX4-16nK-WY2oyz
LV Write Access read/write
LV Status available
# open 0
LV Size 2.00 GB
Current LE 64
Segments 1
Allocation inherit
Read ahead sectors auto
– currently set to 256
Block device 253:1
確認コマンド pvs, vgs, lvs 。
root@Microknoppix:~# pvs
PV VG Fmt Attr PSize PFree
/dev/hda2 VolGroup00 lvm2 a- 74.41G 12.41G
root@Microknoppix:~# vgs
VG #PV #LV #SN Attr VSize VFree
VolGroup00 1 3 0 wz–n- 74.41G 12.41G
root@Microknoppix:~# lvs
LV VG Attr LSize Origin Snap% Move Log Copy% Convert
LogVol00 VolGroup00 -wi-a- 72.41 GB
LogVol01 VolGroup00 -wi-a- 2.00G
pvscan, vgscan, lvscan スキャンするコマンドでも似たような表示。
root@Microknoppix:~# pvscan
/dev/hdc: open failed: Read-only file system
Attempt to close device ‘/dev/hdc’ which is not open.
PV /dev/hda2 VG VolGroup00 lvm2 [74.41 GB / 12.41 GB free]
Total: 1 [74.41 GB] / in use: 1 [74.41 GB] / in no VG: 0 [0 ]
root@Microknoppix:~# vgscan
Reading all physical volumes. This may take a while…
/dev/hdc: open failed: Read-only file system
Attempt to close device ‘/dev/hdc’ which is not open.
Found volume group “VolGroup00” using metadata type lvm2
root@Microknoppix:~# lvscan
ACTIVE ‘/dev/VolGroup00/LogVol00’ [72.41 GB] inherit
ACTIVE ‘/dev/VolGroup00/LogVol01’ [2.00 GB] inherit