API Guide
601355 Rev A API Functions 2-781
Functions
33 /* vst_dispatch when final status is
received. */
34 cmd = VS_Command_Create();
35 if ( cmd != (VST_COMMAND_HANDLE)
NULL)
36 {
37 /* Send the command to the VolServ
software. */
38 /* Note that status is not
processed here. */
39 /* Instead, it is processed in the
*/
40 /* vst_dispatch routine. Also
retry limit */
41 /* and priority are set as */
42 /* default parameters. */
43 rc = VSCMD_CreatePool(cmd,
44 VSID_DRIVEPOOL_NAME, dp,
45 VSID_DRIVE_ID_LIST, count,
drivelist,
46 VSID_ENDFIELD);
47 }
48 return ( rc );
49 }
Notes
The API must be initialized with a call to VS_Initialize
before this function can be executed.
VolServ generates no intermediate status in response to a
Create Pool request.
VSCMD_CreatePool does not trigger any MediaClass
callbacks from VolServ.
The name specified for a new drive pool must be unique. A
request to create a drive pool with a non-unique name will fail.
Drive pools can contain zero or more drives.