I'm new to SAN storage so I was wondering if someone can assist me with a problem. I have a solaris 10 OS with 3 SAN devices attached. We are trying to troubleshoot performance so I was asked to get the WWN of each SAN disk and show what it's attached to via the SVM mount in the metastat output.
I can get what HBA controller it's attached to and the controller HBA by doing:
I just can't figure out how to get the WWN for that actual device.
I have tried searching google, but everything always points to getting the WWN of the HBA card. I'm beginning to think from an OS level it's not possible to get the WWN of the actual SAN disk. Can someone please confirm if you can or not and if you can please point me in a direction on how to obtain it.
Hi
I have a linux box attched to a SAN storage from EMC with RAID 5 .I understand that it has 3g cache howver a 20gb file creation takes too much time here are my results any ideas why
time dd if=/dev/zero of=disk.img bs=1048576 count=20000
20000+0 records in
20000+0 records out
997.59s... (2 Replies)
I have my application vendor looking at this but I want to do my own investigation.
I restored from mksysb and I see my vgs that contain my internal disks.
But I do not see my vgs that contain disks from the SAN. This scares me ..
{{ Ha, ha!! My AIX expert boss just told me I have nothing... (0 Replies)
Hi, I'm having a problem when attempting to define the OCR location for my 10g RAC setup on Solaris 10. I get the following error:
The specified shared raw partition /dev/did/rdsk/d1s0 may not have the correct permission. Verify that the partition is owned by Oracle user.
As per the Oracle10g... (15 Replies)
This may sound like an absolute rookie question, and it is.
I have been working on Migrating our HP and Solaris servers to the new EMC SAN and know the routines backwards.
Now we've suddenly got a new IBM server and I don't even know how to check if it is connected to the switch.
Can someone... (1 Reply)
Good morning to one and all :-) Thank god its Friday, as its bee na rubbish week for me !
So, a quick question. Disks ! Ive got a few local disks, and a few SAN disks used on my solaris server. Whats confusing me, and Im not sure if there's an issue at the SAN end, or my end, regarding the... (3 Replies)
Hello everybody,
I'm using the binary inqraid (Linux RHEL) in order to retrieve information about SAN disks. The questions are:
Given an LDEV, how do I know if the SAN disk related to this LDEV is being used by the OS? I mean, how can I demonstrate to "Storage department" that all disks of... (4 Replies)
HI, I have had an issue last night while trying to extend a filesystsem . chvg -g <vg> command cameback with an error
0516-1790 chvg: Failed bootinfo -s hdisk9.
Ensure the physical volume is available and try again.
0516-732 chvg: Unable to change volume group u01vg.
the VG has 1... (1 Reply)
Hello, I'm trying to get to the bottom of SAN disk errors we've been seeing.
Server is Sun Fire X4270 M2 running Solaris 10 8/11 u10 X86 since April 2012. SAN HBAs are SG-PCIE2FC-QF8-Z-Sun-branded Qlogic. SAN storage system is Hitachi VSP. We have 32 LUNs in use and another 8 LUNs not brought... (4 Replies)
Discussion started by: TKD
4 Replies
LEARN ABOUT OPENSOLARIS
hba_getbindingsupport
HBA_GetBindingCapability(3HBAAPI) Common Fibre Channel HBA Information Library Functions HBA_GetBindingCapability(3HBAAPI)NAME
HBA_GetBindingCapability, HBA_GetBindingSupport, HBA_SetBindingSupport - return and sets binding capabilities on an HBA port
SYNOPSIS
cc [ flag... ] file... -lHBAAPI [ library... ]
#include <hbaapi.h>
HBA_HANDLE HBA_GetBindingCapability(HBA_HANDLE handle,
HBA_WWN hbaPortWWN, HBA_BIND_CAPABILITY *pFlags);
HBA_STATUS HBA_GetBindingSupport(HBA_HANDLE handle, HBA_WWN
hbaPortWWN, HBA_BIND_CAPABILITY *pFlags);
void HBA_SetBindingSupport(HBA_HANDLE handle, HBA_WWN hbaPortWWN,
HBA_BIND_CAPABILITY Flags);
PARAMETERS
handle an open handle returned from HBA_OpenAdapter(3HBAAPI)
hbaPortWWN the Port WWN of the local HBA through which the binding capabilities implemented by the HBA is returned
pFlags a pointer to an HBA_BIND_CAPABILITY structure that returns the persistent binding capabilites implemented by the HBA
Flags an HBA_BIND_CAPABILITY structure containing the persistent binding capabilites to enable for the HBA
DESCRIPTION
The HBA_GetBindingCapability() function returns the binding capabilities implemented by the HBA.
The HBA_GetBindingSupport() function returns the currently enabled binding capabilities for the HBA.
The HBA_SetBindingSupport() function sets the currently enabled binding capabilites for the HBA to a subset of the binding capabilities
implemented by the HBA.
RETURN VALUES
The HBA_GetBindingCapability() and HBA_GetBindingSupport() functions return the following values:
HBA_STATUS_OK
Persistent binding capabilites have been returned.
HBA_STATUS_ERROR_ILLEGAL_WWN
Port WWN hbaPortWWN is not a WWN contained by the HBA referenced by handle.
HBA_STATUS_ERROR_NOT_SUPPORTED
The HBA handle specified by handle does not support persistent binding.
HBA_STATUS_ERROR
An error occurred. The value of pFlags remains unchanged and points to the persistent binding capabilites.
The HBA_SetBindingSupport() function returns:
HBA_STATUS_OK
Persistent binding capabilites have been enabled.
HBA_STATUS_ERROR_ILLEGAL_WWN
Port WWN hbaPortWWN is not a WWN contained by the HBA referenced by handle.
HBA_STATUS_ERROR_NOT_SUPPORTED
The HBA handle specified by handle does not support persistent binding.
HBA_STATUS_ERROR_INCAPABLE
The flags argument contains a capability not implemented by the HBA.
HBA_STATUS_ERROR
An error occurred.
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 ver- |
| |sion 2) |
+-----------------------------+-------------------------------------+
|MT-Level |Safe |
+-----------------------------+-------------------------------------+
SEE ALSO libhbaapi(3LIB), attributes(5)
T11 FC-MI Specification
SunOS 5.11 1 Sep 2003 HBA_GetBindingCapability(3HBAAPI)