SSADISK_LIST_PDISKS SSA Disk Device Driver ioctl Operation
Purpose
To provide a method of determining which SSA physical disk drives make up a SSA
logical disk drive.
Description
The SSADISK_LIST_PDISKS operation can be issued by any user to an SSA logical
disk (hdisk). The operation returns a list of the SSA physical disks (pdisks) that make
up the specified logical disk drive.
The arg parameter for the SSADISK_LIST_PDISKS operation is the address of an
ssadisk_ioctl_parms structure. This structure is defined in the
/usr/include/sys/ssadisk.h file.
The SSADISK_LIST_PDISKS operation uses the following fields of the
ssadisk_ioctl_parms structure:
u0.list_pdisks.name_array
Pointer to the array of ssadisk_name_desc_t structures that is in the caller
memory. On return from the ioctl, this array is filled with the names of the
hdisks.
u0.list_pdisks.name_array_elements
Set by the caller to indicate the number of elements that are in the array at
which the
u0.list_pdisks.name_array
parameter is pointing.
u0.list_pdisks.name_count
On return from the ioctl, this field indicates the number of names that are in
the name array at which the
u0.list_pdisks.name_array
parameter is pointing.
u0.list_pdisks.resource_count
On return from the ioctl, this field indicates the number of physical disk drives
that make up the logical disk drive. This number might be less than
u0.list_pdisks.name_count
if, in the user memory, not enough elements were
allocated in the named array to hold all the pdisk names, or if one or more
physical disk drives that make up the logical disk have not been configured as
physical disk drives.
Chapter 13. Using the Programming Interface
285
|
Summary of Contents for Advanced SerialRAID Adapters SA33-3285-02
Page 1: ...Advanced SerialRAID Adapters User s Guide and Maintenance Information SA33 3285 02 ...
Page 2: ......
Page 3: ...Advanced SerialRAID Adapters User s Guide and Maintenance Information SA33 3285 02 ...
Page 16: ...xiv User s Guide and Maintenance Information ...
Page 18: ...xvi User s Guide and Maintenance Information ...
Page 21: ...Part 1 User Information 1 ...
Page 22: ...2 User s Guide and Maintenance Information ...
Page 48: ...28 User s Guide and Maintenance Information ...
Page 64: ...44 User s Guide and Maintenance Information ...
Page 76: ...56 User s Guide and Maintenance Information ...
Page 212: ...192 User s Guide and Maintenance Information ...
Page 228: ...208 User s Guide and Maintenance Information ...
Page 230: ...210 User s Guide and Maintenance Information ...
Page 254: ...234 User s Guide and Maintenance Information ...
Page 274: ...254 User s Guide and Maintenance Information ...
Page 330: ...310 User s Guide and Maintenance Information ...
Page 331: ...Part 2 Maintenance Information 311 ...
Page 332: ...312 User s Guide and Maintenance Information ...
Page 338: ...318 User s Guide and Maintenance Information ...
Page 430: ...410 User s Guide and Maintenance Information ...
Page 503: ...Part 3 Appendixes 483 ...
Page 504: ...484 User s Guide and Maintenance Information ...
Page 508: ...488 User s Guide and Maintenance Information ...
Page 529: ......
Page 530: ...Part Number 27H0678 Printed in the U S A SA33 3285 02 1P P N 27H0678 ...
Page 531: ...Spine information Advanced SerialRAID Adapters User s Guide and Maintenance Information ...