Veritas 4.1 Installation Guide (HP-UX 11i v3, February 2007)
See vxdg (1M), for more information on the supported options.
• Creating Disk Groups
You can create a disk group in one of the following ways:
— Use option 1 (Add or initialize one or more disks) of the vxdiskadm
command
— Use vxdiskadd command.
# vxdiskadd <disk_name>
See vxdiskadd (1M), for more information on the supported options.
— Use the vxdg init command:
# vxdg init <diskgroup> [cds=on|off] diskname=<devicename>
See vxdg (1M), for more information on the supported options.
• Adding Disks to Disk Groups
You can add a disk to a disk group in one of the following ways:
— Use option 1 (Add or initialize one or more disks) of the vxdiskadm
command.
— Use the vxdiskadd command to add a disk to a disk group
# vxdiskadd <disk_name>
See vxdiskadd (1M), for more information on the supported options.
• Deporting Disk Groups
Deporting a disk group disables access to a disk group that is currently enabled (imported)
by the system. Deport a disk group if you intend to move the disks in a disk group to another
system or if you want to use all of the disks remaining in a disk group for a new purpose.
You can deport a disk group in one of the following ways:
— Use option 8 (Remove access to (deport) a disk group) from the vxdiskadm
main menu.
— Use the vxdg command as follows:
# vxdg deport <diskgroup>
See vxdg (1M), for more information on the supported options.
• Importing a Disk Group
Importing a disk group enables access by the system to a disk group.
You can import a disk group in one of the following ways:
— Use option 7 (Enable access to (import) a disk group) the vxdiskadm
command.
— Use the vxdg command to import a disk group:
# vxdg import <diskgroup>
See vxdg (1M), for more information on the supported options.
• Renaming a Disk Group
Only one disk group of a given name can exist per system. It is not possible to import or
deport a disk group when the target system already has a disk group of the same name. To
avoid this problem, VxVM allows you to rename a disk group during import or deport.
— Rename a Disk Group During Import
Rename a disk group during import:
# vxdg [-t] -n <newdg> import <diskgroup>
32 Setting up the Veritas 4.1 Products