12132017Headline:

Enable disk in Veritas Volume Manager

Enabling a disk

If you move a disk from one system to another during normal system operation, VxVM does not recognize the disk automatically. The enable disk task enables VxVM to identify the disk and to determine if this disk is part of a disk group. Also, this task re-enables access to a disk that was disabled by either the disk group deport task or the disk device disable (offline) task.

To enable a disk

1.Select menu item 10 (Enable (online) a disk device) from the vxdiskadm main menu.
2.At the following prompt, enter the device name of the disk to be enabled (or enter list for a list of devices):
Enable (online) a disk device

Menu: VolumeManager/Disk/OnlineDisk

VxVM INFO V-5-2-998 Use this operation to enable access to a

disk that was disabled with the “Disable (offline) a disk

device” operation.

You can also use this operation to re-scan a disk that may have

been changed outside of the Volume Manager. For example, if a

disk is shared between two systems, the Volume Manager running

on the other system may have changed the disk. If so, you can

use this operation to re-scan the disk.

NOTE: Many vxdiskadm operations re-scan disks without user

intervention. This will eliminate most needs to online a

disk directly, except when the disk is directly offlined.

Select a disk device to enable [

,list,q,?]

c0t2d0s2

vxdiskadm enables the specified device.

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

You can also issue the command vxdctl enable after a hot disk swap. This enables VxVM to recognize the new disk and any paths to it that are available through Dynamic Multipathing (DMP).

What Next

Recent Articles

Leave a Reply

Submit Comment