Hubba's Blog

Notes from a Linux/Unix Engineer

What is my WWN of my Storage Adapter

Posted on Tue, Mar 13, 2012 at 11:37 by Hubertus A. Haniel

I am frequently being asked on how one finds the WWN for the storage adapter on a modern Linux system with a 2.6 kernel.

This information used to be in /proc but now has been moved into /sys and can be found simply looking into /sys/class/fc_host/host*/portname (host* because you may have multible adapters eg host0 and host1)

On my system I get the following:

cat /sys/class/fc_host/host*/port_name
0x5000101000000414
0x5000101000000416

These numbers are required by your storage administrator to present storage to you in an enterprise class storage array.

Posted in HowTo (RSS), System - Linux (RSS)