From cc2910127c803d9f1412f1405dbe7f8e4e068aa8 Mon Sep 17 00:00:00 2001
From: Iustin Pop <iustin@google.com>
Date: Tue, 13 Oct 2009 14:12:57 +0200
Subject: [PATCH] Update documentation for recreate-disks

This also clarifies the UUIDs NEWS entry.

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Michael Hanselmann <hansmi@google.com>
---
 NEWS                  | 4 +++-
 man/gnt-instance.sgml | 8 ++++++++
 2 files changed, 11 insertions(+), 1 deletion(-)

diff --git a/NEWS b/NEWS
index 59dda19dd..7e017439a 100644
--- a/NEWS
+++ b/NEWS
@@ -55,6 +55,8 @@ Details
   cluster destruction
 - Added automatic mode for disk replace (``gnt-instance replace-disks
   --auto``)
+- Added ``gnt-instance recreate-disks`` to re-create (empty) disks
+  after catastrophic data-loss
 - Added ``gnt-node repair-volume`` command to repair damanged LVM volume
   groups
 - Added ``gnt-instance move`` command to move instances
@@ -64,7 +66,7 @@ Details
 - Added parseable error codes to cluster verification (``gnt-cluster
   verify --error-codes``) and made output less verbose (use
   ``--verbose`` to restore previous behaviour)
-- Added UUIDs to all config entities
+- Added UUIDs to the main config entities (cluster, nodes, instances)
 - Added support for OS variants
 - Added more unittests
 - Fixed critical bug in ganeti-masterd startup
diff --git a/man/gnt-instance.sgml b/man/gnt-instance.sgml
index e5946ca9f..a40452138 100644
--- a/man/gnt-instance.sgml
+++ b/man/gnt-instance.sgml
@@ -1974,6 +1974,14 @@ node1.example.com:disk/1:/dev/drbd1
           indices, starting from zero).
         </para>
 
+        <para>
+          Note that this functionality should only be used for missing
+          disks; if any of the given disks already exists, the
+          operation will fail. While this is suboptimal,
+          recreate-disks should hopefully not be needed in normal
+          operation and as such the impact of this is low.
+        </para>
+
         <para>
           The <option>--submit</option> option is used to send the job to
           the master daemon but not wait for its completion. The job
-- 
GitLab