12-15-2010
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,
10 More Discussions You Might Find Interesting
1. Solaris
hiho peeps,
is there a possibility to see the WWNs of your SAN-HBAs, like in ifconfig the MAC-addresse.....???
greetings Pressy (1 Reply)
Discussion started by: pressy
1 Replies
2. Solaris
How to find the WWN in solaris8 other than luxadm? (2 Replies)
Discussion started by: allwin
2 Replies
3. Solaris
I have a list of LUN ID, my task is to find if disk has been added or not. How do I do that? I have been searching the forum and not able to find answer.
thanks (4 Replies)
Discussion started by: uuontario
4 Replies
4. Windows & DOS: Issues & Discussions
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
5. AIX
If i am changing the controller/SFP in IBM DS 5000 series is there any chance of changing WWN.Where it (WWN)will be located. When will be the chance of WWN change.
Thanks in advance (0 Replies)
Discussion started by: sunnybee
0 Replies
6. Solaris
Dear all,
i want to get the LUN ID for some disks in solaris 10
what commands options for the MPXIO and inq i want these utilities only
because i don't have solution enabler or powerpath
BR, (1 Reply)
Discussion started by: maxim42
1 Replies
7. 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
8. Solaris
please find the below o/p for your reference
bash-3.00# fcinfo hba-port
HBA Port WWN: 21000024ff295a34
OS Device Name: /dev/cfg/c2
Manufacturer: QLogic Corp.
Model: 375-3356-02
Firmware Version: 05.03.02
FCode/BIOS Version: BIOS: 2.02; fcode: 2.01;... (3 Replies)
Discussion started by: sb200
3 Replies
9. Ubuntu
Hi All
I am trying to get WWN from the FC adapters to provide to storage admin to provide me with some LUNs, but after some research on google I was asked to use sysfsutilstool, but when I try to install the deb package I got stuck on dependencies.
the one that is giving me issues is : libc6.... (0 Replies)
Discussion started by: fretagi
0 Replies
10. Red Hat
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
LEARN ABOUT SUNOS
hba_openadapterbywwn
HBA_OpenAdapter(3HBAAPI) Common Fibre Channel HBA Information Library Functions HBA_OpenAdapter(3HBAAPI)
NAME
HBA_OpenAdapter, HBA_OpenAdapterByWWN, HBA_CloseAdapter - open and close a specific adapter
SYNOPSIS
cc [ flag... ] file... -lHBAAPI [ library... ]
#include <hbaapi.h>
HBA_HANDLE HBA_OpenAdapter(char *adaptername);
HBA_STATUS HBA_OpenAdapterByWWN(HBA_HANDLE *handle, HBA_WWN wwn);
void HBA_CloseAdapter(HBA_HANDLE handle);
PARAMETERS
adaptername the name of the adapter to open, as returned by HBA_GetAdapterName(3HBAAPI)
handle
HBA_OpenAdapterByWWN()
a pointer to an HBA_HANDLE
HBA_CloseAdapter()
the open handle of the adapter to close, as returned by HBA_OpenAdapter(3HBAAPI)
wwn the WWN to match the Node WWN or Port WWN of the HBA to open
DESCRIPTION
The HBA_OpenAdapter() function opens the adapter specified by adaptername and returns a handle used for subsequent operations on the HBA.
The HBA_OpenAdapterByWWN() function opens a handle to the HBA whose Node or Port WWN matches the wwn argument.
The HBA_CloseAdapter() function closes the open handle.
RETURN VALUES
Upon successful completion, HBA_OpenAdapter() returns a valid HBA_HANDLE with a numeric value greater than 0. Otherwise, 0 is returned.
The HBA_OpenAdapterByWWN() function returns the following values:
HBA_STATUS_OK
The handle argument contains a valid HBA handle.
HBA_STATUS_ERROR_ILLEGAL_WWN
The wwn argument is not a valid port WWN on the specified HBA.
HBA_STATUS_ERROR_AMBIGUOUS_WWN
The WWN is matched to multiple adapters.
HBA_STATUS_ERROR
An error occurred while opening the adapter.
EXAMPLES
Example 1: Open an adapter.
The following example opens the specified adapter.
handle = HBA_OpenAdapter(adaptername);
if (handle == 0) {
fprintf(stderr, "Unable to open HBA %d with name "
""%s".
", hbaCount, adaptername);
continue;
}
ATTRIBUTES
See attributes(5) for descriptions of the following attributes:
+-----------------------------+-----------------------------+
| ATTRIBUTE TYPE | ATTRIBUTE VALUE |
+-----------------------------+-----------------------------+
|Interface Stability |Standard: FC-MI 1.92 (API |
| |version 1) |
+-----------------------------+-----------------------------+
| |Standard: FC-HBA Version 4 |
| |(API version 2) |
+-----------------------------+-----------------------------+
|MT-Level |Safe |
+-----------------------------+-----------------------------+
SEE ALSO
HBA_GetAdapterName(3HBAAPI), HBA_OpenAdapter(3HBAAPI), libhbaapi(3LIB), attributes(5)
T11 FC-MI Specification
SunOS 5.10 1 Sep 2003 HBA_OpenAdapter(3HBAAPI)