Sponsored Content
Operating Systems Solaris Luxadm display not showing a LUN as expected Post 302976151 by gull04 on Friday 24th of June 2016 10:25:53 AM
Old 06-24-2016
Hi Diego,

Your version of Solaris supports 16364 LUNS (I think), but do you know if there are any restrictions on the HBA's firmware.

It might be worth adding an other LUN if possible to see if the problem is related to that broken LUN only or if it affects any new LUNS as well to check if you have reached some kind of limit - or if the problem lies elsewhere.

Gull04
 

9 More Discussions You Might Find Interesting

1. Solaris

I have LUN ID, how to find disk relate to that LUN ID?

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

2. Solaris

luxadm probe and vxdisk list don't matchup

I have a new SAN (Fujitsu Eternus 2000) and am trying to setup a veritas cluster on it, however veritas does not see all of the vluns I have exposed to the box. The OS does see them though. I have seen a lot of post about this, but it seems they are about people having just the opposite problem... (0 Replies)
Discussion started by: timothy.edwards
0 Replies

3. Solaris

Non-Root mode ... luxadm to show path(s) for Disks

Hi Gurus out there... I am pondering over a situation where I have non-root access (user account), where I am trying to determine paths (including multipaths) on a host. "luxadm display" seems very appropriate, but requires root access. Is there anyway I can get the FC path information? ... (1 Reply)
Discussion started by: verisund
1 Replies

4. Shell Programming and Scripting

Display Error [: : integer expression expected

i have lunix 5.4 i make script to tack the export from database 11g by oracle user the oracle sheel is /bin/bash when run this script display this error ./daily_xport_prod: line 36: the daily_xport_prod script #! /bin/sh # ORACLE_HOME=/u01/appl/oracle/product/11.2.0/db_1 export... (8 Replies)
Discussion started by: m_salah
8 Replies

5. Solaris

SAN/Solaris: luxadm shows NOT CONNECTED

Hi, I have a question regarding HBA configuration. Here are the commands' output: # cfgadm -al | grep fc c1 fc-fabric connected unconfigured unknown c2 fc connected unconfigured unknown c5 ... (11 Replies)
Discussion started by: aixlover
11 Replies

6. Solaris

Mpathadm showing no paths to 1 lun, others luns are fine

Hi, I've noticed that mpathadm states that one of our luns has no active paths: /dev/rdsk/c6t60000970000298700009533031324333d0s2 Total Path Count: 4 Operational Path Count: 4 /dev/rdsk/c6t60000970000298700009533031333037d0s2 ... (3 Replies)
Discussion started by: badoshi
3 Replies

7. Solaris

Luxadm displaying incorrect LUN parameter...

Hello, I have Solaris 10 running on one of rack server with dual port FC card. Each port of FC card is connected to two switches respectively. I have been trying to test multipathing functionality with one of FC Storage. While I have two storage controllers , each connected to the two switches... (0 Replies)
Discussion started by: linuxfreaker
0 Replies

8. Solaris

Issue with luxadm?

Hello, I have Solaris 10 running on one of rack server with dual port FC card. Each port of FC card is connected to two switches respectively. I have been trying to test multipathing functionality with one of FC Storage. While I have two storage controllers , each connected to the two switches... (2 Replies)
Discussion started by: linuxfreaker
2 Replies

9. Solaris

LUn' unmapped from storage still showing on Solaris 10

How can i remove LUN's from solaris 10 those are unmapped from SAN? from storage side i got confirmation that they removed lun. but in my solaris box still it's visible. i tried below. root@globalares2.example.com #luxadm -e offline /dev/rdsk/c2t600D02310007D16C42FF09E24B5B8255d0s2... (7 Replies)
Discussion started by: bentech4u
7 Replies
HBA_SendScsiInquiry(3HBAAPI)		      Common Fibre Channel HBA Information Library Functions		      HBA_SendScsiInquiry(3HBAAPI)

NAME
HBA_SendScsiInquiry, HBA_ScsiInquiryV2, HBA_SendReportLUNs, HBA_ScsiReportLUNsV2, HBA_SendReadCapacity, HBA_ScsiReadCapacityV2 - gather SCSI information from discovered ports SYNOPSIS
cc [ flag... ] file... -lHBAAPI [ library... ] #include <hbaapi.h> HBA_STATUS HBA_SendScsiInquiry(HBA_HANDLE handle, HBA_WWN PortWWN, HBA_UINT64 fcLUN, HBA_UINT8 EVPD, HBA_UINT32 PageCode, void *pRspBuffer, HBA_UINT32 RspBufferSize, void *pSenseBuffer, HBA_UINT32 SenseBufferSize); HBA_STATUS HBA_ScsiInquiryV2(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_WWN discoveredPortWWN, HBA_UINT64 fcLUN, HBA_UINT8 CDB_BYTE1, HBA_UINT8 CDB_BYTE2, void *pRspBuffer, HBA_UINT32 *pRspBufferSize, HBA_UINT8 *pScsiStatus, void *pSenseBuffer, HBA_UINT32 *pSenseBuffer- Size); HBA_STATUS HBA_SendReportLUNs(HBA_HANDLE handle, HBA_WWN PortWWN, void *pRspBuffer, HBA_UINT32 RspBufferSize, void *pSenseBuffer, HBA_UINT32 SenseBufferSize); HBA_STATUS HBA_ScsiReportLUNsV2(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_WWN discoveredPortWWN, void *pRspBuffer, HBA_UINT32 *pRspBuffer- Size, HBA_UINT8 *pScsiStatus, void *pSenseBuffer, HBA_UINT32 *pSenseBufferSize); HBA_STATUS HBA_SendReadCapacity(HBA_HANDLE handle, HBA_WWN PortWWN, HBA_UINT64 fcLUN, void *pRspBuffer, HBA_UINT32 RspBufferSize, void *pSenseBuffer, HBA_UINT32 SenseBufferSize); HBA_STATUS HBA_ScsiReadCapacityV2(HBA_HANDLE handle, HBA_WWN hbaPortWWN, HBA_WWN discoveredPortWWN, HBA_UINT64 fcLUN, void *pRspBuffer, HBA_UINT32 *pRspBufferSize, HBA_UINT8 *pScsiStatus, void *pSenseBuffer, HBA_UINT32 *pSenseBufferSize); PARAMETERS
handle an open handle returned from HBA_OpenAdapter(3HBAAPI) PortWWN the port WWN of the discovered remote device to which the command is sent hbaPortWWN HBA_ScsiInquiryV2() the Port WWN of the local HBA through which the SCSI INQUIRY command is issued HBA_ScsiReportLUNsV2() the Port WWN of the local HBA through which the SCSI REPORT LUNS command is issued HBA_ScsiReadCapacityV2() the Port WWN of a local HBA through which the SCSI READ CAPACITY command is issued discoveredPortWWN HBA_ScsiInquiryV2() the Remote Port WWN to which the SCSI INQUIRY command is being sent HBA_ScsiReportLUNsV2() the Remote Port WWN to which the SCSI REPORT LUNS command is sent HBA_ScsiReadCapacityV2() the Remote Port WWN to which the SCSI READ CAPACITY command is sent fcLUN the FCP LUN as defined in the T10 specification SAM-2 to which the command is sent EVPD If set to 0, indicates a Standard Inquiry should be returned. If set to 1, indicates Vital Product Data should be returned. PageCode If EVPD is set to 1, PageCode indicates which Vital Product Data page should be returned. CDB_Byte1 the second byte of the CDB for the SCSI INQUIRY command CDB_Byte2 the third byte of the CDB for the SCSI INQUIRY command pRspBuffer a buffer in which to store the response payload RspBufferSize the size of the response buffer pRspBufferSize a pointer to the size of the response buffer pScsiStatus a buffer to receive SCSI sense data pSenseBuffer a buffer in which to store any SCSI sense data SenseBufferSize the size of the sense buffer pSenseBufferSizea pointer to the size of the sense buffer DESCRIPTION
The HBA_SendScsiInquiry() and HBA_SendScsiInquiryV2() functions send a SCSI Inquiry command as defined in the T10 specification SPC-2 to a remote FCP port. The HBA_SendReportLUNs() and HBA_SendReportLUNsV2() functions send a SCSI Report LUNs command as defined in the T10 specification SPC-2 to a remote FCP port. The HBA_SendReadCapacity() and HBA_SendReadCapacityV2() functions end a SCSI Read Capacity command as defined in the T10 specification SBC-2 to a remote FCP port. RETURN VALUES
The HBA_SendScsiInquiry() function returns the following value: HBA_STATUS_OK The command has completed. Success or failure should be determined by verifying that the sense data does not contain a check-condition. If a check-condition is present, the content of pRspBuffer is undefined. The HBA_ScsiInquiryV2() function returns the following values: HBA_STATUS_OK The command has completed. The complete payload of the SCSI INQUIRY command is returned in pRspBuffer. HBA_STATUS_ERROR_ILLEGAL_WWN The port WWN hbaPortWWN is not a WWN contained by the HBA specified by handle. HBA_STATUS_ERROR_NOT_A_TARGET The identified remote Port does not have SCSI Target functionality. HBA_STATUS_ERROR_TARGET_BUSY The command cannot be sent due to a SCSI overlapped command condition. HBA_STATUS_ERROR An error occurred. The HBA_SendReportLUNs() function returns the following values: HBA_STATUS_OK The command has completed. Success or failure should be determined by verifying the sense data does not contain a check-condition. If a check-condition is present, the content of pRspBuffer is undefined. HBA_STATUS_SCSI_CHECK_CONDITION The HBA detected a check-condition state. Details are present in the pSenseBuffer payload. The content of pRspBuffer is undefined. Not all VSLs support this error condition. Other error values indicate the content of pRspBuffer is undefined. In some cases, the pSenseBuffer can contain sense data. The HBA_SendReportLUNsV2() function returns the following values: HBA_STATUS_OK The command has completed. Sense data must be verified to ensure that it does not contain a check-condition to determine success. If a check-condition is present, the content of pRspBuffer is undefined. HBA_STATUS_ERROR_ILLEGAL_WWN The port WWN hbaPortWWN is not a WWN contained by the HBA specified by handle. HBA_STATUS_ERROR_NOT_A_TARGET The identified remote Port does not have SCSI Target functionality. HBA_STATUS_ERROR_TARGET_BUSY The command cannot be sent due to a SCSI overlapped command condition. HBA_STATUS_ERROR An error occurred. The HBA_SendReadCapacity() function returns the following values: HBA_STATUS_OK The command has completed. Success or failure should be determined by verifying that the sense data does not contain a check-condition. If a check-condition is present, the content of pRspBuffer is undefined. HBA_STATUS_SCSI_CHECK_CONDITION The HBA detected a check-condition state. Details are present in the pSenseBuffer payload. The content of pRspBuffer is undefined. Not all VSLs support this error condition. Other error values indicate the content of pRspBuffer is undefined. In some cases, the pSenseBuffer can contain sense data. The HBA_ScsiReadCapacityV2() function returns the following values: HBA_STATUS_OK The command has completed. Sense data must be verified to ensure that it does not contain a check-condition to determine success. If a check-condition is present, the content of pRspBuffer is undefined. HBA_STATUS_ERROR_ILLEGAL_WWN The port WWN hbaPortWWN is not a WWN contained by the HBA specified by handle. HBA_STATUS_ERROR_NOT_A_TARGET The identified remote Port does not have SCSI Target functionality. HBA_STATUS_ERROR_TARGET_BUSY The command cannot be sent due to a SCSI overlapped command condition. HBA_STATUS_ERROR An error occurred. Other error values indicate the content of pRspBuffer is undefined. In some cases, the pSenseBuffer can contain sense data. ERRORS
See libhbaapi(3LIB) for general error status values. EXAMPLES
Example 1: Send a SCSI inquiry to the given discovered Target port WWN. The following example sends a SCSI inquiry to the given discovered Target port WWN. memset(&inq, 0, sizeof (inq)); memset(&sense, 0, sizeof (sense)); if ((status = HBA_SendScsiInquiry(handle, discPortAttrs.PortWWN, 0, 0, 0, &inq, sizeof (inq), &sense, sizeof (sense))) != HBA_STATUS_OK) { fprintf(stderr, "Unable to send SCSI " "inquiry, reason %d ", status); continue; } printf(" Vendor: %.*s ", 8, inq.inq_vid); printf(" Model: %.*s ", 16, inq.inq_pid); 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_OpenAdapter(3HBAAPI), libhbaapi(3LIB), attributes(5) T11 FC-MI Specification BUGS
The HBA_SendScsiInquiry(), HBA_SendReportLUNs(), and HBA_SendReadCapacity() functions do not take a portindex to define through which port of a multi-ported HBA the command should be sent. The behavior on multi-ported HBAs is vendor-specific and can result in the command being sent through the first HBA port, the first HBA port the given PortWWN is connected to, or other vendor-specific behavior. SNIA version 2 defines HBA_ScsiInquiryV2(), HBA_ScsiReportLUNs(), and HBA_ScsiReadCapacity() to take a Port WWN as an argument. This fixes the bug with multi-ported HBAs in HBA_ScsiInquiry(), HBA_SendReportLUNs(), and HBA_SendReadCapacity(). SunOS 5.10 1 Sep 2003 HBA_SendScsiInquiry(3HBAAPI)
All times are GMT -4. The time now is 10:34 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy