centos lvm常用命令

 

# vgs -a
  VG     #PV #LV #SN Attr   VSize  VFree
  cinder   1   0   0 wz--n- 30.39g 30.39g
  os       1   2   0 wz--n- 19.00g  4.00m

# pvs -S vg_name=os
  PV         VG   Fmt  Attr PSize  PFree
  /dev/sda4  os   lvm2 a--  19.00g 4.00m

# lvs -S vg_name=os
  LV   VG   Attr       LSize  Pool Origin Data%  Meta%  Move Log Cpy%Sync Convert
  root os   -wi-ao---- 15.00g                                                   
  swap os   -wi-ao----  4.00g

 

posted @ 2015-12-30 11:57  Endoresu  阅读(787)  评论(0编辑  收藏  举报