登录“all-in-one”云主机,使用命令查看当前卷组信息,使用lvcreate命令,创建名称为BlockVloume,大小为2G的lvm 逻辑卷,查询该逻辑卷详细信息,依次将操作命令及返回结果以文本形式提交到答题框。
答: [root@xiandian ~]# vgsVG #PV #LV #SN Attr VSize VFree
cinder-volumes 1 0 0 wz–n- 4.75g 4.75g
[root@xiandian ~]# lvcreate -L +2G -n BlockVolume cinder-volumes
Logical volume “BlockVolume” created.
[root@xiandian ~]# lvs
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
BlockVolume cinder-volumes -wi-a----- 2.00g
[root@xiandian ~]# lvdisplay
— Logical volume —
LV Path /dev/cinder-volumes/BlockVolume
LV Name BlockVolume
VG Name cinder-volumes
LV UUID qv2rgN-k5EQ-3gL7-nx5j-sx32-EeHk-wPrMaK
LV Write Access read/write
LV Creation host, time xiandian, 2018-01-18 03:22:26 +0000
LV Status available
open 0
LV Size 2.00 GiB
Current LE 512
Segments 1
Allocation inherit
Read ahead sectors auto
currently set to 8192
Block device 252:0
继续答题:下一题