Service manual
4-10 Sun StorEdge D240 Media Tray Installation, Operation, and Service Manual • August 2001
■ If the replacement drive is of a different type than the drive it replaced, you
can use the partition size information from the previous drive to set the
partition table for the replacement disk. Refer to the prtvtoc(1M) and
format(1M) man pages for more information.
You have defined your drive’s partition table and have identified the drive slice
on which to build your UFS file system.
b. Once you have selected a drive slice for your UFS file system, check and/or
create a file system on the slice:
c. Mount the new file system using the mount command:
where mount-point is the directory on which the faulty disk was mounted.
The new disk is ready to be used. You can now restore data from your backups.
4.2.3.2 Replacing a Drive Using the Solstice DiskSuite Software
This procedure describes how to replace a drive that is using the Solstice DiskSuite
software. Refer to the Solstice DiskSuite documentation for more information.
Caution – These procedures should be performed only by a qualified system
administrator. Performing hot-plug operations on an active disk drive can result in
data loss.
1. Prepare to replace the hard drive.
a. Back up your system.
b. Become superuser and open the Sun StorEdge D240 Media Tray unit to find the
target address ID for the disk you intend to replace.
The target address ID appears on a label on the front of the system.
c. Save the partition table for the drive, if possible.
If the disk label can still be read, save the disk partitioning at this time.
# fsck /dev/rdsk/cwtxdysz
# newfs /dev/rdsk/cwtxdysz
# mount
mount-point










