IBM Support

How to Determine the SAN Boot Disk used by the Last Successful VIOS Normal Boot

How To


This technote is intended to help determine the boot disk the VIOS last booted successfully from. This is helpful in situations where the VIOS partition is failing to find its boot device, and it boots from SAN with AIX clients' rootvg on vSCSI MPIO disks.


VIOS 2.2


Login to HMC Classic GUI as hscroot.
1. Boot VIOS partition to Open Firmware
Select VIOS partition while in shutdown mode.
> click Tasks
> Operations
> Activate
> Profile
> click Advanced
> set Boot mode to "Open Firmware OK Prompt"
> click OK
> click OK
This will boot to the Frimware "0 >" prompt as shown below:
2.  At the firmware prompt, type "boot-device dump"and hit Enter to display the last path the VIOS partition booted from successfully to normal mode, i.e.
In this example, we can say the last path it booted from successfully is /pci@80000002000020c/fibre-channel@0/disk@500507680215cae5  where
80000002000020c/fibre-channel@0/  is the adapter instance
disk@500507680215cae5   is the target port
3. To determine the fibre channel location code,  type 'ioinfo' > 6. FCINFO
In this example, the adapter #1 is the adapter the VIOS partition last booted successfully from.
4. Select the option # identified in step 3, in this example, option 1:
Notice the FC port's WWPN is displayed (10000000c9cff316).
5. Select option 1. List Attached FC Devices to list all SAN disks visible through that FC path, i.e.
In this example, the VIOS last booted from LUN ID 0 on target port 500507680215cae5.
(LUN ID 0 on target port 500507680215cae6 (option #14) is a mirror disk of VIOS rootvg).

Document Location


[{"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Product":{"code":"SSPHKW","label":"PowerVM Virtual I\/O Server"},"Component":"","Platform":[{"code":"PF002","label":"AIX"}],"Version":"VIOS 2.2","Edition":"","Line of Business":{"code":"LOB57","label":"Power"}}]

Document Information

Modified date:
20 October 2021