Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

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

stmfDevidFromWwn(3STMF) 			   SCSI Target Mode Framework Library Functions 			   stmfDevidFromWwn(3STMF)

NAME
stmfDevidFromWwn - convert a WWN to a stmfDevid structure SYNOPSIS
cc [ flag... ] file... -lstmf [ library... ] #include <libstmf.h> int stmfDevidFromWWN(uchar_t wwn[8], stmfDevid *devid); PARAMETERS
wwn The 8-byte WWN identifier. devid A pointer to a stmfDevid structure allocated by the caller. On successful return, this will contain the converted device identi- fier. On error, the value of this parameter is undefined. DESCRIPTION
The stmfDevidFromWwn function convert a WWN to a stmfDevid structure. It returns the devid as a SCSI name string. RETURN VALUES
The following values are returned: STMF_ERROR_INVALID_ARGUMENT The value of wwn was not valid WWN identifier. 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 stmfDevidFromWwn(3STMF)
Man Page

7 More Discussions You Might Find Interesting

1. Solaris

Solaris 10 10/08 sparc + iSCSI

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)
Discussion started by: prashantbhushan
4 Replies

2. Solaris

Solaris 10 - QLogic 4060C iSCSI adapter - multipathed (MPxIO)

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)
Discussion started by: sb008
4 Replies

3. Solaris

iSCSI disk showing incorrect size

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)
Discussion started by: capitalexall
0 Replies

4. AIX

Any tips to grow iSCSI LUN

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)
Discussion started by: bbbngowc
5 Replies

5. AIX

A solution to the mkvg failure when adding iSCSI disks to AIX.

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)
Discussion started by: garethr
1 Replies

6. Red Hat

iSCSI issue on RHEL 5

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)
Discussion started by: Jeevanm
2 Replies

7. AIX

How to configure iSCSI TOE w/ load balancing?

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)
Discussion started by: cbrinker
21 Replies