Thanks for your responses. Here are some answers to the questions that were
presented.
> Have you set any values in the "Fibre Channel to SCSI mapping"/ "Mapping
Table#"?
We have a custom map that we're using to map the individual tape drives to
Crossroad LUNs.
> Do the values change after reboot?
No.
> What about "Display Attached SCSI Devices", does this change between
reboots?
No. The attached SCSI devices are always the same.
----------------------------------
The "Fibre Channel to SCSI Mapping Mode" for our Crossroads is not set to
auto. We are using a custom map to make sure that each tape drive always
has the same LUN. We are not using the "index" map since that one is
currently being used for our Windows media agent. However, there doesn't
appear to be a difference between custom maps and the "index" map other than
the name of the "index" map cannot be changed. If I am mistaken, please let
me know.
Also, I guess I need to qualify my details a bit more. The LUNs presented
by the Crossroads are fixed in that they are always refer to the same drive
on the P7000. The problem is that the LUNs get assigned to different
devices on the filer. For example, LUN 2 will be assigned to the rst1l,
nrst1l, ..., urst1a devices after one of the Crossroads reboots. After
another Crossroads reboot, LUN 3 will be assigned to those same devices on
the filer. We need to preserve a consistent device mapping on the filer.
Reassigning storage aliases seems to be the best workaround we've found so
far. My quick hack script to do this is below (the x:xxx:xxxxxx:xxxxxx
represents the WWN of the Crossroads). We're still looking for a better
long term approach. Either the Crossroads needs to present the LUNs in the
same order every time, or the Netapp filer needs to have a way to specify a
persistent device-to-LUN mapping for FCAL attached devices.
-----------------------------------------------------------------------
#!/bin/sh
FILER=$1
if [ -z "$FILER" ]; then
echo "usage: resetaliases <filername>"
exit 1
fi
/bin/rsh $FILER storage unalias -a
/bin/rsh $FILER storage alias mc0 WWN[x:xxx:xxxxxx:xxxxxx]
/bin/rsh $FILER storage alias st0 WWN[x:xxx:xxxxxx:xxxxxx]L1
/bin/rsh $FILER storage alias st1 WWN[x:xxx:xxxxxx:xxxxxx]L2
/bin/rsh $FILER storage alias st2 WWN[x:xxx:xxxxxx:xxxxxx]L3
/bin/rsh $FILER storage alias st3 WWN[x:xxx:xxxxxx:xxxxxx]L4
/bin/rsh $FILER storage alias st4 WWN[x:xxx:xxxxxx:xxxxxx]L5
/bin/rsh $FILER storage alias st5 WWN[x:xxx:xxxxxx:xxxxxx]L6
/bin/rsh $FILER storage alias st6 WWN[x:xxx:xxxxxx:xxxxxx]L7
/bin/rsh $FILER storage alias st7 WWN[x:xxx:xxxxxx:xxxxxx]L8
exit 0
-----------------------------------------------------------------------