1. Determine and save the partition table for the disk.
If the replacement disk is the same type as the faulty disk, you can use the
format
command to save the partition table of the disk. Use the
save
command
in
format
to save a copy of the partition table to the
/etc/format.dat
file.
This will allow you to configure the replacement disk so that its layout matches
the current disk.
Refer to the
format(1M)
man page for more information.
2. Unmount any file systems on the disk.
For each file system returned, type:
# umount
filesystem
where filesystem is the first field for each line returned in Step 1 on page 17.
For example:
# umount /export/home
# umount /export/home2
Note -
If the file systems are on a disk that is failing or has failed, the
umount
operation may not complete. A large number of error messages may be displayed in
the system console and in the
/var
directory during the
umount
operation. If the
umount
operation does not complete, you may have to restart the system.
Removing and Replacing the Disk Drive
Refer to the Sun Ultra 450 Workstation Owner’s Guide or Ultra Enterprise 450
Server Owner’s Guide for instructions on how to remove and replace disk drives.
Restoring the UFS File System
Use the following procedure to configure a slice on a disk to be used with the UFS
file system.
1. Verify that the device"s partition table satisfies the requirements of the file
systems you intend to re-create.
You can use the
prtvtoc
command to inspect the label for your device. If you
need to modify the label, use the
format
command. Refer to the
prtvtoc(1M)
and
format(1M)
man pages for more information. For example:
# prtvtoc /dev/rdsk/c
w
t
x
d
y
s
z
Disk Drive Hot-Plug Procedures
23
Содержание Sun Ultra 450
Страница 8: ...viii September 1998 Revision A...
Страница 12: ...4 September 1998 Revision A...