11.31 OS Mirror 방법 ( IA )
디스크 확인
test:/work ] ioscan -m dsf
Persistent DSF Legacy DSF(s) ======================================== /dev/rdisk/disk1 /dev/rdsk/c0t8d0 /dev/rdisk/disk1_p1 /dev/rdsk/c0t8d0s1 /dev/rdisk/disk1_p2 /dev/rdsk/c0t8d0s2 /dev/rdisk/disk1_p3 /dev/rdsk/c0t8d0s3 /dev/rdisk/disk2 /dev/rdsk/c0t8d1 /dev/rdisk/disk3 /dev/rdsk/c1t9d1 /dev/rdisk/disk4 /dev/rdsk/c1t9d2 |
Partition 생성위해서 partition 정보 만들기
test:/work ] vi par 3 EFI 500MB HPUX 100% HPSP 400MB |
idisk 로 Partition 나누기
test:/work ] idisk -wf ./par /dev/rdisk/disk3 idisk version: 1.44 ********************** WARNING *********************** If you continue you may destroy all data on this disk. Do you wish to continue(yes/no)? yes
내용 생략....... |
test:/work ] insf -e
Partition 후 ioscan 으로 확인
test:/work ] ioscan -m dsf
Persistent DSF Legacy DSF(s) ======================================== /dev/rdisk/disk1 /dev/rdsk/c0t8d0 /dev/rdisk/disk1_p1 /dev/rdsk/c0t8d0s1 /dev/rdisk/disk1_p2 /dev/rdsk/c0t8d0s2 /dev/rdisk/disk1_p3 /dev/rdsk/c0t8d0s3 /dev/rdisk/disk2 /dev/rdsk/c0t8d1
/dev/rdisk/disk3 /dev/rdsk/c1t9d1 /dev/rdisk/disk3_p1 /dev/rdsk/c1t9d1s1 /dev/rdisk/disk3_p2 /dev/rdsk/c1t9d1s2 /dev/rdisk/disk3_p3 /dev/rdsk/c1t9d1s3 /dev/rdisk/disk4 /dev/rdsk/c1t9d2 |
test:/work ] mkboot -e -l /dev/(r)disk/disk3
test:/work ] mkboot -a "hpux -lq" /dev/(r)disk/disk1
test:/work ] mkboot -a "hpux -lq" /dev/(r)disk/disk3
11.23 에서
# mkboot -a "boot hpux -lq" /dev/(r)dsk/c0t0d0
# mkboot -a "boot hpux -lq" /dev/(r)dsk/c1t0d0 |
확인
test:/work ] efi_cp -d /dev/rdisk/disk1_p1 -u /EFI/HPUX/AUTO ./pri test:/work ] cat pri hpux -lq
test:/work ] efi_cp -d /dev/rdisk/disk3_p1 -u /EFI/HPUX/AUTO ./alt test:/work ] cat alt hpux -lq |
test:/work ] pvcreate -f -B /dev/rdisk/disk3_p2
test:/work ] vgextend vg00 /dev/disk/disk3_p2
test:/work ] lvextend -m 1 /dev/vg00/lvol1 /dev/disk/disk3_p2
( 나머지 LV 에 대해서도 실행 )
test:/work ] setboot -a /dev/(r)disk/disk3
mirror 전
test:/work ] lvlnboot -v Boot Definitions for Volume Group /dev/vg00: Physical Volumes belonging in Root Volume Group: /dev/disk/disk1_p2 -- Boot Disk Boot: lvol1 on: /dev/disk/disk1_p2 Root: lvol4 on: /dev/disk/disk1_p2 Swap: lvol3 on: /dev/disk/disk1_p2 Dump: lvol2 on:/dev/disk/disk1_p2, 0 |
mirror 후
test:/work ] lvlnboot -v Boot Definitions for Volume Group /dev/vg00: Physical Volumes belonging in Root Volume Group: /dev/disk/disk1_p2 -- Boot Disk /dev/disk/disk3_p2 -- Boot Disk Boot: lvol1 on: /dev/disk/disk1_p2 /dev/disk/disk3_p2 Root: lvol4 on: /dev/disk/disk1_p2 /dev/disk/disk3_p2 Swap: lvol3 on: /dev/disk/disk1_p2 /dev/disk/disk3_p2 Dump: lvol2 on: /dev/disk/disk1_p2, 0 |