Last active
January 13, 2021 13:27
-
-
Save FleXoft/0c2780de9e76b754773778bb6240cde7 to your computer and use it in GitHub Desktop.
Listing physical and virtual FC adapters and their WWNs on the server as root (lists only the adapters for that server):
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
lsdev -S a -Cc adapter | grep '^fcs' | awk '{print $1}' | while read name; do lscfg -vl ${name} | grep -E "${name}|Network Address"; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment