# pvcreate /dev/sda1
Physical volume "/dev/sda1" successfully created
# pvdisplay
"/dev/sda1" is a new physical volume of "10.00 GB"
--- NEW Physical volume ---
PV Name /dev/sda1
VG Name
PV Size 10.00 GB
Allocatable NO
PE Size (KByte) 0
Total PE 0
Free PE 0
Allocated PE 0
PV UUID dj7Mav-Nwe4-h7eI-gTAs-Hawa-TbSD-1VlmOC
# vgcreate vg01 /dev/sda1
Volume group "vg01" successfully created
# vgdisplay
--- Volume group ---
VG Name vg01
System ID
Format lvm2
Metadata Areas 1
Metadata Sequence No 1
VG Access read/write
VG Status resizable
MAX LV 0
Cur LV 0
Open LV 0
Max PV 0
Cur PV 1
Act PV 1
VG Size 10.00 GB
PE Size 4.00 MB
Total PE 2559
Alloc PE / Size 0 / 0
Free PE / Size 2559 / 10.00 GB
VG UUID 847fIb-lmQg-dMiB-v68K-7ACW-BgQB-QX91Oz
# lvcreate -L 8G -n lv01 vg01
Logical volume "lv01" created
# lvdisplay
--- Logical volume ---
LV Name /dev/vg01/lv01
VG Name vg01
LV UUID Jm5wpe-8LVp-5H2m-Jtf3-2UV4-5ads-3CeAWN
LV Write Access read/write
LV Status available
# open 0
LV Size 8.00 GB
Current LE 2048
Segments 1
Allocation inherit
Read ahead sectors auto
- currently set to 256
Block device 253:0
最終更新:2010年04月15日 11:41