beautypg.com

Figure 4-23, Table 4-10, Para – ADIC Server User Manual

Page 72

background image

4-30

DAS ACI Functions

601626-B

Figure 4-23

Returned Status

The variable ACI_SERIAL_NUMBER_LEN is equal to 51.

See Table 4-10 for an explanation of the parameters used for
the aci_drivestatus4 function.

Table 4-10

Parameters for the aci_drivestatus4 Function Call

Parameter

Description

clientname

name of the client that requested the status of the
drives. If clientname is the NULL string, return status
on all drives.
Using SHARED_ACCESS as a key word for the client
shows all drives which are allocated in the
SHARED_ACCESS mode. Using EXUP as a key word
for the clientname shows all drives which are
allocated in the EXUP mode.

drive

value associated with a single drive

aci_drive_entry

returned information about the status of the drives

drive_name

name of the drive (name used in
DAS and AMS description)

amu_drive_name

internal AMS drive name e.g. 03
or ZZ

struct aci_ext_drive_entry4 {

char drive_name[ACI_DRIVE_LEN];

char amu_drive_name[ACI_AMU_DRIVE_LEN];

enum aci_drive_status drive_state;

char type;

char system_id[ACI_NAME_LEN];

char clientname[ACI_NAME_LEN];

char volser[ACI_VOLSER_LEN];

bool_t cleaning;

short clean_count;

int mount;

int keep;

char serial_number[ACI_SERIAL_NUMBER_LEN];

};