Revision c8a96ae7 man/gnt-instance.rst
b/man/gnt-instance.rst | ||
---|---|---|
1329 | 1329 |
RECREATE-DISKS |
1330 | 1330 |
^^^^^^^^^^^^^^ |
1331 | 1331 |
|
1332 |
**recreate-disks** [--submit] [--disks=``indices``] {*instance*} |
|
1332 |
**recreate-disks** [--submit] [--disks=``indices``] [-n node1:[node2]] |
|
1333 |
{*instance*} |
|
1333 | 1334 |
|
1334 | 1335 |
Recreates the disks of the given instance, or only a subset of the |
1335 | 1336 |
disks (if the option ``disks`` is passed, which must be a |
... | ... | |
1340 | 1341 |
this is suboptimal, recreate-disks should hopefully not be needed in |
1341 | 1342 |
normal operation and as such the impact of this is low. |
1342 | 1343 |
|
1344 |
Optionally the instance's disks can be recreated on different |
|
1345 |
nodes. This can be useful if, for example, the original nodes of the |
|
1346 |
instance have gone down (and are marked offline), so we can't recreate |
|
1347 |
on the same nodes. To do this, pass the new node(s) via ``-n`` option, |
|
1348 |
with a syntax similar to the **add** command. The number of nodes |
|
1349 |
passed must equal the number of nodes that the instance currently |
|
1350 |
has. Note that changing nodes is only allowed for 'all disk' |
|
1351 |
replacement (when ``--disks`` is not passed). |
|
1352 |
|
|
1343 | 1353 |
The ``--submit`` option is used to send the job to the master daemon |
1344 | 1354 |
but not wait for its completion. The job ID will be shown so that it |
1345 | 1355 |
can be examined via **gnt-job info**. |
Also available in: Unified diff