Veritas Volume Manager 5.1 SP1 Administrator"s Guide (5900-1506, April 2011)

Removing a disk with no subdisks
To remove a disk that contains no subdisks from its disk group
Run the vxdiskadm program and select Remove a disk from the main menu,
and respond to the prompts as shown in this example to remove mydg02:
Enter disk name [<disk>,list,q,?] mydg02
VxVM NOTICE V-5-2-284 Requested operation is to remove disk
mydg02 from group mydg.
Continue with operation? [y,n,q,?] (default: y) y
VxVM INFO V-5-2-268 Removal of disk mydg02 is complete.
Clobber disk headers? [y,n,q,?] (default: n) y
Enter y to remove the disk completely from VxVM control. If you do not want
to remove the disk completely from VxVM control, enter n.
Removing a disk from VxVM control
After removing a disk from a disk group, you can permanently remove it from
Veritas Volume Manager control.
Warning: The vxdiskunsetup command removes a disk from Veritas Volume
Manager control by erasing the VxVM metadata on the disk. To prevent data loss,
any data on the disk should first be evacuated from the disk. The vxdiskunsetup
command should only be used by a system administrator who is trained and
knowledgeable about Veritas Volume Manager.
To remove a disk from VxVM control
Type the following command:
# /usr/lib/vxvm/bin/vxdiskunsetup c#t#d#
See the vxdiskunsetup(1m) manual page.
Removing and replacing disks
A replacement disk should have the same disk geometry as the disk that failed.
That is, the replacement disk should have the same bytes per sector, sectors per
Administering disks
Removing a disk from VxVM control
130