VERITAS Storage Foundation 4.1 Intelligent Storage Provisioning Administrator's Guide

Compound Rules
130 VERITAS Storage Foundation ISP Administrators Guide
volume_template Raid5Volume {
provides Raid5Capability, Raid5LogMirroring
rules {
parity true
stripe ncols - nmaxcols
log nlogs {
type raid5
}
}
};
striped
The striped rule indicates whether a volume or mirror is to be striped.
If striped is set to true, the number of columns is not necessarily greater than one as striping
can be implemented in hardware as well as software.
The following example demonstrates the application of the striped rule:
Define a template for providing reliability using mirrors, but where striping is not allowed:
volume_template ReliableConcat {
provides Reliable, Concat
rules {
mirror NMIRS
striped false
}
};
Compound Rules
Whether a rule applies to a volume, mirror, column or log depends on the scope in which the rule is
applied. Compound rules are composed of several other rules, and are used to specify the scope of
rules at a level below that of an entire volume. A compound rule can apply to one or more mirrors,
columns or logs of a volume. It can also define how redundancy and separation are to be
implemented for a volume.
Note No more than two levels of nesting of compound rules may be specified.
The following sections describe the various types of compound rule:
mirror
mirror_group
stripe