For those of you still using RAID Groups on the CX4, you’ll know that you sometimes need to defragment them to get a contiguous amount of free space, particularly if you’ve unbound LUNs in the group that sit between other, remaining LUNs. If you kick off a whole bunch of defrags and then want a quick way to check the progress, why not use naviseccli? The getrg option is the one you want to use in this example.
naviseccli -h 256.256.256.256 getrg -prcntdf
The output will look something like this:
RaidGroup ID: 0 Percent defragmented: 100 RaidGroup ID: 1 Percent defragmented: 100 RaidGroup ID: 2 Percent defragmented: 100 RaidGroup ID: 3 Percent defragmented: 1 RaidGroup ID: 4 Percent defragmented: 1 RaidGroup ID: 5 Percent defragmented: 100 RaidGroup ID: 6 Percent defragmented: 2 RaidGroup ID: 7 Percent defragmented: 1 RaidGroup ID: 8 Percent defragmented: 100