| Asset ID: | 
        1-71-1005716.1 | 
| Update Date: | 2010-08-26 | 
| Keywords: |  | 
  Solution Type 
    Technical Instruction Sure
  
 Solution 
1005716.1
:  
How to remove Sun StorEdge[TM] A5000 configuration information from a system
 
| Related Categories | 
 
- GCS>Sun Microsystems>Storage - Disk>Modular Disk - Other
   
 | 
 
PreviouslyPublishedAs
207917
DescriptionHow to remove Sun StorEdge[TM] A5000 configuration information from a system.
Steps to FollowThis document explains how to remove A5000 configuration information from 
a system. This procedure should be done if an existing A5000 is removed 
from a system. It might also be a good idea to perform this reconfig 
if problems occur when using luxadm remove_device or luxadm insert_device.
The user should consider the following prior to doing this...
     * The primary system disks are NOT on the A5000.
* This is written for just one A5000, however, multiple A5000's could be
reconfigured as well.
* Doing this could change device paths to the drives.   For example, c1 could
become c2 after a boot -r.If Solstice DiskSuite[TM] is being used to manage the drives,
this will destroy all paths to metadevices on the a5000.
Rename the old path to inst file. 
# cd /etc
# rm path_to_inst.old   (if it exists)
# cp path_to_inst   orig.path_to_inst
Remove all socal entries from the path_to_inst file.
# vi /etc/path_to_inst
>>>>>>>>>>>Remove entries with the word socal in them<<<<<<<<<<<
"/sbus@1f,0/SUNW,socal@1,0" 0 "socal"
"/sbus@1f,0/SUNW,socal@1,0/sf@1,0" 1 "sf"
"/sbus@1f,0/SUNW,socal@1,0/sf@1,0/ssd@w2100002037070757,0" 5 "ssd"
"/sbus@1f,0/SUNW,socal@1,0/sf@1,0/ssd@w21000020370c01c2,0" 4 "ssd"
"/sbus@1f,0/SUNW,socal@1,0/sf@1,0/ses@w508002000000f59a,0" 2 "ses"
"/sbus@1f,0/SUNW,socal@1,0/sf@1,0/ssd@w21000020370705cf,0" 1 "ssd"
"/sbus@1f,0/SUNW,socal@1,0/sf@1,0/ssd@w210000203704fd32,0" 0 "ssd"
"/sbus@1f,0/SUNW,socal@1,0/sf@1,0/ssd@w210000203707073e,0" 3 "ssd"
"/sbus@1f,0/SUNW,socal@1,0/sf@1,0/ssd@w210000203704faa8,0" 2 "ssd"
"/sbus@1f,0/SUNW,socal@1,0/sf@1,0/ses@w508002000000f599,0" 1 "ses"
"/sbus@1f,0/SUNW,socal@1,0/sf@0,0" 0 "sf"
Remove the device for the disks in /dev/dsk
# cd /dev/dsk
# ls
c0t0d0s0     c0t6d0s0     c1t0d0s0     c1t16d0s0   c1t20d0s0   c1t22d0s0   c1t4d0s0     c1t6d0s0
c0t0d0s1     c0t6d0s1     c1t0d0s1     c1t16d0s1   c1t20d0s1   c1t22d0s1   c1t4d0s1     c1t6d0s1
c0t0d0s2     c0t6d0s2     c1t0d0s2     c1t16d0s2   c1t20d0s2   c1t22d0s2   c1t4d0s2     c1t6d0s2
c0t0d0s3     c0t6d0s3     c1t0d0s3     c1t16d0s3   c1t20d0s3   c1t22d0s3   c1t4d0s3     c1t6d0s3
c0t0d0s4     c0t6d0s4     c1t0d0s4     c1t16d0s4   c1t20d0s4   c1t22d0s4   c1t4d0s4     c1t6d0s4
c0t0d0s5     c0t6d0s5     c1t0d0s5     c1t16d0s5   c1t20d0s5   c1t22d0s5   c1t4d0s5     c1t6d0s5
c0t0d0s6     c0t6d0s6     c1t0d0s6     c1t16d0s6   c1t20d0s6   c1t22d0s6   c1t4d0s6     c1t6d0s6
c0t0d0s7     c0t6d0s7     c1t0d0s7     c1t16d0s7   c1t20d0s7   c1t22d0s7   c1t4d0s7     c1t6d0s7
In this case, c0 is the internal drive which holds the root file systems. The
A5000 is on c1. It has 6 drives on it, 3 in the front and 3 in the rear.
# rm c1*
Now, do the same for the raw device entries.
# cd /dev/rdsk
# rm c1*
Remove the scsi enclosure services (ses devices).
# cd /dev/es
# ls -l   (note the link path to the actual device)
lrwxrwxrwx     1 root         root                   71 Sep 11 09:41
ses0 -> ../../devices/sbus@1f,0/SUNW,socal@1,0/sf@1,0/ses@w508002000000f599,0:0
                         -------------------
lrwxrwxrwx     1 root         other                 71 Sep 24 09:53 
ses1 -> ../../devices/sbus@1f,0/SUNW,socal@1,0/sf@1,0/ses@w508002000000f59a,0:0
                         -------------------
# rm ses*
Finally, remove the devices that ses was pointing to. 
# cd /devices/sbus@1f,0 (this path was determined from the previous ls -l command)
# rm -r SUNW,socal*
Reboot
# init 0
# boot -rv           
 
ProductSun StorageTek A5000 Array
 Previously Published As
 18168
 Change History
 Date: 2003-05-20
 User Name: Administrator
 Action: Migration from KMSCreator
 Comment: updated by : Matthew Shattuck
 comment : Added Trademarks, and ran a spell check
 Verified collection,category and corrected the
  audience.
 date : Jun 26, 2002
 updated by : Gary Northup
 comment : changed category
 date : Jan 11, 2000
 Version: 0
Attachments
This solution has no attachment