You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by ad...@apache.org on 2019/02/01 00:25:07 UTC

[kudu] branch master updated: [docs] An instruction to add repaired disk back to cluster

This is an automated email from the ASF dual-hosted git repository.

adar pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/master by this push:
     new d0490b3  [docs] An instruction to add repaired disk back to cluster
d0490b3 is described below

commit d0490b34dddfb1ca4dcb9255c5fc94b5cc4cfb2e
Author: Alex Rodoni <ar...@cloudera.com>
AuthorDate: Thu Jan 31 15:54:47 2019 -0800

    [docs] An instruction to add repaired disk back to cluster
    
    Change-Id: I4d268f62455a22899f3bf38a4bf4ad64db048457
    Reviewed-on: http://gerrit.cloudera.org:8080/12329
    Reviewed-by: Adar Dembo <ad...@cloudera.com>
    Tested-by: Kudu Jenkins
---
 docs/administration.adoc | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/docs/administration.adoc b/docs/administration.adoc
index ce3afad..9464628 100644
--- a/docs/administration.adoc
+++ b/docs/administration.adoc
@@ -1005,6 +1005,32 @@ leading to lower storage volume and reduced read parallelism. The administrator
 should schedule a brief window to <<change_dir_config,update the node's
 directory configuration>> to exclude the failed disk.
 
+When the disk is repaired, remounted, and ready to be reused by Kudu, take the
+following steps:
+
+. Make sure that the Kudu portion of the disk is completely empty.
+. Stop the tablet server.
+. Run the `update_dirs` tool. For example, to add `/data/3`, run the following:
++
+[source,bash]
+----
+$ sudo -u kudu kudu fs update_dirs --force --fs_wal_dir=/wals --fs_data_dirs=/data/1,/data/2, /data/3
+----
++
+
+. Start the tablet server.
+. Run `ksck` to verify cluster health.
++
+[source,bash]
+----
+sudo -u kudu kudu cluster ksck master-01.example.com
+----
++
+
+
+Note that existing tablets will not stripe to the restored disk, but any new tablets
+will stripe to the restored disk.
+
 [[disk_full_recovery]]
 === Recovering from Full Disks
 By default, Kudu reserves a small amount of space (1% by capacity) in its