pvdisplay 로 physical volume name 을 확인

ex) pvdisplay /dev/sda6

  --- Physical volume ---
  PV Name               /dev/sda6
  VG Name               vg_f
  PV Size               12.91 GiB / not usable 3.00 MiB
  Allocatable           yes (but full)
  PE Size               4.00 MiB
  Total PE              3305
  Free PE               0
  Allocated PE          3305
  PV UUID               ketxUZ-20Lt-0wNT-yvGc-f9lv-Icwj-U0MGtV

Physical Volume 속성을 변경
vgchange -a y vg_f

-a 옵션: available 
y: yes


lvdisplay 로 logical volume name 을 확인

ex) lvdisplay vg_f

  --- Logical volume ---
  LV Name                /dev/vg_f/lv_root
  VG Name                vg_f
  LV UUID                OyRBC9-aWgu-35Lz-t1f0-bUzA-XHvD-qdqrb2
  LV Write Access        read/write
  LV Status              available
  # open                 1
  LV Size                10.94 GiB
  Current LE             2801
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:0
   
  --- Logical volume ---
  LV Name                /dev/vg_f/lv_swap
  VG Name                vg_f
  LV UUID                o1QWLw-L1Qm-D82z-ZpZU-SE2W-HGaF-3Lli1Y
  LV Write Access        read/write
  LV Status              available
  # open                 0
  LV Size                1.97 GiB
  Current LE             504
  Segments               1
  Allocation             inherit
  Read ahead sectors     auto
  - currently set to     256
  Block device           252:1

Logical Volume 을 mount
mount /dev/vg_f/lv_root


'OS > linux / unix' 카테고리의 다른 글

upstart - event.d : init replacement  (0) 2011.01.02
sed email regex  (0) 2010.10.16
ffmpeg 으로 리눅스 X11 화면을 동영상으로 만들기  (0) 2010.09.27
screen -e 옵션 (escape) 정리  (0) 2010.09.10
unixtime 변환  (0) 2010.08.25
Latest update: 2010. 11. 18. 10:37