 |
» |
|
|
 |
You must place a disk under Volume Manager control, or add
it to a disk group, before you can use the disk space for volumes.
If the disk was previously in use, but not under Volume Manager
control, you can preserve existing data on the disk while still
letting the Volume Manager take control of the disk. If the user
wants to bring all the non LVM disks under control, they are considered
as fresh disks. LVM volume groups can only be converted to VxVM
disk groups. If the disk was previously not under Volume Manager
control, but no data is required to be preserved, it should be initialized.  |  |  |  |  | NOTE: See the VERITAS Volume Manager Migration
Guide for more information on conversion. |  |  |  |  |
To add a disk, use the following command: where devname is the device name of the disk to be added. To add the device c1t0d0 to Volume Manager control, perform the following
steps: Enter the following to start the
vxdiskadd program: To continue with the task, enter y (or press Return) at the following prompt: Add or initialize disks Menu: VolumeManager/Disk/AddDisks Here is the disk selected. Output format: [Device_Name] c1t0d0 Continue operation? [y,n,q,?] (default: y) y |
At the following prompt, specify the disk group to which
the disk should be added or press Return to accept rootdg: You can choose to add this disk to an existing disk group, a new disk group, or leave the disk available for use by future add or replacement operations. To create a new disk group, select a disk group name that does not yet exist. To leave the disk available for future use, specify a disk group name of "none". Which disk group [<group>,none,list,q,?] (default: rootdg) |
At the following prompt, either press Return to accept
the default disk name or enter a disk name: Use a default disk name for the disk? [y,n,q,?] (default: y) |
When prompted as to whether this disk should become
a hot-relocation spare, enter n (or press Return): Add disk as a spare disk for rootdg? [y,n,q,?] (default: n) n |
When the vxdiskadm program prompts whether to exclude this disk from
hot-relocation use, enter n (or press Return). Exclude disk from hot-relocation use? [y,n,q,?] (default: n) |
To continue with the task, enter y (or press Return) at the following prompt: The selected disks will be added to the disk group rootdg with default disk names. c1t0d0 Continue with operation? [y,n,q,?] (default: y) y |
Messages similar to the following are displayed while
the disk device is initialized and added to the disk group selected
by you: c1t0d0 Initializing device c1t0d0. Adding disk device c0t1d0 to disk group rootdg with disk name disk01. Goodbye.
|
|