Array Setup and Networking
1753963 Members
7128 Online
108811 Solutions
New Discussion

List all associated volumes of a volume collection via cli

 
SOLVED
Go to solution
nimcli98
New Member

List all associated volumes of a volume collection via cli

Hi there!

Is there any way to check / list all associated volumes of a volume collection?

As Example:

I got two volumes vol1 and vol2

Both are member of the volume collection VolColl.

Can I get the members of VolColl via CLI? So that the output would be:

vol1

vol2

If seen the commands "vol --list" and "volcoll --list" but both show not that thing that I am searching.

Any one a idea?

1 REPLY 1
mreynolds56
New Member
Solution

Re: List all associated volumes of a volume collection via cli

Hi Nim,

Using the following command will provide a comma separated list of volumes belonging to the specified volume collection:

volcoll --info name | grep 'Associated volumes:'

So for your example, entering the following command:

volcoll --info VolColl | grep 'Associated volumes:'

Will produce a single line of output as follows:

Associated volumes: vol1, vol2