SUMMARY: configuring Hitachi storage array on Solaris 10

From: Markus Mayer (mymaillists@gmx.at)
Date: Mon Jul 18 2005 - 12:54:41 EDT


Hi all,

Thanks for the replies. Most people suggested the mpxio_disable flag
in /kernel/drv/scsi_vhci.conf and related files, however I'd already had this
one in three different files in /kernel/drv/. There was also a suggestion
that I might need the Hitachi HDLM toolkit, however it turns out that I
don't.

I found the solution myself about one hour ago, although Alex Madden also got
it right with his mail that came in shortly thereafter.

I installed the SUNWqus and SUNWqusu packages which are for the qlogic card,
although it's not clear if they are actually needed - I later deinstalled
them and everything still works OK after rebooting.

The problem is that although the system saw the disks on the different paths
and LUN's, the Hitachi Storage array is a third party device and therefore
needs additional special handling. In the /kernel/drv/scsi_vhci.conf file, I
had to add the following lines:

device-type-scsi-options-list =
"HITACHI DF600F", "symmetric-option";
symmetric-option = 0x1000000;

then reboot using "reboot -- -rv". After that, each disk showed up only once,
all be it with horribly long names from Hitachi. The line
"mpxio_disable="no" is still necessary.

This solution will most probably apply to any non Sun storage array.

The disks are now mounted
# mount
8<---
/mnt/disk2 on /dev/dsk/c5t4849544143484920443630303735313930303037d0s0
/mnt/disk1 on /dev/dsk/c5t4849544143484920443630303735313930303036d0s1
and are happily accepting data. They even stay there after a reboot :-)

Many thanks to all!

regards
Markus

Original Message:
On Friday 15 July 2005 18:26, Markus Mayer wrote:
> Hi all,
>
> I have a Sun V440 that is connected to a Hitachi Storage Array via two Sun
> FC cards (qlogic). The Storage array is configured with redundant LUN's
> and the FC connections are also set up for redundancy. At the moment there
> are two disks on the storage array that have been made available to me,
> however I see eight disks. I've been following the Solaris FC and Storage
> Multipathing Guide (pn: 819-0139-10) but am not getting anywhere. I've
> enabled multipathing using the smtsboot -e command but don't come further.
> Can anyone point me in the right direction to go so that I can get this set
> up correctly?
>
>
> # format
> Searching for disks...done
>
>
> AVAILABLE DISK SELECTIONS:
> 0. c0t50060E80004446F1d0 <HITACHI-DF600F-0000 cyl 5829 alt 2 hd 50
> sec 768> /pci@1c,600000/SUNW,qlc@1/fp@0,0/ssd@w50060e80004446f1,0 1.
> c0t50060E80004446F1d1 <HITACHI-DF600F-0000 cyl 5829 alt 2 hd 50 sec 768>
> /pci@1c,600000/SUNW,qlc@1/fp@0,0/ssd@w50060e80004446f1,1 2.
> c0t50060E80004446F3d0 <HITACHI-DF600F-0000 cyl 5829 alt 2 hd 50 sec 768>
> /pci@1c,600000/SUNW,qlc@1/fp@0,0/ssd@w50060e80004446f3,0 3.
> c0t50060E80004446F3d1 <HITACHI-DF600F-0000 cyl 5829 alt 2 hd 50 sec 768>
> /pci@1c,600000/SUNW,qlc@1/fp@0,0/ssd@w50060e80004446f3,1 4.
> c1t50060E80004446F0d0 <HITACHI-DF600F-0000 cyl 5829 alt 2 hd 50 sec 768>
> /pci@1d,700000/SUNW,qlc@1/fp@0,0/ssd@w50060e80004446f0,0 5.
> c1t50060E80004446F0d1 <HITACHI-DF600F-0000 cyl 5829 alt 2 hd 50 sec 768>
> /pci@1d,700000/SUNW,qlc@1/fp@0,0/ssd@w50060e80004446f0,1 6.
> c1t50060E80004446F2d0 <HITACHI-DF600F-0000 cyl 5829 alt 2 hd 50 sec 768>
> /pci@1d,700000/SUNW,qlc@1/fp@0,0/ssd@w50060e80004446f2,0 7.
> c1t50060E80004446F2d1 <HITACHI-DF600F-0000 cyl 5829 alt 2 hd 50 sec 768>
> /pci@1d,700000/SUNW,qlc@1/fp@0,0/ssd@w50060e80004446f2,1 8. c3t0d0 <SUN72G
> cyl 14087 alt 2 hd 24 sec 424>
> /pci@1f,700000/scsi@2/sd@0,0
> 9. c3t1d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
> /pci@1f,700000/scsi@2/sd@1,0
> 10. c3t2d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
> /pci@1f,700000/scsi@2/sd@2,0
> 11. c3t3d0 <SUN72G cyl 14087 alt 2 hd 24 sec 424>
> /pci@1f,700000/scsi@2/sd@3,0
>
>
> format> inquiry
> Vendor: HITACHI
> Product: DF600F
> Revision: 0000
>
>
> # l /dev/fc/
> total 14
> drwxr-xr-x 2 root root 512 Jun 27 17:12 .
> drwxr-xr-x 17 root sys 3584 Jul 15 16:04 ..
> lrwxrwxrwx 1 root root 52 Jun 27 17:12 fp0 ->
> ../../devices/pci@1c,600000/SUNW,qlc@1/fp@0,0:devctl lrwxrwxrwx 1 root
> root 52 Jun 27 17:12 fp1 ->
> ../../devices/pci@1d,700000/SUNW,qlc@1/fp@0,0:devctl
>
>
> # cfgadm -al
> Ap_Id Type Receptacle Occupant
> Condition c0 fc-fabric connected
> configured unknown c0::50060e80004446f1 disk connected
> configured unknown c0::50060e80004446f3 disk
> connected configured unknown c0::50060e8000444881
> unavailable connected unconfigured failed c0::50060e8000444883
> unavailable connected unconfigured failed c1
> fc-fabric connected configured unknown c1::50060e80004446f0
> disk connected configured unknown c1::50060e80004446f2
> disk connected configured unknown c1::50060e8000444880
> unavailable connected unconfigured failed c1::50060e8000444882
> unavailable connected unconfigured failed c2
> scsi-bus connected configured unknown c2::dsk/c2t0d0
> CD-ROM connected configured unknown c3
> scsi-bus connected configured unknown c3::dsk/c3t0d0
> disk connected configured unknown
> c3::dsk/c3t1d0 disk connected configured
> unknown c3::dsk/c3t2d0 disk connected configured
> unknown c3::dsk/c3t3d0 disk connected
> configured unknown usb0/1 unknown empty
> unconfigured ok usb0/2 unknown empty
> unconfigured ok usb1/1 unknown empty
> unconfigured ok usb1/2 unknown empty
> unconfigured ok _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org
> http://www.sunmanagers.org/mailman/listinfo/sunmanagers
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:31:08 EDT