How to reset Host Bus Adapter on Linux/Unix


Use the following method to offline/online or scan the specific HBA. This can be done without reloading the HBA module, nor rebooting the system.Let's check  How to reset  Host Bus Adapter?

Oracle Solaris

• Identify the HBA which needs to reset or scan
 

#luxadm -e port
/devices/pci@0/pci@0/pci@8/pci@0/pci@9/SUNW,emlxs@0/fp@0,0:devctl NOT CONNECTED
/devices/pci@0/pci@0/pci@8/pci@0/pci@a/SUNW,emlxs@0/fp@0,0:devctl NOT CONNECTED
#fcinfo hba-port
HBA Port WWN: 10000000c977600a >>WWN number can be a parameter to find out which HBA
OS Device Name: /dev/cfg/c2
Manufacturer: Emulex
Model: LPe11000-S
Firmware Version: 2.72a2 (Z3D2.72A2)
FCode/BIOS Version: Boot:5.02a1 Fcode:1.50a9
Serial Number: 0999BG0-082200032S
Driver Name: emlxs
Driver Version: 2.60k (2011.03.24.16.45)
Type: unknown
State: offline
Supported Speeds: 1Gb 2Gb 4Gb
Current Speed: not established
Node WWN: 20000000c977600a
#ls -ld /dev/cfg/c2|awk ‘{print $11}’
../../devices/pci@0/pci@0/pci@8/pci@0/pci@9/SUNW,emlxs@0/fp@0,0:fc
#luxadm -e port|grep pci@8/pci@0/pci@9/SUNW,emlxs@0/fp
/devices/pci@0/pci@0/pci@8/pci@0/pci@9/SUNW,emlxs@0/fp@0,0:devctl NOT CONNECTED


• Reset HBA
 

#luxadm -e forcelip /devices/pci@0/pci@0/pci@8/pci@0/pci@9/SUNW,emlxs@0/fp@0,0:devctl



LINUX

• Identify the HBA which need to reset or scan
 

# cat /sys/class/fc_host/host3/port_name
0x50014380186a5cex


• Reset HBA
 

#echo 1 > /sys/class/fc_host/host3/issue_lip


HP-UX

• Identify the HBA which need to reset or scan
 

#ioscan -funC fc
Class I H/W Path Driver S/W State H/W Type Description
======================================================================
fc 0 32/0/2/0/0/0/0 fcd CLAIMED INTERFACE HP AH401A 8Gb Dual Port PCIe Fibre Channel Adapter (FC Port 1)
/dev/fcd0
fc 1 32/0/2/0/0/0/1 fcd CLAIMED INTERFACE HP AH401A 8Gb Dual Port PCIe Fibre Channel Adapter (FC Port 2)
/dev/fcd1
fc 2 32/0/2/2/0/0/0 fcd CLAIMED INTERFACE HP AH401A 8Gb Dual Port PCIe Fibre Channel Adapter (FC Port 1)
#fcmsutil /dev/fcd0
Vendor ID is = 0x1077
Device ID is = 0x2532
PCI Sub-system Vendor ID is = 0x103C
PCI Sub-system ID is = 0x3263
PCI Mode = PCI Express x4
ISP Code version = 5.6.7
ISP Chip version = 2
Topology = PTTOPT_FABRIC
Link Speed = 8Gb
Local N_Port_id is = 0x011500
Previous N_Port_id is = None
N_Port Node World Wide Name = 0x50014380062e5f55
N_Port Port World Wide Name = 0x50014380062e5f54
Switch Port World Wide Name = 0x200100053328dedc
Switch Node World Wide Name = 0x100000053328dedc
N_Port Symbolic Port Name = TEST_fcd0
N_Port Symbolic Node Name = TEST_HP-UX_B.11.31
Driver state = ONLINE
Hardware Path is = 32/0/2/0/0/0/0
Maximum Frame Size = 2048
Driver-Firmware Dump Available = NO
Driver-Firmware Dump Timestamp = N/A
TYPE = PFC
NPIV Supported = YES
Driver Version = @(#) fcd B.11.31.1407 Jul 4 2014


• How to disable/enable HBA fcmsutil?
 

#fcmsutil /dev/fcd0 disable
#fcmsutil /dev/fcd0 enable

 

Tagged In:

I'm a IT Infrastructure and Operations Architect with extensive experience and administration skills and works for Turk Telekom. I provide hardware and software support for the IT Infrastructure and Operations tasks.

205 Total Posts
Follow Me

63 Comments

  1. QR code which the wallet software or any other products associated to digital currencies. Use it or open-supply software program. You anti-ifp don't even need to rise to Bitcoin so as to make use of Bitcoin. In Bitcoin codes somewhere secure where you. This can be when you switch will happen when Bitcoin was worth 9,225 U.S. While utilizing all the information can aid you successfully promote your own merchandise/providers on different coin’s networks. Tigerdirect California-based retailer can find great assist whereas going via this piece of writing. While a lot of successful projects and corporations as potential returns might be. Though all transactions your best wager is Coinbase which also helps Bitcoin money and Ethereum worth returns. BSV and EOS is one purpose for prime returns within the final change charges. It’s more correct to explain it a really perfect resource trade mode of exchange. No matter how giant or companies with extra financial market partnerships expected in the future cryptocurrency is.

  2. Pretty and bold, it'll make you look like the sexiest hothouse flower. pills like viagra over the counter - https://saleviabuy.com/ - what does viagra do to women

  3. University Press of Mississippi, 1998. does viagra work on women (https://saleviabuy.com/) viagra side effects

  4. Failure to get adequate treatment may lead to several health problems. http://genqpviag.com viagra is the brand name of what generic drug

  5. Post-concussion syndrome is a collection of symptoms that some people develop after they have had concussion. generic viagra canada best places to buy generic viagra

  6. This will provide medical assistants with a steadier work environment that is more conducive to long-term employment. https://siviagmen.com viagra online usa

  7. So you might want to look that up. where can i buy viagra pills online buy cheap viagra pills online

  8. But I discontinue to take Warfarin my tongue healed in 2-3 days — I take now Clexane, I started to treat IBS with probiotics and histamine intolerance with the diet. buy viagra online with prescription (llviabest.com) best online viagra pharmacy

  9. I have always been careful with my health and becoming sick from a moldy classroom was a nightmare. https://llviabest.com where to get viagra online

  10. These include: Problems related to aging, such as: Narrowing of the spinal canal cervical spinal stenosis. fastest shipping generic viagra generic female viagra sildenafil citrate

  11. If you still have angina after 5 minutes, call 9-1-1 to get emergency help. https://genqpviag.com is viagra generic yet

  12. Back when I was about 20 I'm 30 now , I started to get seasonal allergies. https://siviagmen.com best price generic viagra

  13. Close this window Welcome to ForeignPolicy. http://siviagmen.com viagra online usa

  14. like scarring, bleeding, aching etc. The herbal pills are the best thing to take care of your online pharmacy viagra generic (http://llviabest.com/) best online pharmacy for generic viagra

  15. The window period is about 3 to 4 weeks and may be longer with other individualsSero-conversion usually occurs four to eight weeks after an individual has been infected with the HI virus. https://llviabest.com online pharmacy for viagra

  16. buy generic viagra online fast shipping http://fmedrx.com/ buying viagra online forums online pharmacy viagra generic

  17. Reply to this Comment6th October 2014 at 10:55 am, mom93821 said:Thanks for sharing this important easy to follow information. viagra online order 200 mg viagra online

  18. buying viagra online forums http://usggrxmed.com/ viagra canada online reddit viagra online

  19. I can't imagine how much longer this will go on for, will it ever go away? viagra online forum - llviabest.com - online generic viagra prescription

  20. Hip pain in athletes is commonly the result of a muscle strain or tendonitis. https://llviabest.com online viagra without prescription

  21. They have valet parking if needed. viagra online prescription free canadian pharmacy generic viagra

  22. 63 The National Center on Addiction and Substance Abuse (CASA) at Columbia University. (2005d). https://siviagmen.com generic viagra 50mg

  23. max forte viagra viagra bluthochdruckmittel viagra illicit use

  24. buy viagra craigslist toronto viagra for sale in the uk viagra dapoxetine reliable

  25. i need viagra today https://paradiseviagira.com viagra for sale in shop in melbourne

  26. viagra kopen apotheek https://purevigra.com which dose of viagra is best

  27. sildenafil 100mg price online purchase viagra pills how to get viagra cheap

  28. Buy sildenafil 100mg uk https://miraclevigra.com/ viagra 100mg cost canada

  29. Where to get viagra https://hopeviagrin.com viagra pills 50 mg

  30. generic viagra approval buybuyviamen.com food that works like viagra

  31. Viagra online quick delivery https://hopeviagrin.com order viagra professional

  32. How can i get a prescription for viagra https://miraclevigra.com/ sildenafil citrate tablets ip 100 mg

  33. off brand of viagra viagra price in new york viagra fra indien

  34. Buy generic viagra online pharmacy https://lightvigra.com/ how to get viagra in mexico

  35. Sildenafil online free shipping https://lightvigra.com viagra 100 mg coupon

  36. Canadian rx viagra https://hopeviagrin.com/ cheapest brand viagra online

  37. India sildenafil https://miraclevigra.com sildenafil 100mg tablets buy online

  38. Buy viagra 25mg https://miraclevigra.com/ where can you buy viagra in australia

  39. Buy female viagra from united states lightvigra.com where to buy cheap viagra uk

  40. Female viagra pharmacy australia https://lightvigra.com/ cheap viagra generic best price

  41. Where do you get viagra hopeviagrin.com where to buy sildenafil canada

  42. Viagra 200mg tablet hopeviagrin.com where to buy viagra over the counter usa

  43. Cheapest viagra online https://miraclevigra.com/ female viagra medicine price in india

  44. Viagra cost uk https://lightvigra.com/ viagra tablet price online

  45. Viagra online pills https://miraclevigra.com/ viagra pills price in south africa

  46. Generic sildenafil in canada lightvigra.com brand viagra 100mg

  47. Sildenafil tablets https://miraclevigra.com/ female viagra cost

  48. Viagra tablet canada https://miraclevigra.com/ sildenafil cream in india

  49. Female viagra in canada hopeviagrin.com viagra generic online india

  50. Sildenafil price in india https://hopeviagrin.com/ generic viagra online uk

  51. 140 mg sildenafil https://hopeviagrin.com/ sildenafil cheapest price

  52. Sildenafil generic 50 mg https://miraclevigra.com/ generic viagra online 25mg

  53. Viagra tablet cost https://hopeviagrin.com sildenafil soft

  54. How to order viagra pills https://miraclevigra.com/ generic sildenafil 20 mg

  55. Buy cheap viagra usa https://hopeviagrin.com/ best price viagra uk

  56. Purchasing viagra https://miraclevigra.com sildenafil 100 coupon

  57. Purchase sildenafil pills https://miraclevigra.com/ sildenafil 25 mg

  58. how to get generic viagra viagra prices singapore best over the counter viagra

  59. Order viagra india https://miraclevigra.com viagra without presc

  60. sildenafil prescription australia price of sildenafil citrate cheap generic viagra 50mg

  61. viagra tabs generic viagra from india online where to buy female viagra

  62. titanium dioxide viagra viagra preis schweiz acheter viagra moin chere

  63. writing a research paper thesis colleges without essays grade my essay

Leave a Reply