Updated weed shell (markdown)

Chris Lu 2020-01-01 12:41:36 -08:00
parent 935dcfd1d0
commit 3da4bfa65a

@ -30,15 +30,9 @@ Type: "help <command>" for help on <command>
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