Revision 949bdabe man/gnt-instance.sgml
b/man/gnt-instance.sgml | ||
---|---|---|
1225 | 1225 |
</cmdsynopsis> |
1226 | 1226 |
|
1227 | 1227 |
<para> |
1228 |
Reinstalls the operating system on the given instance. The instance |
|
1229 |
must be stopped when running this command. If the |
|
1230 |
<option>--os-type</option> is specified, the operating system is |
|
1231 |
changed. |
|
1228 |
Reinstalls the operating system on the given instance. The |
|
1229 |
instance must be stopped when running this command. If the |
|
1230 |
<option>--os-type</option> is specified, the operating |
|
1231 |
system is changed. |
|
1232 |
</para> |
|
1233 |
|
|
1234 |
<para> |
|
1235 |
Since reinstall is potentially dangerous command, the user |
|
1236 |
will be required to confirm this action, unless the |
|
1237 |
<option>-f</option> flag is passed. |
|
1232 | 1238 |
</para> |
1233 | 1239 |
|
1234 | 1240 |
<para> |
... | ... | |
1547 | 1553 |
<command>replace-disks</command> |
1548 | 1554 |
<arg>--submit</arg> |
1549 | 1555 |
<arg choice="req">-p</arg> |
1556 |
<arg>--disks <replaceable>idx</replaceable></arg> |
|
1550 | 1557 |
<arg choice="req"><replaceable>instance</replaceable></arg> |
1551 | 1558 |
</cmdsynopsis> |
1552 | 1559 |
|
... | ... | |
1554 | 1561 |
<command>replace-disks</command> |
1555 | 1562 |
<arg>--submit</arg> |
1556 | 1563 |
<arg choice="req">-s</arg> |
1564 |
<arg>--disks <replaceable>idx</replaceable></arg> |
|
1557 | 1565 |
<arg choice="req"><replaceable>instance</replaceable></arg> |
1558 | 1566 |
</cmdsynopsis> |
1559 | 1567 |
|
... | ... | |
1569 | 1577 |
</cmdsynopsis> |
1570 | 1578 |
|
1571 | 1579 |
<para> |
1572 |
This command is a generalized form for adding and replacing
|
|
1573 |
disks. It is currently only valid for the mirrored (DRBD)
|
|
1574 |
disk template.
|
|
1580 |
This command is a generalized form for replacing disks. It
|
|
1581 |
is currently only valid for the mirrored (DRBD) disk
|
|
1582 |
template. |
|
1575 | 1583 |
</para> |
1576 | 1584 |
|
1577 | 1585 |
<para> |
1578 | 1586 |
The first form (when passing the <option>-p</option> option) |
1579 | 1587 |
will replace the disks on the primary, while the second form |
1580 | 1588 |
(when passing the <option>-s</option> option will replace |
1581 |
the disks on the secondary node. |
|
1589 |
the disks on the secondary node. For these two cases (as the |
|
1590 |
node doesn't change), it is possible to only run the replace |
|
1591 |
for a subset of the disks, using the option |
|
1592 |
<option>--disks</option> which takes a list of |
|
1593 |
comma-delimited disk indices (zero-based), |
|
1594 |
e.g. <userinput>0,2</userinput> to replace only the first |
|
1595 |
and third disks. |
|
1582 | 1596 |
</para> |
1583 | 1597 |
|
1584 | 1598 |
<para> |
Also available in: Unified diff