Commit 0b0dea6a authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix gnt-instance man page for replace-disks

This patch documents the new syntax for disk changes with the drbd disk

Reviewed-by: ultrotter
parent f69dab6d
...@@ -688,23 +688,50 @@ ...@@ -688,23 +688,50 @@
<cmdsynopsis> <cmdsynopsis>
<command>replace-disks</command> <command>replace-disks</command>
<arg choice="opt">--new-secondary <replaceable>NODE</replaceable></arg>
<arg choice="req"><replaceable>instance</replaceable></arg>
<arg choice="req">-s</arg>
<arg choice="req">--new-secondary <replaceable>NODE</replaceable></arg> <arg choice="req">--new-secondary <replaceable>NODE</replaceable></arg>
<arg choice="req"><replaceable>instance</replaceable></arg> <arg choice="req"><replaceable>instance</replaceable></arg>
</cmdsynopsis> </cmdsynopsis>
<arg choice="req">-s</arg>
<arg choice="req">-p</arg>
<arg choice="req"><replaceable>instance</replaceable></arg>
<para> <para>
This command does a full add and replace for both disks of This command is a generalized form for adding and replacing
an instance. It basically does an disks.
<command>addmirror</command> and
<command>removemirror</command> for both disks of the
</para> </para>
<para> <para>
If you also want to replace the secondary node during this The first form is usable with the
process (for example to fix a broken secondary node), you <literal>remote_raid1</literal> disk template. This will
can do so using the <option>--new-secondary</option> option. replace the disks on both the primary and secondary node,
and optionally will change the secondary node to a new one
if you pass the <option>--new-secondary</option> option.
</para> </para>
The second and third forms are usable with the
<literal>drbd</literal> disk template. The second form will
do a secondary replacement, but as opposed to the
<literal>remote_raid1</literal> will not replace the disks
on the primary, therefore it will execute faster. The third
form will replace the disks on either the primary
(<option>-p</option>) or the secondary (<option>-s</option>)
node of the instance only, without changing the node.
</refsect3> </refsect3>
<refsect3> <refsect3>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment