Command Reference

-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 Unlock request with verbose option

 

 

specified.

 

 

Requests VolServ to unlock drives 4, 8, and 12,

 

 

all of which have an assigned lock identifier of

 

 

1719790788, and to return status on every

 

 

specified drive.

 

 

 

 

 

vsunlock -v 4 8 12 -l 1719790788

 

 

Step 2.

 

 

 

Output returned:

Unlock [3] drives unlocked with lock id [1719790788] Drive [4] no error Drive [8] no error Drive [12] no error

Step 1. Successful Unlock request without verbose option specified.

Requests VolServ to unlock drive 4 and 3, with an assigned lock identifier of 1719790788, and to return status on a drive only if the Unlock request for that drive was unsuccessful.

vsunlock 4 8 -l 1719790788

Unlock [2] drives unlocked with lock id [1719790788]

2-150

Command Reference

601356 Rev A

Page 186
Image 186
ADIC 601356 manual Successful Unlock request with verbose option