Hardware
Hope This Helps.
LVM
1) 파일시스템 생성단계
▪ Volume Group 생성 (Physical Volume의 Group)
· ex) hdisk1, hdisk2
▪ Volume Group 내의 Logical Volume 생성
▪ Logical Volume과 파일시스템 연결작업(Mount Point 생성)
2) VG 생성 명령어
▪ #mkvg -S -s 256 -y testvg hdisk1 hdisk2
· -S : Scalable Volume group으로 생성.
· -s : PP size를 256으로 지정
· -y : Volume group 이름
· hdisk1 hdisk2 : Volume group에 종족될 Physical Volume.
※ 아래의 명령어는 "testvg" 볼륨그룹 생성정보.
2) LV 생성 명령어
▪ #mklv -t jfs2 -y test_lv testvg 1G
· -t : 파일시스템 타입
· -y : LV name
· testvg : Volume group 이름
· 1G : 생성하고자 하는 용량
※ 아래의 명령어는 "test_lv" 생성 후, LV 생성정보.
3) Filesystem 생성
▪ #crfs -v jfs2 -d test_lv -m /test -A yes
· -v : 파일시스템 타입
· -d : LV name
· -m : Filesystem mount point
· -A : Filesystem Automount
4) 파일시스템 생성 전체 단계
1) 복구하고자 하는 클라이언트 Machine 상태확인.
2) 기존에 savevg로 백업받아놓은 Resource가 있는지 확인.
1) SMIT로 복구.
#smitty nim > Perform NIM Administration Tasks > Manage Machines > Perform Operations on Machines > 복구 클라이언트 선택 > restvg 지정
2) CLI로 복구.
#nim -o restvg -a savevg=lpar10_savevg_test -a disk=hdisk1 lpar10
º Cstate 는 NIM Client의 상태를 나타내며, 현재 상태는 "ready 상태"이므로, 바로, Backup이 가능하다.
º #smitty nim_mkres > savevg