프린트 하기

실습환경

Cent OS 6.5


오류

Volume group "A" has insufficient free space (1533 extents): 1534 required.

 

#lvcreate -L 5.99GB -n mylv myVG

Rounding up size to fill physical extent 5.99 GiB

Volume group "A" has insufficient free space (1533 extents): 1534 required.


해결방법

#vgs -o +vg_free_count,vg_extent_count (vg_free_count랑 vg_extent_count 사이 띄워쓰기 금지)

  VG     #PV #LV #SN Attr   VSize VFree  Free #Ext

myVG   3   0   0 wz--n- 5.99G 5.99G 1533 1533


입력해서 free를 확인 후 해당 값 넣어서 다시 명령어 실행


#lvcreate -L 1533 -n mylv myVG

Logical volume "mylv" created


다시 확인 시 LV가 1이되고 Free가 0인것을 확인

#vgs -o +vg_free_count,vg_extent_count

  VG     #PV #LV #SN Attr   VSize VFree  Free #Ext

myVG  3   1   0 wz--n- 5.99G 0 0 1533


참조 : https://www.centos.org/docs/5/html/Cluster_Logical_Volume_Manager/nofreeext.html