How-To : Dell MD3000i – Defragmenting the Disk Group (Merging Free Capacity within a Disk Group)

This lesson will show how to defragment the disk group on a Dell MD3000i storage array. Defragementing the disk group will merge and free up capacity within the disk group.

Why the need to Defragment the Disk Group?

media_1268942325523.png

We can see the issue that is caused when we have deleted virtual disks inside a disk group by clicking on the "Disk Groups & Virtual Disks" link under the Summary tab on the Dell Storage Manager application.

media_1268942360206.png

As shown above, you will see areas of "Free Capacity" which are stranded from each other, as they are not contiguous.

Performing the Disk Group Defragment

media_1274310171223.png

To perform the disk group defragment, you will need to have installed the Dell MD Storage Manager CLI/Utilities onto a host (usually the same host that has the Dell Storage Manager installed will have the Storage Manager CLI installed as well).
You will use the "SMcli" utility to issue commands to the Dell MD3000i storage array, which is located under the following path depending on your operating system type:
C:Program Files (x86)DellMD Storage Managerclient = 64bit Operating System
C:Program FilesDellMD Storage Managerclient = 32bit Operating System

Type the following command in order to start the disk group defragment:
smcli -n hostname -p password -c "start diskgroup [1] defragment;"
The "hostname" field above should be replaced with the actual hostname of the storage array.
The "password" field above should be replaced with the configuration password for the array.
The diskGroup # is actually the identifier of the disk group. Ours happens to be the number "1".

media_1274310224953.png

Next you should receive a screen like the above which shows the command completing successfully.

Verifying and Monitoring the Disk Group Defragment

media_1274310256292.png

You can verify that the disk group defragment worked by looking at the Disk Groups and Virtual Disks summary again. It should now no longer show multiple "Free Capacity" entries! (1)
Notice the icon has changed for the virtual disk (2) which shows it is defragmenting the data.

media_1274310488645.png

To monitor the process of the defrag, you have to look at a virtual disk that is being defragmented. Use the following command:
SMcli -n hostname -p mypassword -c "show virtualDisk [vdiskname] actionProgress;"
The "hostname" field above should be replaced with the actual hostname of the storage array.
The "password" field above should be replaced with the configuration password for the array.
The "vdiskname" field above should be replaced with the virtual disk name.

media_1274310500727.png

Once the command executes, you should see the Defragment operation running as well as the percentage complete. Defragmenting the virtual disk will usually take awhile, so be patient during this process.

Changing the Virtual Disk Rebuild Priority

media_1274448006363.png

In order to speed up the defragment operation or any other RAID rebuild process, you can run the following command:
smcli -n hostname -p mypassword -c "set virtualDisk [virtualDiskName] modificationPriority=highest;"
The "hostname" field above should be replaced with the actual hostname of the storage array.
The "password" field above should be replaced with the configuration password for the array.
The "vdiskname" field above should be replaced with the virtual disk name.

media_1274448020487.png

Once the command executes, you should see a screen like the above.

media_1274448104002.png

You can confirm the rebuild priority was changed by using the command listed above for monitoring the virtual disk. This will also show the rebuild priority, as circled in our screenshot above.

This entry was posted in Dell and tagged , by virtualdennis. Bookmark the permalink.

About virtualdennis

I have over 18 years helping small to large enterprise businesses nationwide with their enterprise storage, backup and recovery, disaster recovery and system virtualization solutions. He holds numerous storage and virtualization certifications and has personally delivered over 300 complex enterprise solution implementations. He has been privileged to speak at various national events on the topics of datacenter virtualization, end-user virtualization, hyper-converged infrastructure and disaster recovery.

1 thought on “How-To : Dell MD3000i – Defragmenting the Disk Group (Merging Free Capacity within a Disk Group)

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s