Veritas File System 5.0 Administrator's Guide (September 2006)
allocating and relocating files are expressed in the file system's file placement
policy.
A VxFS file placement policy defines the desired placement of sets of files on the
volumes of a VxFS multi-volume file system. A file placement policy specifies the
placement classes of volumes on which files should be created, and where and
under what conditions the files should be relocated to volumes in alternate
placement classes or deleted. You can create file placement policy documents,
which are XML text files, using either an XML or text editor, or a VxFS graphical
interface wizard.
The following output shows the overall structure of a placement policy:
<?xml version="1.0"?>
<!DOCTYPE PLACEMENT_POLICY [
<!-- The placement policy document definition file -->
<!-- Specification for PLACEMENT_POLICY element.
It can contain the following:
1. 0 or 1 COMMENT element
2. 1 or more RULE elements
-->
<!ELEMENT PLACEMENT_POLICY (COMMENT?, RULE+)>
<!-- The attributes of PLACEMENT_POLICY element -->
<!-- XML requires all attributes must be enclosed in double quotes -->
<!ATTLIST PLACEMENT_POLICY
Name CDATA #REQUIRED
Version (5.0) #REQUIRED
>
<!-- Specification for COMMENT element -->
<!ELEMENT COMMENT (#PCDATA)>
<!-- Specification for RULE element.
It can contain the following:
1. 0 or 1 COMMENT element
2. 1 or more SELECT elements
3. 0 or 1 CREATE element
4. 0 or more DELETE elements
5. 0 or more RELOCATE elements
The elements must appear in the above order, particularly,
DELETE elements, if any, must preceed RELOCATE elements, if any.
Dynamic Storage Tiering
File placement policy grammar
142