From 6f18e9b608fad2e6951e79eed19923d96ff913a0 Mon Sep 17 00:00:00 2001 From: outreal Date: Fri, 16 Jul 2021 22:11:36 +0200 Subject: [PATCH] updated results of help command under weed shell --- weed-shell.md | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/weed-shell.md b/weed-shell.md index 3c89409..a8631e9 100644 --- a/weed-shell.md +++ b/weed-shell.md @@ -3,10 +3,7 @@ ``` $ weed shell > help -Type: "help " for help on - bucket.create # create a bucket with a given name - bucket.delete # delete a bucket by a given name - bucket.list # list all buckets +Type: "help " for help on . Most commands support " -h" also for options. collection.delete # delete specified collection collection.list # list all collections ec.balance # balance all ec shards among all racks and volume servers @@ -15,6 +12,7 @@ Type: "help " for help on ec.rebuild # find and rebuild missing ec shards among volume servers fs.cat # stream the file content on to the screen fs.cd # change directory to a directory /path/to/dir + fs.configure # configure and apply storage options for each location fs.du # show disk usage fs.ls # list all files under a directory fs.meta.cat # print out the meta data content for a file or directory @@ -25,19 +23,30 @@ Type: "help " for help on fs.pwd # print out current directory fs.tree # recursively list all files under a directory lock # lock in order to exclusively manage the cluster + s3.bucket.create # create a bucket with a given name + s3.bucket.delete # delete a bucket by a given name + s3.bucket.list # list all buckets + s3.clean.uploads # clean up stale multipart uploads + s3.configure # configure and apply s3 options for each bucket unlock # unlock the cluster-wide lock volume.balance # balance all volumes among volume servers + volume.check.disk # check all replicated volumes to find and fix inconsistencies volume.configure.replication # change volume replication value volume.copy # copy a volume from one volume server to another volume server volume.delete # delete a live volume from one volume server volume.fix.replication # add replicas to volumes that are missing replicas volume.fsck # check all volumes to find entries not used by the filer volume.list # list all volumes + volume.mark # Mark volume writable or readonly from one volume server volume.mount # mount a volume from one volume server 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.move # change a volume from one disk type to another 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 + volume.vacuum # compact volumes if deleted entries are more than the limit + volumeServer.evacuate # move out all data on a volume server + volumeServer.leave # stop a volume server from sending heartbeats to the master ``` For example: