HP-UX
1748000 회원
4774 온라인
108757 솔루션
새 메시지

rx장비에서 root mirror

 
주낙권
조언자

rx장비에서 root mirror

안녕하세요.



저는 rx장비에서 root disk mirror 하는 방법에 대해서 알고 싶습니다.

장비는 rx2600이며 OS버전은 11.23(v2)입니다



# bdf

Filesystem kbytes used avail %used Mounted on

/dev/vg00/lvol3 20971520 4202696 16638048 20% /

/dev/vg00/lvol1 311296 61720 247672 20% /stand



파티션구성은 위와 같습니다.



메뉴얼이나 미러하는 방법을 가르쳐 주시면 감사하겠습니다.
4 응답 4
고광태
중학생

rx장비에서 root mirror

참조하시길..
PS LEE
임시 조언자

rx장비에서 root mirror

설치해본지 좀 되서 기억이 가물가물...

예전에 정리해놓은 내용을 첨부해드립니다.

참고가 되시길...
김병수
본과생

rx장비에서 root mirror

Mirror the Root-Disk on Itanium Systems





--------------------------------------------------------------------------------

Assume that the primary disk is at c2t0d0 and secondary disk is at

c2t1d0.









1. Use vi to create a partition description file by doing the following:



# vi /tmp/partitionfile



For HPUX < 11.23 the 3 line entry should look like this:



2

EFI 100MB

HPUX 100%



For HPUX 11.23 or later the 4 lines should look like this:



3

EFI 500MB

HPUX 100%

HPSP 400MB



2. Use idisk to setup the disk partitioning using the file created above:



# idisk -wf /tmp/partitionfile /dev/rdsk/c2t1d0



3. Use insf to create the new device dfiles (c2t1d0s1 and c2t1d0s2)



# insf -e



4. pvcreate the new subpartition - make sure specify s2 !



# pvcreate -B /dev/rdsk/c2t1d0s2



5. Use mkboot to format and populate the newly created EFI partition:



# mkboot -e -l /dev/dsk/c2t1d0



6. Extend vg to include new disk sub-partition s2.



# vgextend /dev/vg00 /dev/dsk/c2t1d0s2



7. extend lvols to new sub-partition on the disk



# lvextend -m 1 /dev/vg00/lvol1 /dev/dsk/c2t1d0s2

.... lvextend -m 1 (additional LV)...



8. update lvol boot paths



# lvlnboot -r /dev/vg00/lvol3 /dev/vg00

# lvlnboot -b /dev/vg00/lvol1 /dev/vg00

# lvlnboot -s /dev/vg00/lvol2 /dev/vg00

# lvlnboot -d /dev/vg00/lvol2 /dev/vg00



9. Use efi_ls to confirm that the EFI partition is present and populated on the

new disk:



# efi_ls -d /dev/rdsk/c2t1d0s1



10. edit the AUTO file so we can boot when one disk is missing:



# efi_cp -d /dev/rdsk/c2t0d0s1 -u /EFI/HPUX/AUTO /tmp/AUTO



# vi /tmp/AUTO

modify "boot vmunix" to "boot vmunix -lq"



then put back the file on both EFI partitions with:



# efi_cp -d /dev/rdsk/c2t1d0s1 /tmp/AUTO /EFI/HPUX/AUTO



# efi_cp -d /dev/rdsk/c2t0d0s1 /tmp/AUTO /EFI/HPUX/AUTO



11. set the alternate EFI Bootpath to the mirrored disk



# setboot -a HW-path to the mirrored disk





12. Test booting from each drive.





주낙권
조언자

rx장비에서 root mirror

답변을 주신 모든분께 감사드립니다.