Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save FleXoft/f885b97f186d7aa5ebb9748670b61712 to your computer and use it in GitHub Desktop.
Save FleXoft/f885b97f186d7aa5ebb9748670b61712 to your computer and use it in GitHub Desktop.
List of physical FC adapters and their WWNs on the VIO server by padmin users (lists only the adapters of the given VIO server):
lsdev -type adapter -state available | grep '^fcs' | while read name rest; do lsdev -dev ${name} -vpd | grep -E "${name} |Network Address"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment