Aci_Drivestatus_One - ADIC Server User Manual

Adic server user manual
Table of Contents

Advertisement

aci_drivestatus_one

#include "aci.h"
init aci_drivestatus_one ( char *clientname,
char *drive
struct
aci_drive_entry *pstDriveEntry[ACI_MAX_DRIVE_ENTRIES]
Figure 4-24
struct aci_drive_entry {
};
Figure 4-25
4-32
DAS ACI Functions
ERPC
EINVALID
ETIMEOUT
ESWITCHINPROGRESS
EBADCLIENT
ENOTSUPPHCMD
The aci_drivestatus_one function queries the physical status
of up to 15 drives. See Figure 4-24.
aci_drivestatus_one Function Call
Return the status of drives which are set to UP for the client
with the name clientname. If clientname is the NULL string,
the call returns status on all drives. If a value for the drive field
is indicated, the information relates to that single drive. The
status is returned in an array of pointers to aci_drive_entry
structure. The array element can be maximal 15. See
Figure 4-25.
The value of ACI_MAX_DRIVES_ENTRIES is equal to 15.
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
char volser[ACI_VOLSER_LEN];
bool_t cleaning
short clean_count
Returned Status
)
601626-B

Advertisement

Table of Contents
loading

Table of Contents