VMAX Storage Group Report

Here is the the simplest way to generate a simple VMAX Storage Group’s allocated capacity report.

Run the below command

symsg -sid 1234 list -v > sglist.txt

Above command show each SG’s information in details along with Devices, type and capacity. We’ve redirected the output to a text file called ‘sglist.txt’. To produce a simple report using the above output; we need to use the below grep command.

grep ‘Name:\|2-way\|TDEV’ sglist.txt > out.txt

Above command greps lines having name of storage group, devices with 2-way mirror config and thin devices which are redirected to another text file called ‘out.txt’. We can see the devices with Status, capacity etc… which is sufficient to produce / calculate allocated storage capacity.

Advertisements

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 )

Google+ photo

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

Connecting to %s