http://geekswing.com/geek/linux/how-to-find-fiber-host-bus-adapter-fiber-hba-wwn-on-linux/
for i in 0 1 2 3 4 5 6; do cat host$i/device/fc_host/host$i/port_name; echo “host$i”; done
http://geekswing.com/geek/linux/how-to-find-fiber-host-bus-adapter-fiber-hba-wwn-on-linux/
for i in 0 1 2 3 4 5 6; do cat host$i/device/fc_host/host$i/port_name; echo “host$i”; done