Learn how to remove disk units from an existing SVC configuration (including configurations using IBM FlashSystems or IBM Storwize storage devices)
Before you begin
These steps assume the user has experience configuring and managing an IBM® Spectrum Virtualize-based storage device and has a functioning configuration running.
Required PTF Group: These steps require the following PTF groups on all partitions in the PowerHA environment:
7.4: SF99666 Level 6
7.3: SF99876 Level 14
7.2: SF99776 Level 17
About this task
In some instances, you may want to remove storage from your Independent Auxiliary Storage Pool (IASP). This may be to allocate the storage to other environments or to replace the units with ones of a different size later on. Complete the following procedure to add units to the IASP in an SVC environment.
Procedure
If the configuration contains FlashCopy, end any currently active FlashCopy sessions using the ENDSVCSSN command.
Remove the volume from the IASP on the source/production IBM i.
3. If the configuration contains either Metro Mirror or Global Mirror, deconfigure replication for the volumes that were removed. If the environment does not contain either Metro Mirror or Global Mirror, skip to step 8.
4. Update the source copy description using the Change SVC Copy Description (CHGSVCCPYD
) command. When updating the vdisk range in the copy description, update the ranges so that they no longer contain the removed volumes.
Tip: The joblog for the command will contain the following diagnostic message:Message . . . . : The quantity of logical units does not match.
Cause . . . . . : The quantity of logical units specified in auxiliary
storage pool (ASP) copy description &1 does not match the quantity of
logical units specified in ASP copy description &2. All operations
performed on ASP session &3 will fail until the quantity of logical units in
both ASP copy descriptions match.
Recovery . . . : Update the quantity of logical units in one or both ASP
copy descriptions.
Step 5 updates the second copy description to resolve this.
5. Update the target copy description using the Change SVC Copy Description (CHGSVCCPYD
) command.
6. Verify with the Display SVC Session (DSPSVCSSN
) command that replication is currently active for the session.
7. Verify the target IASP is still usable by using the DETACH operation to test the target copy.
8. If the configuration contains FlashCopy, update any FlashCopy target copy descriptions by using the CHGSVCCPYD
command to remove the disks that are no longer part of the configuration.
9. The non-configured units can now be removed from the IBM i, and optionally deleted from the storage device if no longer needed.
Results
The removed disk units are now listed under the non-configured units. These non-configured units can now be removed from the IBM i, and optionally deleted from the storage device if no longer required.