4-8
Sun StorEdge D2 Array Installation, Operation, and Service Manual • February 2002
▼
To Prepare to Replace a Disk Drive (VxVM)
Do this procedure to stop activity on the disk using VxVM commands on the
connected host. Before you start this procedure, terminate all user- and application-
level processes on all volumes, plexes, and/or subdisks that are located on the drive.
1. Back up your system.
2. Identify the disk media name for the disk you intend to replace.
For example, if the disk to be replaced is
c1t3d0
, you would type:
The disk media name is the third field in the output above:
disk01
.
You can use the
vxdiskadm
utility to prepare the disk for replacement.
3. Use the
vxdiskadm
command to prepare the disk for replacement.
This operation is interactive and requires user confirmation of the operation. See the
VERITAS Volume Manager Administrator’s Guide
for more information.
a. Select the “Remove a disk for replacement” option.
When prompted for a disk name to replace, type the disk media name from
Step 2.
vxdiskadm
marks the disk to be replaced and saves the subdisk information to
be rebuilt on the replacement disk.
Redundant data is automatically recovered after the replacement disk has been
reattached to VERITAS Volume Manager. Nonredundant data is identified as
unusable and must be re-created from backups.
Refer to the
vxdiskadm
(1M) man page for further details.
b. Quit the
vxdiskadm
utility.
4. Remove the failed disk drive.
Go to “To Remove a Disk Drive” on page 4-9.
#
vxdisk list | grep
c
w
t
x
d
y
s
z
#
vxdisk list | grep c0t3d0
c1t3d0s2 sliced disk01 rootdg online
#
vxdiskadm
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 ...