AIXSANDiskOrNot

How to determine quickly if a disk is a SAN disk or not

It can be helpful to determine quickly is a given disk is a SAN disk or not.

To do this, use the lsdev command like this:

andre@galactus$ lsdev -C -c disk
hdisk0  Available 1S-08-00-3,0 16 Bit LVD SCSI Disk Drive
hdisk1  Available 1S-08-00-4,0 16 Bit LVD SCSI Disk Drive
hdisk2  Available 1S-08-00-5,0 16 Bit LVD SCSI Disk Drive
hdisk3  Available 1S-08-00-8,0 16 Bit LVD SCSI Disk Drive
hdisk4  Defined   1f-08-01     HP HSV110 Enterprise Virtual Array
hdisk6  Available 1f-08-01     HP HSV110 Enterprise Virtual Array
hdisk7  Available 1f-08-01     HP HSV110 Enterprise Virtual Array
hdisk9  Defined   1f-08-01     HP HSV110 Enterprise Virtual Array
hdisk10 Available 1f-08-01     HP HSV110 Enterprise Virtual Array
hdisk11 Available 1f-08-01     HP HSV110 Enterprise Virtual Array
hdisk12 Available 1f-08-01     HP HSV110 Enterprise Virtual Array
hdisk13 Available 1f-08-01     HP HSV110 Enterprise Virtual Array
hdisk14 Available 1f-08-01     HP HSV110 Enterprise Virtual Array

In the example shown above, the 16 Bit LVD SCSI Disk Drive are local - SCSI - disks, while the HP HSV110 Enterprise Virtual Array are SAN disks.

Of course you need to adapt this to you local machines: the information returned by your SAN array can be quite different from the one shown above.

Bonus information: the Available disks are SAN disks that are actually configured AND attached to the current AIX partition, while the Defined are SAN disks attached to another partition on the same physical machine.