Revision c0e4a2c3 man/gnt-instance.sgml

b/man/gnt-instance.sgml
65 65
        <cmdsynopsis>
66 66
          <command>add</command>
67 67
          <sbr>
68
          <arg rep="repeat">--disk=<replaceable>N</replaceable>:size=<replaceable>VAL</replaceable><arg>,mode=<replaceable>ro|rw</replaceable></arg></arg>
68
          <arg choice="req">-t<group choice="req">
69
              <arg>diskless</arg>
70
              <arg>file</arg>
71
              <arg>plain</arg>
72
              <arg>drbd</arg>
73
            </group></arg>
74
          <sbr>
75

  
76
          <group choice="req">
77
            <arg rep="repeat">--disk=<replaceable>N</replaceable>:size=<replaceable>VAL</replaceable><arg>,mode=<replaceable>ro|rw</replaceable></arg></arg>
78
            <arg>-s <replaceable>SIZE</replaceable></arg>
79
          </group>
69 80
          <sbr>
70 81
          <group>
71 82
            <arg rep="repeat">--net=<replaceable>N</replaceable><arg rep="repeat">:options</arg></arg>
......
85 96
            </group></arg>
86 97
          <sbr>
87 98

  
88
          <arg choice="req">-t<group choice="req">
89
              <arg>diskless</arg>
90
              <arg>file</arg>
91
              <arg>plain</arg>
92
              <arg>drbd</arg>
93
            </group></arg>
94
          <sbr>
95

  
96 99
          <group choice="req">
97 100
            <arg>-n <replaceable>node<optional>:secondary-node</optional></replaceable></arg>
98 101
            <arg>--iallocator <replaceable>name</replaceable></arg>
......
128 131
        </para>
129 132

  
130 133
        <para>
134
          Alternatively, a single-disk instance can be created via the
135
          <option>-s</option> option which takes a single argument,
136
          the size of the disk. This is similar to the Ganeti 1.2
137
          version (but will only create one disk).
138
        </para>
139

  
140
        <para>
131 141
          The minimum disk specification is therefore
132
          <userinput>--disk 0:size=20G</userinput>, and a three-disk
133
          instance can be specified as <userinput>--disk 0:size=20G
134
            --disk 1:size=4G --disk 2:size=100G</userinput>.
142
          <userinput>--disk 0:size=20G</userinput> (or <userinput>-s
143
          20G</userinput> when using the <option>-s</option> option),
144
          and a three-disk instance can be specified as
145
          <userinput>--disk 0:size=20G --disk 1:size=4G --disk
146
          2:size=100G</userinput>.
135 147
        </para>
136 148

  
137 149
        <para>

Also available in: Unified diff