0301-165 bosboot failed 오류와 함께 mksysb 복원이 실패함
Summary: 이 문서는 PowerPath 컨텍스트를 위해 여기에서 수정된 유사한 IBM 문서를 기반으로 합니다. PowerPath가 설치된 상태에서 mksysb 이미지가 생성된 경우 다중 경로 디스크에서 이미지를 복원하지 못할 수 있습니다. 이는 rootvg를 보유하는 여러 개의 hdisk로 인해 bosboot가 성공하지 못하기 때문입니다. 이 문서에서는 문제를 해결하기 위해 요청된 모든 단계를 제공합니다. ...
Symptoms
mksysb를 복원하려고 할 때 이미지를 복원하는 데 사용되는 장치에 여러 경로가 구성된 경우 다음과 유사한 오류가 발생할 수 있습니다.
0301-165 bosboot: WARNING! bosboot failed - do not attempt to boot device.
BOS Install: Could not create boot image.
ID# OPTION
1 Continue
2 Perform System Maintenance and Then Continue
Enter ID number:Cause
Resolution
이러한 hdisk가 들어 있는 모의 디바이스를 찾습니다.
PowerPath에서 디바이스를 해제합니다.
hdisk(하나를 제외한 모두)를 제거합니다.
나머지 hdisk에 대해 bosboot 명령을 실행합니다.
ipldevice에 대해 bosboot를 실행합니다.
종료 mksysb 복원이 실패하면 옵션 2를 선택합니다
.
0301-165 bosboot: WARNING! bosboot failed - do not attempt to boot device.
BOS Install: Could not create boot image.
ID# OPTION
1 Continue
2 Perform System Maintenance and Then Continue
Enter ID number: 2
rootvg 디스크를 확인합니다.
# lspv |grep rootvg
hdisk0 00aabbccddeeffcc rootvg active
hdisk2 00aabbccddeeffcc rootvg active
hdisk4 00aabbccddeeffcc rootvg active
hdisk6 00aabbccddeeffcc rootvg active
hdisk8 00aabbccddeeffcc rootvg active
hdisk10 00aabbccddeeffcc rootvg active
hdisk12 00aabbccddeeffcc rootvg active
hdisk14 00aabbccddeeffcc rootvg active
다음 목록에서 hdisk 디바이스를 사용하여 해당 모의 디바이스를 찾습니다.# powermt display dev=hdisk0
Pseudo name=hdiskpower0
Symmetrix ID=000297000000
Logical device ID=0000013C
Device WWN=60000970000297000000533030313343
state=alive; policy=SymmOpt; queued-IOs=0
==============================================================================
--------------- Host --------------- - Stor - -- I/O Path -- -- Stats ---
### HW Path I/O Paths Interf. Mode State Q-IOs Errors
==============================================================================
3 fscsi7 hdisk0 FA 3d:04 active alive 0 0
3 fscsi7 hdisk2 FA 1d:04 active alive 0 0
2 fscsi6 hdisk4 FA 4d:04 active alive 0 0
2 fscsi6 hdisk6 FA 6d:04 active alive 0 0
2 fscsi6 hdisk8 FA 2d:08 active alive 0 0
1 fscsi5 hdisk10 FA 3d:04 active alive 0 0
1 fscsi5 hdisk12 FA 1d:04 active alive 0 0
0 fscsi4 hdisk14 FA 4d:04 active alive 0 0
모의 디바이스를 제거하여 hdisk를 해제# powermt remove dev=hdiskpower0
중복된 rootvg 디스크를 제거하십시오.
# rmdev -dl hdisk0
# rmdev -dl hdisk2
# rmdev -dl hdisk4
# rmdev -dl hdisk6
# rmdev -dl hdisk8
# rmdev -dl hdisk10
# rmdev -dl hdisk12
# rmdev -dl hdisk14
위의 rmdev 명령 중 하나가 예상대로 실패하고 rootvg 디스크가 하나만 남습니다.
# lspv |grep rootvg
hdisk12 00aabbccddeeffcc rootvg active
bosboot 명령을 수동으로 수행합니다.
# bosboot -ad /dev/hdisk12
# bosboot -ad /dev/ipldevice
("bosboot -ad /dev/ipldevice" 명령이 성공하려면 ipldevice를 생성해야 할 수 있습니다. 이 경우 "ln /dev/rhdisk12 /dev/ipldevice)"로 이 작업을 수행합니다.
bosboot 명령이 작동하면 "exit"를 입력합니다.
# exit
mksysb 복원이 계속 완료됩니다.
bosboot 명령이 실패하는 경우, 스토리지 관리자와 함께 작업하여 rootvg 디스크의 경로 수를 mksysb 복원 전에 1로 줄이십시오.
이 솔루션은 공용 IBM 솔루션 https://www.ibm.com/support/pages/mksysb-restore-fails-error-0301-165-bosboot-failed 에서 파생됩니다.