Veritas Storage Foundation Portable Data Containers: Cross-Platform Data Sharing 5.0.1 Administrators Guide, HP-UX 11i v3, First Edition, November 2009
The format defaults to cdsdisk unless this is overridden by the
/etc/default/vxdisk file, or by specifying the disk format as an argument
to the format attribute.
See “Defaults files” on page 28.
See the vxdisksetup(1M) manual page.
Creating CDS disks by using vxdiskadm
To create a CDS disk by using the vxdiskadm command
■ Run the vxdiskadm command, and select the “Add or initialize one or
more disks” item from the main menu. You are prompted to specify the format.
Warning: On CDS disks, the CDS information occupies the first sector of that
disk, and there is no fdisk partition information. Attempting to create an
fdisk partition (for example, by using the fdisk or format commands) erases
the CDS information, and can cause data corruption.
Creating CDS disks from initialized VxVM disks
How you create a CDS disk depends on the current state of the disk, as follows:
■ Creating a CDS disk from a disk that is not in a disk group
■ Creating a CDS disk from a disk that is already in a disk group
Creating a CDS disk from a disk that is not in a disk group
To create a CDS disk from a disk that is not in a disk group
1
Run the following command to remove the VM disk format for the disk:
# vxdiskunsetup disk
This is necessary as non-auto types cannot be reinitialized by vxdisksetup.
2
If the disk is listed in the /etc/vx/darecs file, remove its disk access (DA)
record using the command:
# vxdisk rm disk
(Disk access records that cannot be configured by scanning the disks are
stored in an ordinary file, /etc/vx/darecs, in the root file system. Refer to
the vxintro(1M) manual page for more information.)
Setting up your system
Creating CDS disks from initialized VxVM disks
22