Revision 893e8f49 man/gnt-instance.rst
b/man/gnt-instance.rst | ||
---|---|---|
1200 | 1200 |
REPLACE-DISKS |
1201 | 1201 |
^^^^^^^^^^^^^ |
1202 | 1202 |
|
1203 |
**replace-disks** [--submit] [--early-release] {-p} [--disks *idx*]
|
|
1204 |
{*instance*} |
|
1203 |
**replace-disks** [--submit] [--early-release] [--ignore-ipolicy] {-p}
|
|
1204 |
[--disks *idx*] {*instance*}
|
|
1205 | 1205 |
|
1206 |
**replace-disks** [--submit] [--early-release] {-s} [--disks *idx*]
|
|
1207 |
{*instance*} |
|
1206 |
**replace-disks** [--submit] [--early-release] [--ignore-ipolicy] {-s}
|
|
1207 |
[--disks *idx*] {*instance*}
|
|
1208 | 1208 |
|
1209 |
**replace-disks** [--submit] [--early-release] {--iallocator *name*
|
|
1210 |
\| --new-secondary *NODE*} {*instance*}
|
|
1209 |
**replace-disks** [--submit] [--early-release] [--ignore-ipolicy]
|
|
1210 |
{--iallocator *name* \| -- {*instance*}
|
|
1211 | 1211 |
|
1212 |
**replace-disks** [--submit] [--early-release] {--auto}
|
|
1213 |
{*instance*} |
|
1212 |
**replace-disks** [--submit] [--early-release] [--ignore-ipolicy]
|
|
1213 |
{--auto} {*instance*}
|
|
1214 | 1214 |
|
1215 | 1215 |
This command is a generalized form for replacing disks. It is |
1216 | 1216 |
currently only valid for the mirrored (DRBD) disk template. |
... | ... | |
1249 | 1249 |
broken) or when the storage on the primary node is known to be fine |
1250 | 1250 |
(thus we won't need the old storage for potential recovery). |
1251 | 1251 |
|
1252 |
The ``--ignore-ipolicy`` let the command ignore instance policy |
|
1253 |
violations if replace-disks changes groups and the instance would |
|
1254 |
violate the new groups instance policy. |
|
1255 |
|
|
1252 | 1256 |
Note that it is not possible to select an offline or drained node as a |
1253 | 1257 |
new secondary. |
1254 | 1258 |
|
Also available in: Unified diff