Veritas Storage Foundation Cross-Platform Data Sharing 5.0 AdministratorÆs Guide, HP-UX 11i v3, First Edition, May 2008

20 Setting up your system
Creating CDS disks from initialized VxVM disks
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.)
3 Rescan for the disk using this command:
# vxdisk scandisks
4 Type this command to set up the disk:
# vxdisksetup -i
disk
Creating a CDS disk from a disk that is already in a disk group
To create a CDS disk from a disk that is already in a disk group, run the
vxcdsconvert command.
See “Converting non-CDS disks to CDS disks” on page 22.
Creating CDS disk groups
You can create a CDS disk group in the following ways: