Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

stmfdevidfromwwn(3stmf) [opensolaris 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)

Check Out this Related Man Page

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

NAME
stmfOnlineTarget - take online a target port that is currently in the offline state SYNOPSIS
cc [ flag ... ] file... -lstmf [ library ... ] #include <libstmf.h> int stmfOnlineTarget(stmfDevid *target); PARAMETERS
target The identifier of the target port to online. DESCRIPTION
The stmfOnlineTarget() function takes online a target port that is currently in the offline state. RETURN VALUES
The following values are returned: 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 stmfOnlineTarget(3STMF)
Man Page

15 More Discussions You Might Find Interesting

1. Solaris

Qlogic 2300 and WWN display

hi all, I'm looking for a command to display the WWN of my 2 HBAs cards installed on my Solaris 8 server. I have installed HP securepath for multipathing but I can only see the controllers info of my SAN with spmgr display command. Any ideas ? Thanks a lot. Fabien (10 Replies)
Discussion started by: unclefab
10 Replies

2. Shell Programming and Scripting

Concatenating Different # of Variables

Hi, I'm quite new at unix and was wondering if anyone could help me with this. I have 2 arrays: eg. STAT=online, STAT=offline, STAT=online WWN=xxxx1, WWN=xxxx2, WWN=xxxx3 I got these information from a script using fcinfo hba-port that runs through a loop. Now, I want to store... (2 Replies)
Discussion started by: jake_won
2 Replies

3. AIX

identify wwn on js21 lpar

hello, this is my first post please be gentle... im running aix 5.3 on a js21 lpar (that machine has another lpar and the vios), however i can't seem to find the wwn of the card when i: lscfg + sys0 System Object + sysplanar0 ... (4 Replies)
Discussion started by: javierccs
4 Replies

4. Solaris

WWN on Solairs8

How to find the WWN in solaris8 other than luxadm? (2 Replies)
Discussion started by: allwin
2 Replies

5. Solaris

How do I breakdown the Target (tx) part of a cXtXdX Iscsi device?

Hello, I am trying to breakdown the cXtXdX (specifically tX) part of an iscsi device. I know in the fibre SAN world, this tX will usually be a combination of the path to device/device WWN. From what I understand in iscsi world it is similar, breaking down into... (0 Replies)
Discussion started by: Bashful
0 Replies

6. Solaris

Find LUN with WWN

Hello all, I need find in my OS (Sun10) on LUN 1Tb with WWN 6005-08b4-0010-7137-0000-e000-0076-0000 (HBA) How do it?, Thanks, (3 Replies)
Discussion started by: aav1307
3 Replies

7. Solaris

How to find FC info on Sun x86 system?

Hi, we have a Sun x4150 server connecting to Brocade switches. I need to get all WWN on the Sun server. Here is the result: # fcinfo hba-port No Adapters Found. # prtconf -vp | grep -i wwn # luxadm probe ERROR: No Fibre Channel Adapters found. # luxadm -e port ERROR: No Fibre Channel... (2 Replies)
Discussion started by: aixlover
2 Replies

8. Solaris

How to see WWN number of Hard Disk

Hi, How can I see wwn number of hard disks attached to my solaris 10 box? (5 Replies)
Discussion started by: prashant2507198
5 Replies

9. Windows & DOS: Issues & Discussions

find wwn in windows machine ?

Hi guys .. How to can I know the HBA WWN address in the windows machine ? Pls advice with command ... (1 Reply)
Discussion started by: roooooot
1 Replies

10. AIX

Live Partition Mobility using HP XP SAN storage

I have a real problem that I hope someone has experience of. I am setting up an LPM for a client who use HP SAN storage. In the past when I setup an LPM system the second World Wide Name (WWN) for the virtual client adapters were given to the storage team who then zoned and mapped these to same... (3 Replies)
Discussion started by: johnf
3 Replies

11. AIX

NPIV custom WWN

Hi All :) i would like to know if i can customize the WWN of the new VFC (NPIV). Or, if i must move the LPAR on another server with another FCS, i have to change the zoning?? Thanks in advance. Mario ---------- Post updated 09-21-12 at 02:51 AM ---------- Previous update was 09-20-12 at... (1 Reply)
Discussion started by: Zio Bill
1 Replies

12. Programming

char array

cat int.c int main() { unsigned char wwn; wwn=50; wwn=00; wwn=53; wwn=30; wwn=08; wwn=09; wwn=82; wwn=17; printf("WWN: %02x:%02x:%02x:%02x:%02x:%02x:%02x:%02x\n ", wwn, wwn, wwn, wwn, wwn,... (8 Replies)
Discussion started by: powyama
8 Replies

13. Solaris

How to get LUN WWN in Solaris?

How to get LUN WWN (i.e LUN mapped from a storage box say Symmetrix or clariion) in Solaris. fcinfo command does give the Target port wwn but what i'm looking for is the LUN WWN. Any help is appreciated. (2 Replies)
Discussion started by: Manish00712
2 Replies

14. Red Hat

Need WWN

How do I identify the WWN of associated SAN through a logical volume that is mounted on a RHEL 6 system (2 Replies)
Discussion started by: nixhead
2 Replies

15. Shell Programming and Scripting

awk and grep using two files

I have two file one will have WWN and port details and another file will have allies name. I need to check what allies name was given to each wwn and create a consolidate report which will both port details, allies name. file one switchshow 133 1 21 188500 id N4 ... (4 Replies)
Discussion started by: ranjancom2000
4 Replies