From 3da4bfa65a8cf4e43c51aaf7dc530480440f00ed Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Wed, 1 Jan 2020 12:41:36 -0800 Subject: [PATCH] Updated weed shell (markdown) --- weed-shell.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/weed-shell.md b/weed-shell.md index cede73c..541f551 100644 --- a/weed-shell.md +++ b/weed-shell.md @@ -30,15 +30,9 @@ Type: "help " for help on volume.move # move a live volume from one volume server to another volume server volume.tier.download # download the dat file of a volume from a remote tier volume.tier.upload # upload the dat file of a volume to a remote tier - volume.unmount # unmount a volume from one volume server``` + volume.unmount # unmount a volume from one volume server +``` -Here are some operations currently support -* For master and volume servers - * list all collections - * list all volumes - * fix volumes that are under replicated -* For filer - * show disk usage for a folder or file For example: ``` @@ -48,7 +42,7 @@ block: 4 byte: 4012896 /some/path block: 5 byte: 4700786 /some ``` -Sometimes one of your volume server may go down, and a new volume server is added. Here is the command you can run to fix volumes that are under replicated: +Another example: sometimes one of your volume server may go down, and a new volume server is added. Here is the command you can run to fix volumes that are under replicated: ``` # check any volume that are under replicated, and there are servers that meet the replica placement requirement $ echo "volume.fix.replication -n " | weed shell