Sun Microsystems, Inc.  Sun System Handbook - ISO 3.4 June 2011 Internal/Partner Edition
   Home | Current Systems | Former STK Products | EOL Systems | Components | General Info | Search | Feedback

Asset ID: 1-72-1008956.1
Update Date:2009-02-18
Keywords:

Solution Type  Problem Resolution Sure

Solution  1008956.1 :   Sun StorEdge[TM] 3310 (SE3310) - Solaris[TM] unable to see any mapped LUNs, or LUNs other than LUN 0  


Related Items
  • Sun Storage 3310 Array
  •  
Related Categories
  • GCS>Sun Microsystems>Storage - Disk>Modular Disk - 3xxx Arrays
  •  

PreviouslyPublishedAs
212345


Symptoms
When an Sun StorEdge[TM] 3310 (SE3310) array is configured with more than one LUN, the 'sd' driver of Solaris[TM] must be configured to discover luns with numbers other than 0 (by default, it looks for and recognizes ONLY LUN 0 for every possible target).



Resolution
Edit the file /kernel/drv/sd.conf. The standard file (shipped with
Solaris[TM]) does not include LUNs other than LUN 0, so you will need to
add the appropriate LUN's.

The two pieces of information you need before editing this file are
the target IDs (you get the target id values from the SE3310), and
the LUN numbers mapped to those target values. Target values are
between 0 and 15, inclusive.

For example, here is part of the original 'sd.conf' file:

  name="sd" class="scsi" class_prop="atapi"
target=0 lun=0;
  name="sd" class="scsi" class_prop="atapi"
target=1 lun=0;
  name="sd" class="scsi" class_prop="atapi"
target=2 lun=0;
  name="sd" class="scsi" class_prop="atapi"
target=3 lun=0;

As an example, if you've mapped LUNs number 0 thru 3 on target
0 and LUNs 0 thru 2 on target 2,
add the following lines to this file:

  name="sd" class="scsi" target=0 lun=1;
name="sd" class="scsi" target=0 lun=2;
name="sd" class="scsi" target=0 lun=3;
name="sd" class="scsi" target=2 lun=1;
name="sd" class="scsi" target=2 lun=2;

A reboot is typically needed to allow this change take place, since the
'sd' driver must be reloaded.

WARNING: Try not to add more entries into the 'sd.conf' file than will
be needed, the reason being that the system must attempt to discover at
boot time all combinations of target and lun number specified in this
file. If you were to add entries into this file that are not used,
each one will have to timeout during device discovery, which could lead
to vastly increased boot times.



Product
Sun StorageTek 3310 SCSI Array

3310, sd.conf, luns, discover, format, see
Previously Published As
73805

Change History
Date: 2005-02-03
User Name: 7058
Action: Approved
Comment: Added trademarks..they weren't in doc!
Added tech areas.
Updated review date.
OK to republish.
Version: 3
Date: 2005-02-03
User Name: 7058
Action: Accept
Comment:
Version: 0

Attachments
This solution has no attachment
  Copyright © 2011 Sun Microsystems, Inc.  All rights reserved.
 Feedback