stmfdevidfromiscsiname(3stmf) [opensolaris man page]
stmfDevidFromIscsiName(3STMF) SCSI Target Mode Framework Library Functions stmfDevidFromIscsiName(3STMF)NAME
stmfDevidFromIscsiName - convert an iSCSI name to a stmfDevid structure
SYNOPSIS
cc [ flag... ] file... -lstmf [ library... ]
#include <libstmf.h>
int stmfDevidFromIscsiName(char *iscsiName, stmfDevid *devid);
PARAMETERS
iscsiName A character string of UTF-8 encoded Unicode characters representing the iSCSI name terminated with the Unicode nul character.
devid A pointer to a stmfDevid structure allocated by the caller. On successful return, this will contain the converted device iden-
tifier. On error, the value of this parameter is undefined.
DESCRIPTION
The stmfDevidFromIscsiName() function converts an iSCSI name to a stmfDevid structure. It returns the devid as a SCSI name string identi-
fier.
RETURN VALUES
The following values are returned:
STMF_ERROR_INVALID_ARGUMENT
The value of iscsiName was not valid iSCSI name.
STMF_STATUS_SUCCESS
The API call was successful.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO libstmf(3LIB), attributes(5)SunOS 5.11 9 Jun 2008 stmfDevidFromIscsiName(3STMF)
Check Out this Related Man Page
stmfOfflineTarget(3STMF) SCSI Target Mode Framework Library Functions stmfOfflineTarget(3STMF)NAME
stmfOfflineTarget - take offline a target port that is currently in the online state
SYNOPSIS
cc [ flag... ] file... -lstmf [ library... ]
#include <libstmf.h>
int stmfOfflineTarget(stmfDevid *target);
PARAMETERS
target The identifier of the target port to offline.
DESCRIPTION
The stmfOfflineTarget() function takes offline a target port that is currently in the online state. Once in the offline state, the target
port will no longer be capable of servicing requests in the system.
This API call can be used to take offline a target port device for servicing. Once the target port is offline, it will no longer be avail-
able to any entities outside of the SCSI Target Mode Framework. Any initiator ports that currently have sessions established by the
offlined target port will be logged out.
RETURN VALUES
The following values are returned:
STMF_ERROR_BUSY The device is currently busy.
STMF_STATUS_SUCCESS The API call was successful.
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Committed |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO libstmf(3LIB), attributes(5)SunOS 5.11 9 Jun 2008 stmfOfflineTarget(3STMF)
hi,
I have installed Solaris 10 10/08 on sparc machine. I would like to configure iSCSI on that to mount SAN Volumes. Is there any need to install any additional patches for iSCSI to work.
Thanks,
Prashant. (4 Replies)
System: Sun M3000 and M4000
OS: Solaris 10 (fully up to date with latest patches)
iSCSI HBA: 2x QLE4060C (QLogic)
In each system are 2 QLE4060C iSCSI adapters.
I manage to set up both HBA's to connect to the LUNs on the SAN
However I don't manage to enable multi-pathing.
Made the... (4 Replies)
Hi,
I have a very frustrating issue! I hope you guys can assist
When a disk is presented out the iSCSI target display a lower disk capacity
SOLARIS VERSION is SOLARIS 10 05/09 Kernel Patch 139555-31
ISCSI Patch 119090-31, 141878-11
Unix Commands To discover Target
bash-3.00# i... (0 Replies)
Hi,
I have an iSCSI LUN attached to an AIX 5.3 box. It's initial size is 250GB, I just grew it on the SAN to 300GB, but AIX is not seeing the change. Right now I have some processes going and it's eating up the disk space. I need to grow this lun by atleast 30GB otherwise the process with bomb... (5 Replies)
Previous forum threads have noted that AIX cannot use iSCSI disks because it fails when trying to add them to a volume group using mkvg. The failure is caused by AIX's use of the SCSI "WRITE AND VERIFY"(0x2e) command which some iSCSI targets do not support.
We experienced the same problem using... (1 Reply)
Hello Friends,
I am facing issue with the iSCSI configuration on some of our RHEL 5 servers,
When I restart the iSCSI service, it triggers the RHEL server reboot.
Could you please help me with this issue.
Below are the system details :
uname -a :
Linux za-rac-prd-01.abc.local... (2 Replies)
Sorry guys but let me start off by saying I am an AIX noob! I am running AIX 6.1 and recently purchased two iSCSI TOE cards. The plan is to connect these two cards to a Dell EqualLogic SAN and that has two volumes configured for logs and data.
The point of the two cards is to do load balancing... (21 Replies)