반응형

## VG 용량 확인

# vgs
  VG         #PV #LV #SN Attr   VSize  VFree
  vg_isbyeon   2   1   0 wz--n- 15.99g 7.99g

 

### /dev/vg_isbyeon/lv_isbyeon의 Shapshot

# lvcreate -s -L 7.99G -n snap-lv_storage /dev/vg_isbyeon/lv_isbyeon
  Rounding up size to full physical extent 7.99 GiB
  Logical volume "snap-lv_storage" created

 

### Shapshot 확인

# lvdisplay
  --- Logical volume ---
  LV Name                /dev/vg_isbyeon/lv_isbyeon
  VG Name                vg_isbyeon
  LV UUID                RQYQwG-asFH-7C46-NSde-Qef5-YKNH-YhgwGV
  LV Write Access        read/write
  LV snapshot status     source of
                         /dev/vg_isbyeon/snap-lv_storage [active]
  LV Status              available
  # open                 0
  LV Size                8.00 GiB
  Current LE             2048
  Segments               2
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:0
  
  --- Logical volume ---
  LV Name                /dev/vg_isbyeon/snap-lv_storage
  VG Name                vg_isbyeon
  LV UUID                BxtkKg-sfAi-3yJM-Q33X-4HPm-5vbz-fLxiCR
  LV Write Access        read/write
  LV snapshot status     active destination for /dev/vg_isbyeon/lv_isbyeon
  LV Status              available
  # open                 0
  LV Size                8.00 GiB
  Current LE             2048
  COW-table size         7.99 GiB
  COW-table LE           2046
  Allocated to snapshot  0.00%
  Snapshot chunk size    4.00 KiB
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           253:1

 

# lvs

  LV              VG         Attr   LSize Origin     Snap%  Move Log Copy%  Convert
  lv_isbyeon      vg_isbyeon owi-a- 8.00g                                         
  snap-lv_storage vg_isbyeon swi-a- 7.99g lv_isbyeon   0.00
반응형

'Linux > LVM' 카테고리의 다른 글

VG에 PV 추가 및 제거  (0) 2012.04.02
LV(Logical Volume) 용량 확장  (0) 2012.04.02
LV(Logical Volume) 생성  (0) 2012.04.02
VG(Volume Group) 활성화, 비활성화  (0) 2012.04.02
VG에 PV(/dev/sdc1) 추가  (0) 2012.04.02
  • 네이버 블러그 공유하기
  • 네이버 밴드에 공유하기
  • 페이스북 공유하기
  • 카카오스토리 공유하기