Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
en:services:storage_services:backup:tsm:admin:fc_stuff [2023/02/03 08:39] – [Rescaning the SCSI bus] bnachtw | en:services:storage_services:backup:tsm:admin:fc_stuff [2023/02/03 08:46] – [SLES] bnachtw | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== WWN & Co ===== | ===== WWN & Co ===== | ||
==== get the wwn from the adapers ==== | ==== get the wwn from the adapers ==== | ||
- | === SLES === | + | |
- | < | + | |
- | # for i in $(ls -d / | + | |
- | </ | + | |
- | e.g. | + | |
- | < | + | |
- | # for i in $(ls -d / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | / | + | |
- | </ | + | |
=== using systool === | === using systool === | ||
according to [[https:// | according to [[https:// | ||
Line 62: | Line 51: | ||
thanks to [[https:// | thanks to [[https:// | ||
+ | * To list available HBA ports, type: | ||
+ | < | ||
+ | # ls -l / | ||
+ | total 0 | ||
+ | lrwxrwxrwx. 1 root root 0 Jun 24 13:52 host28 -> ../ | ||
+ | lrwxrwxrwx. 1 root root 0 Jun 24 14:15 host29 -> ../ | ||
+ | </ | ||
+ | |||
+ | The '' | ||
+ | < | ||
+ | # lspci | grep Fibre | ||
+ | 81:00.0 Fibre Channel: QLogic Corp. ISP8324-based 16Gb Fibre Channel to PCI Express Adapter (rev 02) | ||
+ | 81:00.1 Fibre Channel: QLogic Corp. ISP8324-based 16Gb Fibre Channel to PCI Express Adapter (rev 02) | ||
+ | </ | ||
+ | |||
+ | The Fibre Channel (FC) HBA port access on RedHat can be temporarily disabled using the unbind string against the pci-device-id bus address. | ||
+ | |||
+ | Syntax: | ||
+ | |||
+ | < | ||
+ | # echo " | ||
+ | </ | ||
+ | |||
+ | To disconnect access for a specific PCI device (81:00:0), the sample syntax would be as follows: | ||
+ | |||
+ | < | ||
+ | # echo " | ||
+ | </ | ||
+ | |||
+ | To display the filename & associated WWN details for all FC HBA controllers: | ||
+ | < | ||
+ | # awk ' | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | To display the filename & HBA port status: | ||
+ | < | ||
+ | # awk ' | ||
+ | / | ||
+ | / | ||
+ | </ |