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-71-1010505.1
Update Date:2009-02-18
Keywords:

Solution Type  Technical Instruction Sure

Solution  1010505.1 :   Sun StorEdge[TM] System: How to Disable the disksort Flag for Externally Cached Storage, Such as EMC and HDS  


Related Items
  • Sun Storage 9960 System
  •  
Related Categories
  • GCS>Sun Microsystems>Storage - Disk>Datacenter Disk
  •  

PreviouslyPublishedAs
214428


Description
The disksort flag in the sd/ssd driver makes use of a routine named
disksort to reorder IO requests at the driver level. This routine is
not required for IO requests that are sent to large cache-enabled
storage devices.

Steps to Follow
To disable the disksort flag, perform the following steps:
1.  Change the disksort setting:
a. Verify the type of storage that the SunFire[TM] system
is attached to, EMC or Hitachi.
b. Make a backup copy of the /kernel/drv/sd.conf and
/kernel/drv/ssd.conf files.
c. For EMC storage, add the following lines to the end of the
/kernel/drv/sd.conf file:
# Following for EMC LUNS, DATE= XXX
# Set the 2nd to last parameter to 1 to disable disksort
sd-config-list="EMC     SYMMETRI", "sd-ver1-test-data";
sd-ver1-test-data=1,0x10000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0;
d. For Hitachi storage running a Leadville stack of storage drivers,
add the following lines to the end of the /kernel/drv/ssd.conf
file:
# Following for Hitachi LUNS
# Set the 2nd to last parameter to 1 to disable disksort
ssd-config-list="HITACHI OPEN-E  ", "ssd-ver1-test-data";
ssd-ver1-test-data=1,0x10000,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0;
2.  Reboot the Sun Fire system to force changes to the sd/ssd driver.


Product
Sun StorageTek 9960 System

Internal Comments
For internal Sun use only.

* There are two parameters for sd-config-list (in sd driver) and
ssd-config-list (for ssd driver). The first parameter is the VID/PID.
The VID/PID parameter should be eight characters for
VID (vendor ID) and eight characters for PID (Product ID).

You can obtain the VID/PID by doing the following:

(root titan.sfbay)# format -> choose the LUN/disk -> inquiry

If the length of VID or PID is less than eight characters, pad the
remaining characters with spaces.

In the preceding example, VID "EMC" and PID are padded with
five spaces. Also, in the example, "OPEN-E" is padded
with two spaces. Similarly, EMC's PID "SYMMETRIX" is truncated to
to eight characters: "SYMMETRI."

* The 'sd_lun' structure can be dumped, using adb/mdb, to verify whether
the disksort has been disabled or not.
sd, ssd
Previously Published As
75153

Change History
Date: 2004-05-12
User Name: c8840
Action: Approved
Comment: I edited this article with revisions that included, but were not limited to, the following:
* Title: Inserted trademarked product name at beginning of title, revised capitalization, replaced ampersand (&) with "and"
* Revised numbering scheme throughout text
* Revised alignment for indentations throughout text
* Re-worded text where appropriate
* Inserted trademark symbol after first occurrence of Sun Fire in text
Then, I submitted the article for publication.
Version: 0

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