IBM Support

Unable to mirror AIX rootvg due to error code: 0516-1259

Troubleshooting


Problem

When a customer runs a mirrorvg command to mirror rootvg on a new disk, he gets the error message below:
0516-1259 mirrorvg: None of the available disks support booting on this specific system or the boot logical volume already exists on the specified disk. If these are new bootable disks and you have not rebooted since configuring them. You may try exporting LVM_HOTSWAP_BOOTDISK=1 and run this command again to override this condition
0516-1200 mirrorvg: Failed to mirror the volume group.

Cause


The mirrorvg error occurs when "bootinfo -B" returns 0 for the given disk.
On POWER machine systems, an adapter is found to be bootable by the system firmware at IPL time. Each LPAR runs its own private version of the firmware, which probes for all available hardware for that partition, and builds a device tree in NVRAM.  When AIX boots it reads this device tree and runs cfgmgr to configure the devices in AIX.

If an adapter is added AFTER boot time, devices attached to that adapter may not be seen as bootable until the partition is rebooted.

Resolving The Problem

1- Run the command below.  This tells mirrorvg to skip the "bootinfo -B" check:

# export LVM_HOTSWAP_BOOTDISK=1

Then run mirrorvg.

2- Alternatively, reboot the LPAR so that disks on the new adapter are seen as bootable (bootinfo -B hdiskX returns 1), and then run mirrorvg.

If the same issue persists, please contact the IBM AIX Software Support Team.

[{"Product":{"code":"SWG10","label":"AIX"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Not Applicable","Platform":[{"code":"PF002","label":"AIX"}],"Version":"Not Applicable","Edition":"","Line of Business":{"code":"LOB08","label":"Cognitive Systems"}}]

Document Information

Modified date:
31 March 2021

UID

isg3T1025594