VERITAS Volume Manager 4.1 Administrator's Guide

Administering Disks
Taking a Disk Offline
Chapter 2 103
Taking a Disk Offline
There are instances when you must take a disk offline. If a disk is corrupted, you must disable
the disk before removing it. You must also disable a disk before moving the physical disk
device to another location to be connected to another system.
NOTE Taking a disk offline is only useful on systems that support hot-swap removal
and insertion of disks without needing to shut down and reboot the system.
To take a disk offline, use the vxdiskadm command:
Step 1. Select menu item 10 (Disable (offline) a disk device) from the vxdiskadm
main menu.
Step 2. At the following prompt, enter the address of the disk you want to disable:
Disable (offline) a disk device
Menu: VolumeManager/Disk/OfflineDisk
VxVM INFO V-5-2-474 Use this menu operation to disable all access to a disk
device by the Volume Manager. This operation can be applied only to disks that
are not currently in a disk group. Use this operation if you intend to remove a
disk from a system without rebooting.
NOTE: Many systems do not support disks that can be removed from a system during
normal operation. On such systems, the offline operation is seldom useful. Select
a disk device to disable [<address>,list,q,?] c0t2d0
The vxdiskadm program disables the specified disk.
Step 3. At the following prompt, indicate whether you want to disable another device (y)or
return to the vxdiskadm main menu (n):
Disable another device? [y,n,q,?] (default: n)