From 3e039592aa0425500d00fefe7be420610f9f5919 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Fri, 19 Nov 2010 11:17:12 +0100
Subject: [PATCH] Fix documentation regarding conversion to drbd
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: RenΓ© Nussbaumer <rn@google.com>
---
 doc/admin.rst         | 2 +-
 man/gnt-instance.sgml | 5 ++++-
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/doc/admin.rst b/doc/admin.rst
index 9e90df859..3daf40865 100644
--- a/doc/admin.rst
+++ b/doc/admin.rst
@@ -542,7 +542,7 @@ modify`` command::
 
   # later convert it to redundant
   gnt-instance stop INSTANCE
-  gnt-instance modify -t drbd INSTANCE
+  gnt-instance modify -t drbd -n NEW_SECONDARY INSTANCE
   gnt-instance start INSTANCE
 
   # and convert it back
diff --git a/man/gnt-instance.sgml b/man/gnt-instance.sgml
index 565b22a35..827d8227f 100644
--- a/man/gnt-instance.sgml
+++ b/man/gnt-instance.sgml
@@ -1585,7 +1585,10 @@ instance5: 11225
           The <option>-t</option> option will change the disk template
           of the instance. Currently only conversions between the
           plain and drbd disk templates are supported, and the
-          instance must be stopped before attempting the conversion.
+          instance must be stopped before attempting the
+          conversion. When changing from the plain to the drbd disk
+          template, a new secondary node must be specified via
+          the <option>-n</option> option.
         </para>
 
         <para>
-- 
GitLab