From 65c6425489cac38f4d54b955bc64abc123fa30c5 Mon Sep 17 00:00:00 2001 From: Hannes von Haugwitz Date: Wed, 12 Jun 2019 15:18:17 +0200 Subject: [PATCH] doc: update mondb recovery script - be specific about stopped OSDs - add missing '--no-mon-config' option - fix indent of here script delimiting identifier - use $host variable in for loop Signed-off-by: Hannes von Haugwitz --- doc/rados/troubleshooting/troubleshooting-mon.rst | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/rados/troubleshooting/troubleshooting-mon.rst b/doc/rados/troubleshooting/troubleshooting-mon.rst index ae6cfa53008..b2f3a2137a9 100644 --- a/doc/rados/troubleshooting/troubleshooting-mon.rst +++ b/doc/rados/troubleshooting/troubleshooting-mon.rst @@ -419,16 +419,16 @@ information stored in OSDs.:: ms=/root/mon-store mkdir $ms - # collect the cluster map from OSDs + # collect the cluster map from stopped OSDs for host in $hosts; do - rsync -avz $ms/. user@host:$ms.remote + rsync -avz $ms/. user@$host:$ms.remote rm -rf $ms - ssh user@host <