How To
Summary
How to replace a bad disk from a mirrored AIX® Volume Group
Objective
Steps
Refer to the documentation for that product for correct disk replacement procedures.
The system is a /usr, dataless, or diskless client.
*hdisk# is the number of the NEW disk
*VGname is the name of the Volume Group you will be working on.
# unmirrorvg VGname hdisk#
Note: Make sure that there are no remaining LVs on the OLD disks:
# lspv -l hdisk#
If there ARE remaining LVs, run the command:
# migratepv -l LogicalVolumeName SourcePhysicalVolume DestinationPhysicalVolume
Then, run this command again to make sure that there are no remaining LVs:
# lspv -l hdisk#
2- # reducevg VGname hdisk#
3-replace the disk drive, let the drive be renamed hdisk#
4- # extendvg VGname hdisk#
5- # mirrorvg VGname
# bosboot -a -d /dev/hdisk#
# bootlist -m normal hdisk#
# bootlist -m normal -o
Additional Information
| SUPPORT |
|---|
|
If you require more assistance, use the following step-by-step instructions to contact IBM to open a case for software with an active and valid support contract. 1. Document (or collect screen captures of) all symptoms, errors, and messages related to your issue. 2. Capture any logs or data relevant to the situation. 3. Contact IBM to open a case: -For electronic support, see the IBM Support Community: 4. Provide a clear, concise description of the issue. - For guidance, see: Working with IBM AIX Support: Describing the problem. 5. If the system is accessible, collect a system snap, and upload all of the details and data for your case. - For guidance, see: Working with IBM AIX Support: Collecting snap data |
Related Information
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
02 February 2024
UID
ibm16333823