SCIOLQWWN
This operation issues a request to find the SCSI ID of a device for the specified world wide name.
Note: SCIOLQWWN is specific to the FCP transport type.
The following is a typical call:
rc = ioctl(adapter, SCIOLQWWN, &qrywwn);
where adapter is a file descriptor and qrywwn is a scsi_qry_wwn structure as defined in the /usr/include/sys/scsi_buf.h header file. The caller of this ioctl, must specify the device's world wide name in the world_wide_name field. On successful completion, the scsi_id field is returned with the SCSI ID of the device with this world wide name.
Possible errno values are:
Item | Description |
---|---|
EIO | A system error has occurred. Consider retrying the operation several times, because another attempt might be successful. |
EFAULT | A user process copy has failed. |
EINVAL | The physical configuration does not support this request. |
ENOMEM | A memory request has failed. |
ETIMEDOUT | The command has timed out. Consider retrying the operation several times, because another attempt might be successful. |
ENODEV | The device is not responding. Possibly no LUNs exist on the present FCP ID. |