Administering disks 117

Enabling a disk

8After using the vxdiskadm command to replace one or more failed disks in a VxVM cluster, run the following command on all the cluster nodes:

# vxdctl enableThen run the following command on the master node:#vxreattach -r accesname

where accessname is the disk access name (such as c0t1d0). This initiates the recovery of all the volumes on the disks.

Alternatively, halt the cluster, reboot all the cluster nodes, and restart the cluster.

If you do not perform this step for a cluster, the nodes may not be able to see the disks, and the error Device path not valid will be displayed.

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

1Select menu item 9 (Enable (online) a disk device) from the vxdiskadm main menu.

2At 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 deviceMenu: 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 [<address>,list,q,?] c0t2d0