118Administering disks

Taking a disk offlinevxdiskadm enables the specified device.

3At the following prompt, indicate whether you want to enable another device (y) or return to the vxdiskadm main menu (n):

Enable another device? [y,n,q,?] (default: n)

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-swapremoval and insertion of disks without needing to shut down and reboot the system.

To take a disk offline

1Select menu item 10 (Disable (offline) a disk device) from the vxdiskadm main menu.

2At 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.

3At 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)