Sponsored Content
Operating Systems Solaris How to enable hba port of a two port hba card Post 302498515 by scorpionzoe on Monday 21st of February 2011 03:12:38 PM
Old 02-21-2011
Yes there is a useful command :

# cfgadm -a [to see the appropriate port to enable]
You can use the man to get the help but in all cases if the cards have been disabled you can enable'em:
# cfgadm -c connect name_of_port
# cfgadm -c configure name_of_port
The man pages in the top of the page, they are very useful for thorough details.
 

10 More Discussions You Might Find Interesting

1. Solaris

HBA Card

Hello...I got a problem here. I have HBAs installed in one of the domains in E20 and I gotta find out the brand and firmware. But when I do a prtconf, I cannot see the HBA. For other servers installed with HBAs, when I do prtconf on them I can see either qlc or em. Can you guys enlighten me how to... (5 Replies)
Discussion started by: xiaochensg
5 Replies

2. AIX

Need HBA card driver

Hi All, SUN emulex HBA card has been installed on P520 box. When i run the cfgmgr i am getting the following message. lpar2#cfgmgr cfgmgr: 0514-621 WARNING: The following device packages are required for device support but are not currently installed.... (0 Replies)
Discussion started by: b_manu78
0 Replies

3. IP Networking

4GB Dual Port HBA

I have one 4GB, dual port HBA. Is each port rated for 4GB, or is it the whole HBA rated for 4GB? Also, how do I determine which is port0 / port1 with "lscfg -vl fcs0" command. Thanks. (0 Replies)
Discussion started by: jwholey
0 Replies

4. Solaris

Solaris 10. fcinfo hba-port shows adapter not Found

I understand that fcinfo hba-port should show information(WWN, HBA vendor, etc..) but my result show "No adapter found". If I used grep -i 'version' /var/adm/messages* then I see my installed HBA (QLogic FCode at 2.00.09).. I am wondering why and what I had failed to install? Thanks in advance.... (23 Replies)
Discussion started by: Y4Net
23 Replies

5. Solaris

Few things related to HBA port & fcinfo command

Hi Gurus I need to know few things related to HBA port & fcinfo command I have a server where there are 4 HBA ports cards are their. Out of 4 ports 2 are in use & 2 are not in use when I check it physicall. Now I want to know the command through which I can get information about all above... (6 Replies)
Discussion started by: girish.batra
6 Replies

6. Solaris

How to enable Serial port on ILOM, when Network Port is enabled in parallel

Hi Everyone, In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies

7. Solaris

Which FC HBA card support Solaris9

I have JNI FCE-6460-N fc card , it is detected in OK prompt.....I connected Sun StorEDGE A5000 FC storage. in OK prompt, PROBE-SCSI-ALL showing A5000 fc hdds details in ok prompt..... but in OS level.....not showing the hdd, i tried in DEVFSADM command and FORMAT command not showing A5000... (3 Replies)
Discussion started by: anysystem
3 Replies

8. Red Hat

HBA card faulty

Hi, How to determine if HBA card in getting faulty from linux host ? any pointers. (2 Replies)
Discussion started by: saurabh84g
2 Replies

9. Solaris

How to find port number wwn of particular port on dual port HBA,?

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

10. Solaris

Solaris 10: how to disable an unused HBA card

Dear all, I have a new Oracle Blade X4-2B server, running Solaris 10. The server comes with a HBA card that will not be used now. It has not fibers connected to it. As a consequence, its leds never stop flashing. My question is: how to disable this HBA card, without removing it physically... (2 Replies)
Discussion started by: Gus1971
2 Replies
cfgadm_sdcard(1M)					  System Administration Commands					 cfgadm_sdcard(1M)

NAME
cfgadm_sdcard - SD/MMC hardware-specific commands for cfgadm SYNOPSIS
/usr/sbin/cfgadm [-f] [-y | -n] [-o hardware_options] -c function ap_id[...] /usr/sbin/cfgadm [-f] [-y | -n] [-o hardware_options] -c hardware_function ap_id[...] /usr/sbin/cfgadm [-v] [-a] [-s listing_options] [-o hardware_options] [-l [ap_id | ap_type[...]]] /usr/sbin/cfgadm [-v] [-o hardware_options] -h [ap_id[...]] DESCRIPTION
The Secure Digital (SD) and MultiMediaCard (MMC) hardware specific library, /usr/lib/cfgadm/sdcard.so.1, provides the functionality for SD/MMC hot-plugging through the cfgadm(1M) command. The cfgadm command operates on attachment points, which are locations in the system where hardware resources can be dynamically reconfigured. See cfgadm(1M) for information on attachment points. Each SD/MMC slot is represented by an attachment point in the device tree. Card devices that are connected and configured in the system are shown as attachment point name extensions. The terms "attachment point" and "SD/MMC slot" are used interchangeably throughout this manpage. Attachment points are named through ap_ids. All SD/MMC attachment points consist of a string in the following form: sdcardX/[S][::dsk/cXtYd0] Where: X is the SD/MMC controller number. S is the slot number on the controller (0 to 8). dev/cXtYd0 identifies the inserted memory card. Y is a target number. In general, the device identifier is derived from the corresponding logical link for the device in /dev. Because only one LUN (LUN 0) is supported by the SD/MMC device, the "d" component of the device string will always have number 0 (zero). For example, the logical ap_id of slot 4 of SD/MMC controller 2 would be sdcard2/4. If the SD/MMC media card is inserted in this attachment point and the device is config- ured, the ap_id might be sdcard2/4::dsk/c2t0d0. The cXtYd0 string identifying a device has one-to-one correspondence to the device attachment point. A simple listing of attachment points in the system includes all SD/MMC device slots and attached devices. For example: #cfgadm -l Ap_Id Type Receptacle Occupant Condition sdcard0/0::dev/c2t0d0 sdcard connected configured ok sata0/1::dev/c0t1d0 disk connected configured ok sata0/2::dev/c0t2d0 cd-dvd connected configured ok sata0/3 sata-port empty unconfigured ok usb0/1 unknown empty unconfigured ok usb0/2 unknown empty unconfigured ok See cfgadm(1M) for more information regarding listing of attachment points. The receptacle state for an attachment point at the SD/MMC slot has the following meanings: empty The SD/MMC slot is powered-on and enabled. No device presence was detected for this slot. disconnected The SD/MMC slot is not enabled, or the SD/MMC device presence was detected but no communication with the device was established, or the slot has failed. connected The SD/MMC device is detected in the slot and device communication is established. The occupant (device inserted in the SD/MMC slot) state has the following meanings: configured The attached SD/MMC device is configured and ready to use by the operating system. unconfigured No device is attached, or the SD/MMC device inserted in the SD/MMC slot is not yet configured. To configure, run the command cfgadm -c configure ap_id. The attachment point (SD/MMC slot) condition has the following meanings: ok The SD/MMC slot is powered-on, enabled and ready for use. failed The SD/MMC slot failed. It may be disabled and/or powered-off by the system. It is unusable and its condition is unknown. The failure may be due to the device inserted in the slot. unknown The SD/MMC slot is disabled and its condition is unknown. OPTIONS
The cfgadm command defines several types of operations besides listing (-l). These operations include invoking configuration state changes (-c), invoking hardware specific functions (-x), and obtaining configuration administration help messages (-h). -c: For SD/MMC slot attachment points, the following configuration state change operations are supported: connect Enable (activate) the SD/MMC slot and establish the communication with an attached device. This operation implies powering-on the slot if necessary. disconnect Unconfigure the inserted device if it is not already unconfigured and disable (deactivate) the SD/MMC slot. A subsequent "connect" command enables SD/MMC slot operation but does not bring a device to the "configured" state. The following state change operations are supported for an SD/MMC card inserted in to the SD/MMC slot: configure Configure new device for use by the operating system if it is not already configured. This command also implies connect opera- tion, if necessary. unconfigure Unconfigure the device inserted in the SD/MMC slot if it is not already unconfigured. -f : Not supported. -h ap_id: SD/MMC specific help can be obtained by using the help option with any SD/MMC attachment point. -l [-v]: The -l option works as described in cfgadm(1M). When paired with the -v option, the "Information" field contains the follow- ing SD/MMC-specific information: Mod: product model string Rev: product revision number (major.minor) Date: month and year of manufacture SN: product serial number (hexadecimal) -o hardware_options -- No hardware specific options are currently defined. -s listing_options: Attachment points of class SD/MMC can be listed by using the select suboption. See cfgadm(1M). -t ap_id: Self-test functionality. Not supported by SD/MMC slots. -x hardware_function: Perform hardware specific function. sdcard_reset_slot ap_idindicates reset of the SD/MMC slot specified by ap_id. If an SD/MMC device is inserted in the slot, it is also reset. -v: Execute in verbose mode. EXAMPLES
Example 1 - Configuring an SD/MMC card: The following command configures a card attached to SD/MMC controller 0, slot 0. It should be issued only when there is a device inserted in the SD/MMC slot. # cfgadm -c configure sdcard0/0 Example 2 - Unconfiguring an SD/MMC card: The following command unconfigures a card inserted in SD/MMC controller 0, slot 3: # cfgadm -c unconfigure sdcard0/3 Example 3 -- Encountering a mounted file system while unconfiguring a disk: The following command illustrates encountering a mounted file system while unconfiguring a disk: # cfgadm -c unconfigure sdcard1/5::dsk/c01t35d0 The system responds with the following: cfgadm: Component system is busy, try again: failed to offline: /devices/pci@0,0/pci8086,244e@1e/pci1095,3124@1/sd@5,0 Resource Information ------------------ -------------------------- /dev/dsk/c1t5d0s0 mounted filesystem "/mnt" FILES
/usr/lib/cfgadm/sdcard.so.1 Hardware specific library for generic SD/MMC hot plugging. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsl | +-----------------------------+-----------------------------+ SEE ALSO
cfgadm(1M), config_admin(3CFGADM), libcfgadm(3LIB), attributes(5), sda(7D), sdcard(7D), sdhost(7D) NOTES
Under normal operation, SD/MMC media cards are automatically configured when a card is inserted. Most administrators do not find it neces- sary to use this command under normal use. Removing an SD/MMC card without first unconfiguring it may result in data loss if the device is being written to when it's being removed. Devices that are mounted read-only can be safely removed at any time. Devices that have filesystems other than pcfs(7FS) on them should always be explicitly unconfigured before removal. SunOS 5.11 28 Feb 2008 cfgadm_sdcard(1M)
All times are GMT -4. The time now is 03:16 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy