aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_volume_fix_replication.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@uber.com>2019-03-23 11:54:26 -0700
committerChris Lu <chris.lu@uber.com>2019-03-23 11:54:26 -0700
commitbd1c0735e0bc3bf7a24ec948372b72a4a9652d03 (patch)
tree0cd37c6688a45e0998f178e53185eea4004a7bca /weed/shell/command_volume_fix_replication.go
parent6b70b3610530d9b3637fd4179a0f2cecc5541fdd (diff)
downloadseaweedfs-bd1c0735e0bc3bf7a24ec948372b72a4a9652d03.tar.xz
seaweedfs-bd1c0735e0bc3bf7a24ec948372b72a4a9652d03.zip
weed shell: adjust help text format
Diffstat (limited to 'weed/shell/command_volume_fix_replication.go')
-rw-r--r--weed/shell/command_volume_fix_replication.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/weed/shell/command_volume_fix_replication.go b/weed/shell/command_volume_fix_replication.go
index 6a76ba458..2ec850140 100644
--- a/weed/shell/command_volume_fix_replication.go
+++ b/weed/shell/command_volume_fix_replication.go
@@ -26,7 +26,12 @@ func (c *commandVolumeFixReplication) Name() string {
func (c *commandVolumeFixReplication) Help() string {
return `add replicas to volumes that are missing replicas
- -n do not take action
+ This command file all under-replicated volumes, and find volume servers with free slots.
+ If the free slots satisfy the replication requirement, the volume content is copied over and mounted.
+
+ volume.fix.replication -n # do not take action
+ volume.fix.replication # actually copying the volume files and mount the volume
+
`
}