Array Setup and Networking
cancel
Showing results for 
Search instead for 
Did you mean: 

List all associated volumes of a volume collection via cli

SOLVED
Go to solution
nimcli98
Occasional Visitor

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
mreynolds56
Occasional Visitor
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