Il ripristino di mksysb ha esito negativo con errore 0301-165 bosboot non riuscito

Summary: Questo articolo si basa su un analogo articolo IBM che è stato modificato qui per un contesto PowerPath. Quando è stata creata un'immagine mksysb con PowerPath installato, il ripristino dell'immagine su un disco multipath potrebbe non riuscire. Ciò è dovuto al fatto che più hdisk contengono rootvg, impedendo a bosboot di avere successo. Questo articolo illustra tutti i passaggi necessari per risolvere il problema. ...

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

Il ripristino di mksysb ha esito negativo con errore 0301-165 bosboot failed.
Quando si tenta di ripristinare mksysb, se sono configurati più percorsi per i dispositivi utilizzati per ripristinare l'immagine, potrebbe verificarsi un errore simile al seguente:
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

Rootvg esiste su un disco SAN con più percorsi configurati e serviti da PowerPath. In tal caso, vengono creati più hdisk con lo stesso PVID causando l'errore del comando bosboot.

Resolution

Elencare i dispositivi che supportano rootvg.
Individuare lo pseudodispositivo che contiene questi hdisk.
Rilasciare i dispositivi da PowerPath.
Rimuovere gli hdisk (tutti tranne uno).
Eseguire il comando bosboot sull'hdisk rimanente.
Eseguire il comando bosboot sul dispositivo ipl.
Esci

Selezionare l'opzione 2 quando il ripristino di mksysb non riesce:
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

Controllare i dischi 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

Individuare lo pseudo device corrispondente utilizzando qualsiasi device hdisk dal seguente elenco:
# 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


Rimuovere lo pseudo device per rilasciare gli hdisk

# powermt remove dev=hdiskpower0

Rimuovere i dischi rootvg duplicati:

# rmdev -dl hdisk0
# rmdev -dl hdisk2
# rmdev -dl hdisk4
# rmdev -dl hdisk6
# rmdev -dl hdisk8
# rmdev -dl hdisk10
# rmdev -dl hdisk12
# rmdev -dl hdisk14

Uno dei suddetti comandi rmdev ha esito negativo come previsto e rimane un solo disco rootvg:
# lspv |grep rootvg
hdisk12         00aabbccddeeffcc                    rootvg          active

Eseguire manualmente i comandi bosboot:
# bosboot -ad /dev/hdisk12
# bosboot -ad /dev/ipldevice

(Potrebbe essere necessario creare il dispositivo IPL per eseguire correttamente il comando "bosboot -ad /dev/ipldevice". Nel nostro caso, dovresti farlo con "ln /dev/rhdisk12 /dev/ipldevice)

Se i comandi bosboot funzionano, digitare "exit"

# exit

Il ripristino di mksysb continua a essere completato.

Se i comandi bosboot hanno esito negativo, collaborare con lo Storage Administrator per ridurre a uno il numero di percorsi del disco rootvg prima del ripristino di mksysb.

Questa soluzione è derivata dalla soluzione pubblica IBM https://www.ibm.com/support/pages/mksysb-restore-fails-error-0301-165-bosboot-failed

Affected Products

PowerPath for AIX
Article Properties
Article Number: 000219423
Article Type: Solution
Last Modified: 15 Nov 2024
Version:  4
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.