4-6
Sun StorEdge D2 Array Installation, Operation, and Service Manual • February 2002
▼
To Prepare to Replace a Disk Drive (UNIX)
Do this procedure to stop activity on the disk using UNIX filesystem-management
commands on the connected host.
1. Perform this procedure as root (superuser).
2. Determine which file system(s) are on the disk:
For example, if the disk to be replaced is
c1t3d0
, you would type the following
command line:
3. Stop any application processes on the host where the disk array is connected.
4. Back up the file system(s) identified in Step 2.
5. Determine and save the partition table for the disk.
If the replacement disk is the same type as the faulty disk, use the
save
command in
format
to save a copy of the partition table for the faulty disk to the
/etc/format.dat
file. This enables you to configure the replacement disk later so
that its layout matches the current disk.
Refer to the
format
(1M) man page for more information.
6. Unmount any file systems on the disk.
Note –
If the file system(s) are on a disk that is failing or has failed, the
umount
operation may not complete. A large number of error messages might 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 host.
For each file system returned, type:
where
filesystem
is the first field for each line returned in Step 2.
#
mount | grep
c
w
t
x
d
y
s
z
#
mount | grep c1t3d0
/export/home
(/dev/dsk/c1t3d0s7):
98892 blocks
142713 files
/export/home2
(/dev/dsk/c1t3d0s5):
153424 blocks
112107 files
#
umount
filesystem
Summary of Contents for StorEdge D2
Page 10: ...x Sun StorEdge D2 Array Installation Operation and Service Manual February 2002 ...
Page 50: ...2 12 Sun StorEdge D2 Array Installation Operation and Service Manual February 2002 ...
Page 92: ...4 28 Sun StorEdge D2 Array Installation Operation and Service Manual February 2002 ...
Page 98: ...B 2 Sun StorEdge D2 Array Installation Operation and Service Manual February 2002 ...
Page 104: ...B 8 Sun StorEdge D2 Array Installation Operation and Service Manual February 2002 ...
Page 114: ...B 18 Sun StorEdge D2 Array Installation Operation and Service Manual February 2002 ...
Page 118: ...Index 4 Sun StorEdge D2 Array Installation Operation and Service Manual February 2002 ...