There are always a bunch of strange commands to connect a server to SAN disks. In my case, I’m running Solaris 9, using QLogic Fibre Channel cards, and connecting to an IBM DS4300.

1) Connect the Solaris server SAN disks. After I made the connection, the GUI that allows me to zone the SAN recognized the QLogic connections, and I zoned the LUNs.

If you need more detailed instructions, here are some potentially useful posts: How to Zone a Brocade SAN Switch and How to Zone IBM DS4000 SAN Disks.

2) Scan your disks, and it should show up as a new disk when you run “format”.

Solaris# devfsadm Solaris# format

My result: No new disks.  Sigh.

3) Run a bunch of cryptic but useful diagnostic commands:

To see your HBA ports and whether you’re connected:

Solaris# luxadm -e port Found path to 3 HBA ports /devices/[email protected],700000/SUNW,[email protected]/[email protected],0:devctl        CONNECTED /devices/[email protected],700000/SUNW,[email protected],1/[email protected],0:devctl     CONNECTED /devices/[email protected],600000/SUNW,[email protected]/[email protected],0:devctl        CONNECTED

To see your disks:

Solaris# luxadm probe

To see your HBA ports (type fc-private, below) and their connected disks (type disk):

Solaris# cfgadm -al

Ap_Id                         Type           Receptacle  Occupant Condition c8                               fc-private  connected configured unknown c8::200800a0b8199b3b  disk           connected configured unknown c9                               fc-private  connected configured unknown c9::200900a0b8199b3b   disk          connected configured unknown

4) Force Fibre Channel SAN disk rescan, since everything looks connected and okay.  Use your device path from “luxadm -e port” output.

Solaris# luxadm -e forcelip /devices/[email protected],700000/SUNW,[email protected]/[email protected],0:devctl Solaris# luxadm -e forcelip /devices/[email protected],700000/SUNW,[email protected],1/[email protected],0:devctl Solaris# luxadm -e forcelip /devices/[email protected],600000/SUNW,[email protected]/[email protected],0:devctl

5) Rerun format command.

Solaris # format

AVAILABLE DISK SELECTIONS: 0. c1t0d0 /[email protected],600000/SUNW,[email protected]/[email protected],0/[email protected],0

  1. c1t1d0 t2 /[email protected],600000/SUNW,[email protected]/[email protected],0/[email protected],0
  2. c7t600A0B801019B1B2002032A5489C60F3d0 /scsi_vhci/[email protected]

Voila! There it is, disk #2.



Using fcinfo (Solaris 10 only)

This is probably the easiest way to find the WWN numbers on your HBA card. Here you can see the HBA Port WWN (WWpN) and the Node WWN (WWnN) of the two ports on the installed Qlogic HAB card.

This is also useful in finding the Model number, Firmwar version FCode, supported and current speeds and the port status of the HBA card/port.


Using scli


For more detailed info on the HBA Cards run as follows: Similar to fcinfo but also provides Model Name and serial number.


Using prtconf

Using luxadm

Run the following command to obtain the physical path to the HBA Ports

With the physical path obtained from the above command, we can trace the WWN numbers as follows. here I use the physical path to the one that is connected:

Hope this helps. If you know of any more way then please feel free to post it to the comments and I shall amend it to the article.