Sunday, February 5, 2017

IBM SVC Vdisk Expansion

Below are the list of Pre-check, Implementation & Back out commands, which will help you to complete the Lun Expansion easy and without any effort. Do follow the procedure and feel free to post your comments in case of any queries or suggestions.

Pre-check Commands:

1. Command to check the Vdisk information in detailed, which shows the individual disk IOGrp, MdiskGrp & Other information.

svcinfo lsvdisk <Vdisk name/id>


2. Command to check the capacity of the mdiskgrp since we need free space in the mdiskgrp to move further with the expansion.

svcinfo lsmdiskgrp

Implementation Commands:

1. Command to expand the vdisk.

svctask expandvdisksize -size <size> -unit gb <vdisk name>

Note: We need to mention the capacity to be added to the existing disk for example if you want to expand a 1024 GB disk to 1524 then you need to mention 500 GB in place of size.


Post-check Commands:

1. Use the below command to check the new capacity of the disk.

svcinfo lsvdisk <Vdisk name/id>


Back out Plan:

We cannot revert the change so we need to be careful before executing the change the only process to revert is to allocate a new disk and get the data migrated.