xref: /titanic_41/usr/src/cmd/lvm/metassist/sysfiles/volume-defaults.dtd (revision a2bb96e7d59f447f59bc306e53b7d00e38594667)
1<?xml version="1.0" encoding="utf-8" ?>
2
3<!--
4    CDDL HEADER START
5
6    The contents of this file are subject to the terms of the
7    Common Development and Distribution License, Version 1.0 only
8    (the "License").  You may not use this file except in compliance
9    with the License.
10
11    You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
12    or http://www.opensolaris.org/os/licensing.
13    See the License for the specific language governing permissions
14    and limitations under the License.
15
16    When distributing Covered Code, include this CDDL HEADER in each
17    file and include the License file at usr/src/OPENSOLARIS.LICENSE.
18    If applicable, add the following below this CDDL HEADER, with the
19    fields enclosed by brackets "[]" replaced with your own identifying
20    information: Portions Copyright [yyyy] [name of copyright owner]
21
22    CDDL HEADER END
23
24   * Copyright 2003 Sun Microsystems, Inc.  All rights reserved.
25   * Use is subject to license terms.
26   *
27   * ident	"%Z%%M%	%I%	%E% SMI"
28   *
29   * Describes the system- and diskset-wide defaults for new volume
30   * requests used by metassist(1M).  Both global and diskset-specific
31   * defaults can be specified.
32   *
33   * See volume-request(4) for a detailed description of the syntax.
34   -->
35<!ELEMENT volume-defaults ((available|unavailable)*,(hsp|concat|stripe|mirror|volume)*,diskset*)>
36
37<!--
38   *
39   * Specify global defaults
40   *
41   -->
42
43<!-- Specify device to use instead of defaults -->
44<!ELEMENT available EMPTY>
45<!ATTLIST available name CDATA #REQUIRED>
46
47<!-- Specify device not to use -->
48<!ELEMENT unavailable EMPTY>
49<!ATTLIST unavailable name CDATA #REQUIRED>
50
51<!ELEMENT hsp EMPTY>
52<!ATTLIST hsp name CDATA #IMPLIED>
53
54<!ELEMENT concat EMPTY>
55<!ATTLIST concat usehsp (TRUE|FALSE) #IMPLIED>
56
57<!ELEMENT stripe EMPTY>
58<!ATTLIST stripe interlace CDATA #IMPLIED>
59<!ATTLIST stripe maxcomp CDATA #IMPLIED>
60<!ATTLIST stripe mincomp CDATA #IMPLIED>
61<!ATTLIST stripe usehsp (TRUE|FALSE) #IMPLIED>
62
63<!ELEMENT mirror EMPTY>
64<!ATTLIST mirror nsubmirrors CDATA #IMPLIED>
65<!ATTLIST mirror read (ROUNDROBIN|GEOMETRIC|FIRST) #IMPLIED>
66<!ATTLIST mirror write (PARALLEL|SERIAL) #IMPLIED>
67<!ATTLIST mirror passnum CDATA #IMPLIED>
68<!ATTLIST mirror usehsp (TRUE|FALSE) #IMPLIED>
69
70<!ELEMENT volume EMPTY>
71<!ATTLIST volume redundancy CDATA #IMPLIED>
72<!ATTLIST volume datapaths CDATA #IMPLIED>
73<!ATTLIST volume faultrecovery (TRUE|FALSE) #IMPLIED>
74
75<!--
76   *
77   * Specify per-disk set defaults
78   *
79   -->
80
81<!ELEMENT diskset ((available|unavailable)*,hsp?,(concat|stripe|mirror|volume)*)>
82<!ATTLIST diskset name CDATA #REQUIRED>
83