VERITAS Volume Manager 3.5 User's Guide - VERITAS Enterprise Administrator (June 2002)

Chapter 3, Disk Tasks
Removing a Disk from a Dynamic Disk Group
49
Removing a Disk from a Dynamic Disk Group
You can remove a disk from a dynamic disk group if there are no volumes on the disk. If
volumes exist, you must delete them before you can revert the disk. Disks shown in
Volume Manager to be Unreadable as well as Foreign can be removed, but doing so
causes you to lose all existing data on the disk that is removed from the group. If a disk
has failed and is markedas Missing, youcan also remove it from the dynamic diskgroup.
To remove a disk from a dynamic disk group, use the Remove Disk from Dynamic Disk
Group command.
Note You cannot remove the last disk from a disk group.
The steps for removing a disk from a dynamic disk group are as follows:
1. Right-click on the selected disk or on the Dynamic Disk Group and select Remove
Disk from Dynamic Disk Group.
2. The first screen of the Remove Disk wizard appears. Click Next to continue.
3. Make sure the proper disk or disks that you want to remove are showing in the right
pane of the window and click Next to continue.
The Remove Disk from Dynamic Disk Group procedure removes the disk from VxVM
control. If the disk to be removed contains volumes, you must evacuate the disk before
you remove the disk.
When you have provided all necessary information in the dialog box, click OK.
Notes:
If the disk contains a volume that has only one mirror and either has a mounted file
system or is used as a swap area, you must evacuate the disk before you remove it.
When a disk is removed from a dynamic disk group or VxVM control, the disk cannot be
accessed.
A disk that is in use (that is., contains volumes) must not be removed. Removing a disk
with volumes can result inloss ofdata or data redundancy. If volumesexist onthe disk to
be removed, use the
Evacuate Disks task to move the volumes to another disk.
The last disk in a dynamic disk group cannot be removed. To remove the last disk in a
dynamic disk group, the dynamic disk group must be destroyed. The last disk in the
rootdg dynamic disk group can never be removed.
Any non-redundant volumes on the removed disk become disabled.