Veritas Volume Manager 5.0 Administrator's Guide (September 2006)
114 Administering disks
Enabling a disk
Enter the format that is appropriate for your needs. In most cases, this is the default
format, cdsdisk.
6 At the following prompt, vxdiskadm asks if you want to use the default private
region size of 32768 blocks (32 MB). Press Return to confirm that you want to use
the default value, or enter a different value. (The maximum value that you can
specify is 524288 blocks.)
Enter desired private region length [<privlen>,q,?]
(default: 32768)
7 The vxdiskadm program then proceeds to replace the disk, and returns the following
message on success:
VxVM NOTICE V-5-2-158 Disk replacement completed successfully.
At the following prompt, indicate whether you want to replace another disk (y) or
return to the vxdiskadm main menu (n):
Replace another disk? [y,n,q,?] (default: n)
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 9 (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.