Veritas 4.1 Installation Guide (HP-UX 11i v3, February 2007)

NOTE: In releases prior to VxVM 3.5, the default disk group was rootdg (the root disk
group). For VxVM 3.5 to function, the rootdg disk group had to exist, and it had to contain
at least one disk. This is no longer required in VxVM 4.1. However, you can still create a
root disk group as a system wide default disk group. For operations that require a disk
group, the system wide default disk group is used if the VxVM command do not explicitly
mention the disk group with the -g option. The main advantage of creating a default disk
group is that VxVM commands default to the default disk group, and you do not need to
use the -g option.
4. Verify the default disk group that is created:
# vxdg defaultdg
See vxdg (1M), for more information on the supported options.
5. Define or change the name of the default disk group at a later time:
# vxdctl defaultdg diskgroup
See vxdctl (1M), for more information on the supported options.
This completes the installation of VxVM.
Managing Disks with VxVM
You can add and manage disks under VxVM by using the menu driven vxdiskadm utility.
Add and initialize disk as follows:
1. Detect new disks:
# ioscan -fnC disk
See ioscan (1M), for more information on the supported options.
2. Install device files:
# insf C disk
See insf (1M), for more information on the supported options.
3. Invoke the vxdiskadm menu driven utility:
# vxdiskadm
See vxdiskadm (1M), for more information on the supported options.
Follow the on-screen instructions to complete adding and initializing the disk.
The steps to be followed in moving disks under VxVM control, depends on the following:
If the disk is new, it must be initialized and placed under VxVM control. You can use the
menu-based vxdiskadm utility to do this as mentioned above.
If the disk is not needed immediately, it can be initialized (but not added to a disk group)
and reserved for future use. Enter none when asked to name a disk group.
If the disk was previously initialized for future use by VxVM, it can be re-initialized and
placed under VxVM control.
If the disk was previously used for a file system, VxVM prompts you to confirm that you
really want to destroy the file system.
30 Setting up the Veritas 4.1 Products