Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
en:services:storage_services:backup:tsm:admin:fc_stuff [2023/02/03 08:46] – [SLES] bnachtw | en:services:storage_services:backup:tsm:admin:fc_stuff [2023/02/03 09:38] (current) – bnachtw | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== some useful commands around fibre channel ====== | ====== some useful commands around fibre channel ====== | ||
- | ===== WWN & Co ===== | + | ===== get adapters, |
- | ==== get the wwn from the adapers | + | ==== get FC adapters / HBAs ==== |
+ | < | ||
+ | h212:~ # ls -l / | ||
+ | total 0 | ||
+ | lrwxrwxrwx 1 root root 0 3. Feb 08:45 host1 -> ../ | ||
+ | lrwxrwxrwx 1 root root 0 3. Feb 08:45 host16 -> ../ | ||
+ | lrwxrwxrwx 1 root root 0 3. Feb 08:45 host17 -> ../ | ||
+ | lrwxrwxrwx 1 root root 0 3. Feb 08:45 host18 -> ../ | ||
+ | </ | ||
+ | ==== get adapter type ==== | ||
+ | < | ||
+ | h212:~ # lspci | grep Fibre | ||
+ | 3b:00.0 Fibre Channel: QLogic Corp. ISP8324-based 16Gb Fibre Channel to PCI Express Adapter (rev 02) | ||
+ | 3b:00.1 Fibre Channel: QLogic Corp. ISP8324-based 16Gb Fibre Channel to PCI Express Adapter (rev 02) | ||
+ | 5e:00.0 Fibre Channel: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter (rev 01) | ||
+ | 5e:00.1 Fibre Channel: QLogic Corp. ISP2722-based 16/32Gb Fibre Channel to PCIe Adapter (rev 01) | ||
+ | </ | ||
+ | ==== get the wwn from the adapters ==== | ||
+ | < | ||
+ | h212:~ # awk ' | ||
+ | device:/ | ||
+ | device:/ | ||
+ | device:/ | ||
+ | device:/ | ||
+ | </ | ||
+ | ==== get Port state ==== | ||
=== using systool === | === using systool === | ||
Line 61: | Line 86: | ||
The '' | 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. | The Fibre Channel (FC) HBA port access on RedHat can be temporarily disabled using the unbind string against the pci-device-id bus address. |