How To
Summary
How to replace disk with another new disk in VG and remove old disk from VG in AIX® for storage migration.
Objective
Steps
Refer to the documentation for that product for correct disk replacement procedures. The SSA User's Guide explains the procedures for changing disks in a RAID or hot swap environment. It is available for download at:
ftp://ftp.storsys.ibm.com/7133/pdfs/AdvSerRAIDXUsersGde.pdf
Mirroring the Volume Group would be the best way to do it.
*hdisk# is the number of the NEW disk
*VGname is the name of the Volume Group you will be working on.
# extendvg VGname hdisk#
# mirrorvg -S VGname hdisk#
# unmirrorvg VGname hdisk#
Note: Make sure that there are no remaining LVs on the OLD disks:
# lspv -l hdisk#
# migratepv -l LogicalVolumeName SourcePhysicalVolume DestinationPhysicalVolume
# lspv -l hdisk#
# reducevg VGname hdisk#
# bootlist -m normal hdisk#
# bootlist -m normal -o
After you execute the mirrorvg -S command, it will take quite a bit of time for the data between the 2 copies to be synchronized. It will be a good idea to leave it for at least a day and monitor the error log for disk and/or LVM errors.
If you decide to try the command periodically the value of the number you are getting should be decreasing.
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:
22 September 2020
UID
ibm16333595