차이

문서의 선택한 두 판 사이의 차이를 보여줍니다.

차이 보기로 링크

양쪽 이전 판 이전 판
다음 판
이전 판
rhel7_lvm_설정 [2015/02/09 07:20] – [Phsycal Volume 생성 방법] zzungrhel7_lvm_설정 [2015/06/30 05:49] (현재) zzung
줄 1: 줄 1:
 ====== Logical Volume Manager ====== ====== Logical Volume Manager ======
 +=====  LVM 아기텍쳐 =====
 +출처 : redhat 공식 문서
 +{{ :lvm.jpg |}}
  
- +===== LVM 구성 순서 =====
- +
-=====  VM 구성 순서 =====+
  
   * physical Volume(PV) 생성   * physical Volume(PV) 생성
줄 90: 줄 91:
 </code> </code>
  
-==== Logical Volume 생성 방법 ====+==== Volume Group 생성 방법 ==== 
 +  * Volume Group 생성 
 +<code vim> 
 +[root@localhost ~]# vgcreate -h 
 +  vgcreate: Create a volume group 
 + 
 +vgcreate 
 + [-A|--autobackup {y|n}]  
 + [--addtag Tag]  
 + [--alloc AllocationPolicy]  
 + [-c|--clustered {y|n}]  
 + [-d|--debug] 
 + [-h|--help] 
 + [-l|--maxlogicalvolumes MaxLogicalVolumes] 
 + [-M|--metadatatype 1|2]  
 + [--[vg]metadatacopies #copies]  
 + [-p|--maxphysicalvolumes MaxPhysicalVolumes]  
 + [-s|--physicalextentsize PhysicalExtentSize[bBsSkKmMgGtTpPeE]]  
 + [-t|--test]  
 + [-v|--verbose] 
 + [--version]  
 + [-y|--yes] 
 + [ PHYSICAL DEVICE OPTIONS ]  
 + VolumeGroupName PhysicalDevicePath [PhysicalDevicePath...] 
 +</code> 
 + 
 +**  * Volume Group 확인 ** 
 +<code vim> 
 +[root@localhost ~]# vgs 
 +  VG   #PV #LV #SN Attr   VSize  VFree  
 +  vg01       0 wz--n- 10.00g 10.00g 
 + 
 +[root@localhost ~]# vgdisplay  
 +  --- Volume group --- 
 +  VG Name               vg01 
 +  System ID              
 +  Format                lvm2 
 +  Metadata Areas        1 
 +  Metadata Sequence No  1 
 +  VG Access             read/write 
 +  VG Status             resizable 
 +  MAX LV                0 
 +  Cur LV                0 
 +  Open LV               0 
 +  Max PV                0 
 +  Cur PV                1 
 +  Act PV                1 
 +  VG Size               10.00 GiB 
 +  PE Size               4.00 MiB 
 +  Total PE              2559 
 +  Alloc PE / Size       0 / 0    
 +  Free  PE / Size       2559 / 10.00 GiB 
 +  VG UUID               o5TZxH-7BYe-dzpM-cZaZ-obwu-X2W5-lkgt7r 
 + 
 + 
 +</code>
  • rhel7_lvm_설정.1423466411.txt.gz
  • 마지막으로 수정됨: 2015/06/18 15:49
  • (바깥 편집)