OBSOLETE Patch-ID# 119443-01
Keywords: sd fdisk luns
Synopsis: Obsoleted by: 119443-02 SunOS 5.9_x86: kernel/drv/sd Patch
Date: May/24/2005


Install Requirements: Reboot after installation                      
                      
Solaris Release: 9_x86

SunOS Release: 5.9_x86

Unbundled Product: 

Unbundled Release: 

Xref: 

Topic: SunOS 5.9_x86: kernel/drv/sd Patch

Relevant Architectures: i386

BugId's fixed with this patch: 6249580

Changes incorporated in this version: 6249580

Patches accumulated and obsoleted by this patch: 

Patches which conflict with this patch: 

Patches required with this patch: 117172-17 (or greater)

Obsoleted by: 

Files included with this patch: 

/kernel/drv/sd
/usr/include/sys/scsi/targets/sddef.h

Problem Description:

6249580 x86 needs to support large LUNs

Patch Installation Instructions:
--------------------------------
 
For Solaris 2.0-2.6 releases, refer to the Install.info file and/or
the README within the patch for instructions on using the generic
'installpatch' and 'backoutpatch' scripts provided with each patch.
 
For Solaris 7-10 releases, refer to the man pages for instructions
on using 'patchadd' and 'patchrm' scripts provided with Solaris.
Any other special or non-generic installation instructions should be
described below as special instructions.  The following example
installs a patch to a standalone machine:
 
       example# patchadd /var/spool/patch/104945-02
 
The following example removes a patch from a standalone system:
 
       example# patchrm 104945-02
 
For additional examples please see the appropriate man pages.

Special Install Instructions:
-----------------------------
 
KNOWN PROBLEMS AND LIMITATIONS
 
When applying this patch to a system where a disk has already been formatted
and only part of the disk was available (bug 5042195) the existing Solaris
label *MUST* be cleared in order for the disk to be fully utilized.  If this
is not done then the existing label will be used and that disk configuration
from that label will continue to limit the amount of disk space that can be
used for that disk.
 
BE SURE TO BACKUP ANY DATA YOU WISH TO RETAIN BEFORE PROCEEDING FURTHER!
 
For an unpatched system it is best to boot into single user mode with the ITU
loaded.  See examples above for how to do that.
 
To clear the entire disk you can use this command (fill in the '?' spots with
the values for the disk you are dealing with.  If unsure, run 'format' to see
what disks you have in your system and their paths:
 
dd if=/dev/zero of=/dev/rdsk/c?t?d?p0 bs=1024k count=10
 
The example above will wipe out the entire fdisk table and the first 10MB of
data on the disk.
 
For a disk with multiple fdisk partitions you may wish to preserve the other
fdisk partitions and only wipe out the Solaris partition.  This can be done
by only clearing the Solaris partition, in a fashion similar to how you can
clear the fdisk information.  First use fdisk, or the fdisk command within
format, to determine which partition is your Solaris partition.  The fdisk
partitions are numbered 1 to 4, so simply count from the top down on the
display of partitions to determine which one is the Solaris fdisk partition.
You can then clear that partition with a command like this (in this example
the Solaris partition is number 2):
 
dd if=/dev/zero of=/dev/rdsk/c?t?d?p2 count=?????
 
Note that you should use the number for the length of the fdisk partition for
the argument to count.  This will take longer than just wiping out the fdisk
table as in the first example, because it writes the entire partition one
block at a time, but that is needed to destroy all the backup labels so they
will not be used.

README -- Last modified date:  Monday, July 18, 2005

