ADIC 601356 manual vsdrivevary -p drvpoolusr -s off-line

Models: 601356

1 192
Download 192 pages 39.58 Kb
Page 90
Image 90
drvpoolusr.

Command Reference

Parameter

Description

 

 

-Ttimeout

Amount of time (in seconds) the API software

Default value is

waits for status from VolServ before returning

a time-out to the CLI software. Total wait time

120 seconds.

for a command is (retries plus 1) multiplied by

 

 

time-out value.

 

 

-Vprognum

RPC program number for VolServ.

Default value is

 

300016.

 

 

 

Return Codes

• 0 - The vsdrivevary command is successfully processed.

 

-1 - An error is detected by either the CLI software or the

 

API software.

 

• >0 - An error is detected by VolServ. The returned exit code

 

corresponds to the error code given by VolServ.

Examples

Step 1. Successful drive vary with verbose option specified.

 

 

Requests VolServ to vary all drives in the

 

 

drvpoolusr drive pool to the off-linestate

 

 

and to return status on every drive in

 

 

drvpoolusr.

 

 

 

 

 

vsdrivevary -p drvpoolusr -s off-line

 

 

 

-V

 

 

 

 

 

2-54

Command Reference

601356 Rev A

Page 90
Image 90
ADIC 601356 manual vsdrivevary -p drvpoolusr -s off-line