Sponsored Content
Full Discussion: SAN Connected RedHat Server
Operating Systems Linux Red Hat SAN Connected RedHat Server Post 302172672 by sallender on Tuesday 4th of March 2008 12:25:31 PM
Old 03-04-2008
Ok, I notice quite a few views, but no replies.

I know for a fact this info now. In the proc tables under the /proc/scsi/qla2300 directory there are directories for each HBA port of the two cards - 3, 4, 5, 6.

By performing cat on each subdir, I get the info that I can use to correlate with what is currently logged into my SAN Switch.



[root@thishost root]# cat /proc/scsi/qla2300/3

QLogic PCI to Fibre Channel Host Adapter for QLA2462:
Firmware version: 4.00.18, Driver version 7.07.04b6
Entry address = ffffffffa006d0c0

Request Queue = 0x6b0000, Response Queue = 0x6a0000
Request Queue count= 512, Response Queue count= 512
Total number of active commands = 0
Total number of interrupts = 35
Total number of active IP commands = 0
Total number of IOCBs (used/max) = (0/0)
Total number of queued commands = 0
Device queue depth = 0x20
Number of free request entries = 511
Number of mailbox timeouts = 0
Number of ISP aborts = 0
Number of loop resyncs = 0
Number of retries for empty slots = 0
Number of reqs in pending_q= 0, retry_q= 0, done_q= 0, scsi_retry_q= 0
Host adapter:loop state= <READY>, flags= 0x70013
Dpc flags = 0x0
MBX flags = 0x0
SRB Free Count = 4096
Link down Timeout = 030
Port down retry = 030
Login retry count = 030
Commands retried with dropped frame(s) = 0
Configured data rate: 4 Gb/sec


SCSI Device Information:
scsi-qla0-adapter-node=2000001b320507ac;
scsi-qla0-adapter-port=2100001b320507ac;

SCSI LUN Information:
(Id:Lun) * - indicates lun is not registered with the OS.


If anyone has anything else to add, help me out! thanks!

Last edited by sallender; 03-04-2008 at 01:34 PM..
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

how to know how many user's connected to ftp and http server

i need to write a program to know how many users are presently connected to my ftp server and http server . i need to keep a count of this and this count should be available to other different software . how to make this GLOBAL so that other softwares can access this count value (7 Replies)
Discussion started by: hariprasad
7 Replies

2. Solaris

2 x HBA, connected to a SAN, but no Multi path software - What happens ?

Hi there Now, Ive always support servers that used multi path software with dual cards, e.g. powerpath (emc ) / MPXIO. I got asked a question today, that if a solaris 8/9/10 host had 2 HBA cards, but no multipathing software, what would happen ?? Does the HBA card with the highest id on the... (2 Replies)
Discussion started by: sbk1972
2 Replies

3. UNIX for Dummies Questions & Answers

a lot of Buffer I/O error on device connected to SAN

hi guys I have a server(x3650 M2) connected to a SAN...it takes a long time to boot with a lot errors like these any idea how to fix that? Suse Enterprise 10 SP3 update as soon as I disconnect the HBAs boots up normal and fast and no messages sdi:end_request: I/O error, dev sdh,... (0 Replies)
Discussion started by: kopper
0 Replies

4. Solaris

ALOM wont work when KVM connected to Sun Fire V440 server

Hi, I was asked to connect a KVM screen to a Sun Fire V440 last night so I connected it up but no joy and nothing on the KVM screen. I was told that a reboot may fix the problem so connected to the ALOM and rebooted. On the plus side, the KVM screen now works but I lost the ALOM connection. ... (0 Replies)
Discussion started by: jimmy54321
0 Replies

5. Red Hat

San Basics for Redhat

Hi All, Need few answers 1) How to check HBA Card in rhel4/5/6. 2) How to HBA is faulty? 3) How to replace an HBA ? 4) How to reconfigure an HBA (3 Replies)
Discussion started by: Devendra.Sachde
3 Replies

6. 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

7. Solaris

Command see all devices connected to Sun server

Hi All, How to view all devices connected to Sun E2900. I wan to view all components attached to it. Please help Regards, NSkumar (3 Replies)
Discussion started by: nskumar
3 Replies

8. Shell Programming and Scripting

Unix server to Hard-drive connected on the machine

Hi, I have an external hard drive connected to my iMac. I am logged into a Linux_x86_64 server. Now, if I want to download files directly to the hard drive, is there a way to do it. Currently, I am chasing cyberduck to download content to the hard drive. (3 Replies)
Discussion started by: jacobs.smith
3 Replies

9. Red Hat

Redhat server is not connected via putty

i have a redhat linux 5.3 machine. i can ping that machine remotely from my laptop. but when i connect that server via putty after providing username and password there is wait for some minutes and then i get error message "server unexpectedly closed network connection" Please guide... (2 Replies)
Discussion started by: rehantayyab82
2 Replies

10. UNIX for Beginners Questions & Answers

Sun Ray 3 UNIX Lab not connected to Solaris 10 Server

All 30 of my students in the Linux Lab here at school have the same message showing on their screen when they try to log into the server. How can we Authenticate the Server and fix the missing specific parameters on the Solaris Server to fix this issue ?? (6 Replies)
Discussion started by: mwilliams21z
6 Replies
isp(7D) 							      Devices								   isp(7D)

NAME
isp - ISP SCSI Host Bus Adapter Driver SYNOPSIS
Sbus QLGC,isp@sbus-slot,10000 PCI SUNW,isptwo@pci-slot DESCRIPTION
The ISP Host Bus Adapter is a SCSA compliant nexus driver that supports the Qlogic ISP1000 SCSI and the ISP1040B SCSI chips. The ISP1000 chip works on SBus and the ISP1040B chip works on PCI bus. The ISP is an intelligent SCSI Host Bus Adapter chip that reduces the amount of CPU overhead used in a SCSI transfer. The isp driver supports the standard functions provided by the SCSA interface. The driver supports tagged and untagged queuing, fast and wide SCSI, and auto request sense, but does not support linked commands. The PCI version ISP Host bus adapter based on ISP1040B also sup- ports Fast-20 scsi devices. CONFIGURATION
The isp driver can be configured by defining properties in isp.conf which override the global SCSI settings. Supported properties are scsi-options, target<n>-scsi-options, scsi-reset-delay, scsi-watchdog-tick, scsi-tag-age-limit, scsi-initiator-id, and scsi-selection-time- out. target<n>-scsi-options overrides the scsi-options property value for target<n>. <n> is a hex value that can vary from 0 to f. Refer to scsi_hba_attach(9F) for details. Both the ISP1000 and ISP1040B support only certain SCSI selection timeout values. The valid values are 25, 50, 75, 100, 250, 500, 750 and 1000. These properties are in units of milliseconds. EXAMPLES
Example 1: SCSI Options Create a file called /kernel/drv/isp.conf and add this line: scsi-options=0x78; This will disable tagged queuing, fast SCSI, and Wide mode for all isp instances. The following will disable an option for one specific ISP (refer to driver.conf(4)): name="isp" parent="/iommu@f,e0000000/sbus@f,e0001000" reg=1,0x10000,0x450 target1-scsi-options=0x58 scsi-options=0x178 scsi-initiator-id=6; Note that the default initiator ID in OBP is 7 and that the change to ID 6 will occur at attach time. It may be preferable to change the initiator ID in OBP. The above would set scsi-options for target 1 to 0x58 and for all other targets on this SCSI bus to 0x178. The physical pathname of the parent can be determined using the /devices tree or following the link of the logical device name: example# ls -l /dev/rdsk/c2t0d0s0 lrwxrwxrwx 1 root root 76 Aug 22 13:29 /dev/rdsk/c2t0d0s0 -> ../../devices/iommu@f,e0000000/sbus@f,e0001000/QLGC,isp@1,10000/sd@0,0:a,raw Determine the register property values using the output of prtconf(1M) with the -v option: QLGC,isp, instance #0 ... Register Specifications: Bus Type=0x1, Address=0x10000, Size=450 Example 2: ISP Properties The isp driver exports properties indicating per target the negotiated transfer speed (target<n>-sync-speed), whether tagged queuing has been enabled (target<n>-TQ), and whether the wide data transfer has been negotiated (target<n>-wide). The sync-speed property value is the data transfer rate in KB/sec. The target-TQ and target-wide properties have no value. The existence of these properties indicate that tagged queuing or wide transfer has been enabled. Refer to prtconf(1M) (verbose option) for viewing the isp properties. QLGC,isp, instance #2 Driver software properties: name <target0-TQ> length <0> -- <no value>. name <target0-wide> length <0> -- <no value>. name <target0-sync-speed> length <4> value <0x000028f5>. name <scsi-options> length <4> value <0x000003f8>. name <scsi-watchdog-tick> length <4> value <0x0000000a>. name <scsi-tag-age-limit> length <4> value <0x00000008>. name <scsi-reset-delay> length <4> value <0x00000bb8>. Example 3: PCI Bus To achieve the same setting of SCSI-options as in instance #0 above on a PCI machine, create a file called /kernel/drv/isp.conf and add the following entries. name="isp" parent="/pci@1f,2000/pci@1" unit-address="4" scsi-options=0x178 target3-scsi-options=0x58 scsi-initiator-id=6; The physical pathname of the parent can be determined using the /devices tree or following the link of the logical device name: To set scsi-options more specifically per device type, add the following line in the /kernel/drv/isp.conf file: device-type-scsi-options-list = "SEAGATE ST32550W", "seagate-scsi-options" ; seagate-scsi-options = 0x58; All device which are of this specific disk type will have scsi-options set to 0x58. scsi-options specified per target ID has the highest precedence, followed by scsi-options per device type. Global (for all isp instances) scsi-options per bus has the lowest precedence. The system needs to be rebooted before the specified scsi-options take effect. Example 4: Driver Capabilities The target driver needs to set capabilities in the isp driver in order to enable some driver features. The target driver can query and modify these capabilities: synchronous, tagged-qing, wide-xfer, auto-rqsense, qfull-retries, qfull-retry-interval. All other capabilities can only be queried. By default, tagged-qing, auto-rqsense, and wide-xfer capabilities are disabled, while disconnect, synchronous, and untagged-qing are enabled. These capabilities can only have binary values (0 or 1). The default values for qfull-retries and qfull-retry-interval are both 10. The qfull-retries capability is a uchar_t (0 to 255) while qfull-retry-interval is a ushort_t (0 to 65535). The target driver needs to enable tagged-qing and wide-xfer explicitly. The untagged-qing capability is always enabled and its value can- not be modified, because isp can queue commands even when tagged-qing is disabled. Whenever there is a conflict between the value of scsi-options and a capability, the value set in scsi-options prevails. Only whom != 0 is supported in the scsi_ifsetcap(9F) call. Refer to scsi_ifsetcap(9F) and scsi_ifgetcap(9F) for details. FILES
/kernel/drv/isp ELF Kernel Module /kernel/drv/isp.conf Configuration file ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Architecture |SPARC | +-----------------------------+-----------------------------+ SEE ALSO
prtconf(1M), driver.conf(4), attributes(5), scsi_abort(9F), scsi_hba_attach(9F), scsi_ifgetcap(9F), scsi_reset(9F), scsi_transport(9F), scsi_device(9S), scsi_extended_sense(9S), scsi_inquiry(9S), scsi_pkt(9S) Writing Device Drivers ANSI Small Computer System Interface-2 (SCSI-2) QLogic Corporation, ISP1000 Firmware Interface Specification QLogic Corporation, ISP1020 Firmware Interface Specification QLogic Corporation, ISP1000 Technical Manual QLogic Corporation, ISP1020a/1040a Technical Manual QLogic Corporation, Differences between the ISP1020a/1040a and the ISP1020B/1040B - Application Note DIAGNOSTICS
The messages described below may appear on the system console as well as being logged. The first set of messages may be displayed while the isp driver is first trying to attach. All of these messages mean that the isp driver was unable to attach. These messages are preceded by "isp<number>", where "<number>" is the instance number of the ISP Host Bus Adapter. Device in slave-only slot, unused The SBus device has been placed in a slave-only slot and will not be accessible; move to non-slave-only SBus slot. Device is using a hilevel intr, unused The device was configured with an interrupt level that cannot be used with this isp driver. Check the device. Failed to alloc soft state Driver was unable to allocate space for the internal state structure. Driver did not attach to device; SCSI devices will be inaccessi- ble. Bad soft state Driver requested an invalid internal state structure. Driver did not attach to device; SCSI devices will be inaccessible. Unable to map registers Driver was unable to map device registers; check for bad hardware. Driver did not attach to device; SCSI devices will be inaccessible. Cannot add intr Driver was not able to add the interrupt routine to the kernel. Driver did not attach to device; SCSI devices will be inaccessible. Unable to attach Driver was unable to attach to the hardware for some reason that may be printed. Driver did not attach to device; SCSI devices will be inaccessible. The next set of messages can be displayed at any time. They will be printed with the full device pathname followed by the shorter form described above. Firmware should be < 0x<number> bytes Firmware size exceeded allocated space and will not download firmware. This could mean that the firmware was corrupted somehow. Check the isp driver. Firmware checksum incorrect Firmware has an invalid checksum and will not be downloaded. Chip reset timeout ISP chip failed to reset in the time allocated; may be bad hardware. Stop firmware failed Stopping the firmware failed; may be bad hardware. Load ram failed Unable to download new firmware into the ISP chip. DMA setup failed The DMA setup failed in the host adapter driver on a scsi_pkt. This will return TRAN_BADPKT to a SCSA target driver. Bad request pkt The ISP Firmware rejected the packet as being set up incorrectly. This will cause the isp driver to call the target completion routine with the reason of CMD_TRAN_ERR set in the scsi_pkt. Check the target driver for correctly setting up the packet. Bad request pkt header The ISP Firmware rejected the packet as being set up incorrectly. This will cause the isp driver to call the target completion routine with the reason of CMD_TRAN_ERR set in the scsi_pkt. Check the target driver for correctly setting up the packet. Polled command timeout on <number>.<number> A polled command experienced a timeout. The target device, as noted by the target lun (<number>.<number>) information, may not be responding correctly to the command, or the ISP chip may be hung. This will cause an error recovery to be initiated in the isp driver. This could mean a bad device or cabling. SCSI Cable/Connection problem Hardware/Firmware error The ISP chip encountered a firmware error of some kind. The problem is probably due to a faulty scsi cable or improper cable connec- tion. This error will cause the isp driver to do error recovery by resetting the chip. Received unexpected SCSI Reset The ISP chip received an unexpected SCSI Reset and has initiated its own internal error recovery, which will return all the scsi_pkt with reason set to CMD_RESET. Fatal timeout on target <number>.<number> The isp driver found a command that had not completed in the correct amount of time; this will cause error recovery by the isp driver. The device that experienced the timeout was at target lun (<number>.<number>). Fatal error, resetting interface This is an indication that the isp driver is doing error recovery. This will cause all outstanding commands that have been trans- ported to the isp driver to be completed via the scsi_pkt completion routine in the target driver with reason of CMD_RESET and sta- tus of STAT_BUS_RESET set in the scsi_pkt. SunOS 5.10 12 Jan 1998 isp(7D)
All times are GMT -4. The time now is 04:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy