Command Reference

Examples

Step 1.

Successful Lock request that specifies a list of one or

 

 

more drives (vslock 4 8 12)

 

Step 2.

Requests VolServ to lock (reserve for exclusive use)

 

 

one of the drives 4, 8, and 12.

 

Step 3.

Output returned:

 

 

Lock [1] drives locked with lock id[1719790788]

 

1

Drive[4]

 

 

 

 

 

 

 

 

 

Step 1.

Successful Lock request that specifies a drive pool

 

 

and a quantity

 

 

Requests VolServ to lock (reserve for exclusive use)

 

 

2 drives from drive pool drvpoolmed.

 

 

 

 

 

vslock -p drvpoolmed -q 2

 

 

Step 2.

 

 

 

Output returned:

Lock [2] drives locked with lock id[1719790788]

1Drive[40]

2Drive[41]

Step 1. Unsuccessful Lock request, too many drives requested to be reserved.

Requests VolServ to lock (reserve for exclusive use) 5 drives from drive pool drvpooltwr (drvpooltwr contains only 2 drives.)

vslock -p drvpooltwr -q 5

Commands

601356 Rev A

Command Reference

2-79

Page 115
Image 115
ADIC 601356 manual Successful Lock request that specifies a list of one or