mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Updated weed shell (markdown)
parent
88f8cec797
commit
58b04cb505
|
@ -4,7 +4,11 @@
|
||||||
$ weed shell
|
$ weed shell
|
||||||
> help
|
> help
|
||||||
Type: "help <command>" for help on <command>. Most commands support "<command> -h" also for options.
|
Type: "help <command>" for help on <command>. Most commands support "<command> -h" also for options.
|
||||||
|
cluster.check # check current cluster network connectivity
|
||||||
cluster.ps # check current cluster process status
|
cluster.ps # check current cluster process status
|
||||||
|
cluster.raft.add # add a server to the raft cluster
|
||||||
|
cluster.raft.ps # check current raft cluster status
|
||||||
|
cluster.raft.remove # remove a server from the raft cluster
|
||||||
collection.delete # delete specified collection
|
collection.delete # delete specified collection
|
||||||
collection.list # list all collections
|
collection.list # list all collections
|
||||||
ec.balance # balance all ec shards among all racks and volume servers
|
ec.balance # balance all ec shards among all racks and volume servers
|
||||||
|
@ -17,15 +21,19 @@ Type: "help <command>" for help on <command>. Most commands support "<command> -
|
||||||
fs.du # show disk usage
|
fs.du # show disk usage
|
||||||
fs.ls # list all files under a directory
|
fs.ls # list all files under a directory
|
||||||
fs.meta.cat # print out the meta data content for a file or directory
|
fs.meta.cat # print out the meta data content for a file or directory
|
||||||
|
fs.meta.changeVolumeId # change volume id in existing metadata.
|
||||||
fs.meta.load # load saved filer meta data to restore the directory and file structure
|
fs.meta.load # load saved filer meta data to restore the directory and file structure
|
||||||
fs.meta.notify # recursively send directory and file meta data to notifiction message queue
|
fs.meta.notify # recursively send directory and file meta data to notification message queue
|
||||||
fs.meta.save # save all directory and file meta data to a local file for metadata backup.
|
fs.meta.save # save all directory and file meta data to a local file for metadata backup.
|
||||||
fs.mkdir # create a directory
|
fs.mkdir # create a directory
|
||||||
fs.mv # move or rename a file or a folder
|
fs.mv # move or rename a file or a folder
|
||||||
fs.pwd # print out current directory
|
fs.pwd # print out current directory
|
||||||
fs.rm # remove file and directory entries
|
fs.rm # remove file and directory entries
|
||||||
fs.tree # recursively list all files under a directory
|
fs.tree # recursively list all files under a directory
|
||||||
|
fs.verify # recursively verify all files under a directory
|
||||||
lock # lock in order to exclusively manage the cluster
|
lock # lock in order to exclusively manage the cluster
|
||||||
|
mount.configure # configure the mount on current server
|
||||||
|
mq.topic.list # print out all topics
|
||||||
remote.cache # cache the file content for mounted directories or files
|
remote.cache # cache the file content for mounted directories or files
|
||||||
remote.configure # remote storage configuration
|
remote.configure # remote storage configuration
|
||||||
remote.meta.sync # synchronize the local file meta data with the remote file metadata
|
remote.meta.sync # synchronize the local file meta data with the remote file metadata
|
||||||
|
@ -38,6 +46,7 @@ Type: "help <command>" for help on <command>. Most commands support "<command> -
|
||||||
s3.bucket.list # list all buckets
|
s3.bucket.list # list all buckets
|
||||||
s3.bucket.quota # set/remove/enable/disable quota for a bucket
|
s3.bucket.quota # set/remove/enable/disable quota for a bucket
|
||||||
s3.bucket.quota.enforce # check quota for all buckets, make the bucket read only if over the limit
|
s3.bucket.quota.enforce # check quota for all buckets, make the bucket read only if over the limit
|
||||||
|
s3.circuitBreaker # configure and apply s3 circuit breaker options for each bucket
|
||||||
s3.clean.uploads # clean up stale multipart uploads
|
s3.clean.uploads # clean up stale multipart uploads
|
||||||
s3.configure # configure and apply s3 options for each bucket
|
s3.configure # configure and apply s3 options for each bucket
|
||||||
unlock # unlock the cluster-wide lock
|
unlock # unlock the cluster-wide lock
|
||||||
|
@ -58,6 +67,8 @@ Type: "help <command>" for help on <command>. Most commands support "<command> -
|
||||||
volume.tier.upload # upload the dat file of a volume to 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
|
||||||
volume.vacuum # compact volumes if deleted entries are more than the limit
|
volume.vacuum # compact volumes if deleted entries are more than the limit
|
||||||
|
volume.vacuum.disable # disable vacuuming request from Master, however volume.vacuum still works.
|
||||||
|
volume.vacuum.enable # enable vacuuming request from Master
|
||||||
volumeServer.evacuate # move out all data on a volume server
|
volumeServer.evacuate # move out all data on a volume server
|
||||||
volumeServer.leave # stop a volume server from sending heartbeats to the master
|
volumeServer.leave # stop a volume server from sending heartbeats to the master
|
||||||
```
|
```
|
||||||
|
|
Loading…
Reference in a new issue