[AIX] Mirror 상태인 VG, alt_disk_install 하는 법

Mirror VG, 한개의 PV 로 alt_disk_install 하는 방법 Mirror 된 VG 를 alt_disk_install 을 진행하면 target PV 는 2EA 가 필요합니다. 따라서 Mirror 된 VG 는 한개의 target PV 에 하기 위해서는 -i 옵션을 사용합니다. image.data 수정 -i 옵션에 사용될 image.data 를 수정합니다. # lspv hdisk0 000aaaa120011111 rootvg active hdisk1 000aaaa120222222 rootvg active hdisk2 none None # vi /image.data ## lv_data의 항목중 * LV_SOURCE_DISK_LIST= hdisk0 hdisk1 -> hdisk0로 변경 * COPIES= 2 -> 1로 변경 * PP= 2 -> 1로 변경 위와 같이 Source PV 하나를 제거하고, LV의 COPY 수량, LV 용량을 수정합니다....

September 6, 2012 · chhanz

[AIX] Mirror Disk 교체

Mirror Disk 교체 Mirroring 으로 구성된 rootvg 에서 장애난 DISK 교체 절차는 아래와 같습니다. 장애 디스크 확인 # errpt 613E5F38 1212232603 P H LVDD I/O ERROR DETECTED BY LVM A668F553 1212092003 P H hdisk1 DISK OPERATION ERROR bootlist 확인 # bootlist -om normal bootlist 재설정 # unmirrorvg rootvg hdisk1 Unmirror VG 수행 # unmirrorvg rootvg hdisk1 각 DISK 의 LV 상태 확인 # lspv -l hdisk0 # lspv -l hdisk1 제거가 안되거나, Mirroring 이 아닌 LV 가 남아 있는 경우 # migratepv -l hd6 hdisk1 hdisk0 # lspv -l hdisk0 // 확인 # lspv -l hdisk1 // 확인 VG 에서 DISK 제거 # reducevg rootvg hdisk1 시스템에서 DISK 제거 rmdev -Rdl hdisk1 bosboot 수행 # bosboot -ad hdisk0 신규 디스크 추가(물리 DISK 교체 및 장착) # diag 혹은 # cfgmgr -v VG 에 신규 DISK 추가 # extendvg rootvg hdisk1 Mirror VG 수행 # mirrorvg -S rootvg hdisk0 hdisk1 rootvg Mirror 확인 # lsvg -l rootvg bosboot 수행 # bosboot -ad hdisk0 bootlist 신규 등록 # bootlist -om normal hdisk0 hdisk1 bootlist 확인 # bootlist -om normal

August 26, 2012 · chhanz

[AIX] Mount CD/DVD & ISO Image

[AIX] Mount CD/DVD & ISO Image CD 혹은 DVD 를 CLI Command 로 Mount : # mount -V cdrfs -o ro /dev/cd0 /mnt ISO Image 를 CLI Command 로 Mount : # loopmount -i aix-6100-09-02-icd.iso -o "-V cdrfs -o ro" -m /mnt

August 24, 2012 · chhanz