qlist spcopy

Updated

Description

This command lists the names of all the storage policy copies, both primary and secondary, under a given storage policy. Whenever more than one storage policy copy is found, each copy is listed in its own line on the command prompt. No message appears if storage policy copies are not found.

In case of an error, an error code and description are displayed as: "spcopy: Error errorcode: errordescription"

Usage

qlist spcopy -sp <storagepolicy> [-tf <tokenfile>] [-tk <token>] [-h]
    

Options

-sp

Storage policy name

-tf

Reads token from a file

-tk

Token string

-h

Displays help

Diagnostics

Possible exit status values are:

0 - Successful completion.

1 - CLI usage failures, due to the use of an unsupported option or missing argument.

2 - Any other failure.

Example

List all the storage policy copies in the storage policy policy1.

qlist spcopy -p policy1 
 Primary 
 copy1
    

Was this page helpful?