< Previous | Next > | |
Product: Storage Foundation Guides | |
Manual: Storage Foundation 4.1 Cross-Platform Data Sharing Administrator's Guide |
CDS Disk Access and FormatFor a disk to be accessible by multiple platforms, the disk must be consistently recognized by the platforms, and all platforms must be capable of performing I/O on the disk. CDS disks contain specific content at specific locations to identify or control access to the disk on different platforms. The same content and location are used on all CDS disks, independent of the platform on which the disks are initialized. In order for a disk to be initialized as, or converted to a CDS disk, it must satisfy the following requirements:
Note The CDS conversion utility, vxcdsconvert, is provided to convert non-CDS VM disk formats to CDS disks, and disk groups with a version number less than 110 to disk groups that support CDS disks. See Setting up Your System for more details. Disk groups with version numbers less than 110 are not supported for the Solaris OS on the x64 platform. CDS Disk TypesThe CDS disk format, cdsdisk, is recognized by all VxVM platforms (including Windows). This is the default disk format for all newly created VM disks unless overridden in a defaults file (see Defaults Files). The vxcdsconvert utility is provided to convert other disk formats and types to CDS. Note Disks with format cdsdisk can only be added to disk groups with version 110 or later. Private and Public RegionsA VM disk usually has a private and a public region. The private region is a small area on the disk where VxVM configuration information is stored, such as a disk header label, configuration records for VxVM objects (such as volumes, plexes and subdisks), and an intent log for the configuration database. The default private region size is 2048 blocks (equivalent to 1024 kilobytes on AIX, Linux and the Solaris OS, and 2048 kilobytes on HP-UX), which is large enough to record the details of about 4000 VxVM objects in a disk group. The public region covers the remainder of the disk, and is used for the allocation of storage space to subdisks. The private and public regions are aligned and sized in multiples of 8K to permit the operation of CDS. The alignment of VxVM objects within the public region is controlled by the disk group alignment attribute. The value of this attribute must also be 8k to permit the operation of CDS. Note With other (non-CDS) VxVM disk formats, the private and public regions are aligned to the platform-specific OS block size. Disk Access Type autoThe disk access (DA) disk type auto supports multiple disk formats, including cdsdisk, which is supported across all platforms. It is associated with the DA records created by the VxVM auto-configuration mode. Disk type auto automatically determines which format is on the disk. Platform BlockThe Platform Block resides on disk sector 0, and contains data specific to the Operating System for the platforms. It is necessary for proper interaction with each of those platforms. The platform block allows a disk to perform as if it was initialized by each of the specific platforms. AIX Coexistence LabelThe AIX Coexistence label resides on the disk, and identifies the disk to the AIX volume manager (LVM) as being controlled by VxVM. HP-UX Coexistence LabelThe HP-UX Coexistence label resides on the disk, and identifies the disk to the HP volume manager (LVM) as being controlled by VxVM. VxVM ID BlockThe VxVM ID block resides on the disk, and indicates the disk is under VxVM control. It provides dynamic VxVM private region location and other information. CDS Disk GroupsA CDS disk group allows cross-platform data sharing of VxVM objects, so that data written on one of the supported platforms may be accessed on any other supported platform. A CDS disk group is composed only of CDS disks (VM disks with the disk format cdsdisk), and is only available for disk group version 110 and greater. Note The CDS conversion utility, vxcdsconvert, is provided to convert non-CDS VM disk formats to CDS disks, and disk groups with a version number less than 110 to disk groups that support CDS disks. See Setting up Your System for more details. All VxVM objects in a CDS disk group are aligned and sized so that any system can access the object using its own representation of an I/O block. The CDS disk group uses a platform-independent alignment value to support system block sizes of up to 8K. See Disk Group Alignment for details.
You cannot include the following disks or volumes in a CDS disk group:
Note On Solaris and Linux systems, the process of disk encapsulation places the slices or partitions on a disk (which may contain data or file systems) under VxVM control. On AIX and HP-UX systems, LVM volumes may be similarly be converted to VxVM volumes. Device QuotasDevice quotas limit the number of objects in the disk group which create associated device nodes in the file system. (This is useful for disk groups which share serially between Linux with a pre-2.6 kernel and other supported platforms. Prior to the 2.6 kernel, Linux supported only 256 minor devices per major device.) You can limit the number of devices that can be created in a given CDS disk group by setting the device quota (refer to Setting Device Quotas for CDS Disk Groups). When you create a device, an error is returned if the number of devices would exceed the device quota. You then either need to increase the quota, or remove some objects using device numbers, before the device can be created. See also Displaying Device Quotas for CDS Disk Groups for instructions on displaying the device quota value. Minor Device NumbersImporting a disk group will fail if it will exceed the maximum devices for that platform. Note There is a large disparity between the maximum number of devices allowed for devices on the Linux platform with a pre-2.6 kernel, and that for other supported platforms. |
^ Return to Top | < Previous | Next > |
Product: Storage Foundation Guides | |
Manual: Storage Foundation 4.1 Cross-Platform Data Sharing Administrator's Guide | |
VERITAS Software Corporation
www.veritas.com |