Sends an SSA transaction to an SSA adapter.
The SSA_TRANSACTION operation allows the caller to issue an IPN (Independent Packet Network) transaction to a selected SSA adapter. IPN is the language that is used to communicate with the SSA adapter. The caller must be root, or have an effective user ID of root, to issue this operation.
IPN is described in the Technical Reference for the adapter.
The arg parameter for the SSA_TRANSACTION operation specifies the address of a SSA_TransactionParms_t structure. This structure is defined in the /usr/include/sys/ssa.h file.
The SSA_TRANSACTION operation uses the following fields of the SSA_TransactionParms_t structure:
Attention: This is a very low-level interface. It is for use only by configuration methods and diagnostics software. Use of this interface might result in system hangs, system crashes, system corruption, or undetected data loss.
When completed successfully, this operation returns a value of 0. Otherwise, a value of -1 is returned, and the errno global variable is set to one of the following values:
Value | Description |
---|---|
EIO | Indicates an unrecoverable I/O error. |
ENXIO | Indicates an unknown device. |
EINVAL | Indicates an unknown command. Indicates a bad buffer type. |
EACCESS | Indicates user does not have root privilege. |
ENOMEM | Indicates not enough memory. |
ENOSPC | Indicates not enough file blocks. |
EFAULT | Indicates bad user address. |
/dev/ssa0, /dev/ssa1,..., /dev/ssan
The SSA Adapter Device Driver, ssadisk SSA Disk Device Driver, SSA Subsystem Overview.