Service manual
Chapter 4 Service 4-7
For example, if the media tray is connected to a host adapter corresponding to
controller c2 and you add a drive to the right slot, the new drive appears as
/dev/dsk/c2t4d0s[0-7] and /dev/rdsk/c2t4d0s[0-7].
4. Replace the disk drive within your application.
Continue the disk replacement by going to the instructions for your application:
■ See Section 4.2.3.1 “Replacing a Drive With a UNIX File System” on page 4-7.
■ See Section 4.2.3.2 “Replacing a Drive Using the Solstice DiskSuite Software” on
page 4-10.
4.2.3.1 Replacing a Drive With a UNIX File System
The following procedure describes how to unconfigure a drive being used by one or
more UNIX file systems (UFS).
Caution – These procedures should be performed only by a qualified system
administrator. Performing hot-plug operations on an active drive can result in data
loss.
1. Become superuser and open the Sun StorEdge media tray unit to find the target
address ID for the drive you intend to replace.
The target address ID appears on the label between the drive bays.
2. Identify activities or applications attached to the device you plan to remove.
Use the mount and ps -ef commands.
For example, where the controller number is 1 and the target ID is 2:
3. Stop any application processes on the file systems to be unconfigured.
In the example, the only process running on the drive is grep, which has finished.
4. Back up your system.
# mount | grep c1t2
/export/home1 on /dev/dsk/c1t2d0s2 setuid/read/write on
# ps -f | grep c1t2
root 1225 450 4 13:03:58 pts/2 0:00 grep c1t2










