Release Notes
goosefs ns [generic options]
Command Operation | Instruction Description |
cacheRestrict -apply <config> | Apply the specified cache policy configuration to the specified namespace. |
cacheRestrictList [-all] [<namespace>] | Set all cache policy configurations for the specified namespace. |
create <namespace> <CosN/Chdfs path> <--wPolicy <1-6>> <--rPolicy <1-3>> [--readonly] [--shared] [--secret fs.cosn.userinfo.secretId=<**********************************>] [--secret fs.cosn.userinfo.secretKey=**************************] [--attribute fs.ofs.userinfo.appid=1200000000][--attribute fs.cosn.bucket.region=<ap-xxx>/fs.cosn.bucket.endpoint_suffix=<cos.ap-xxx.myqcloud.com>] | Create a namespace with the specified name. |
delete <namespace> | Delete the namespace with the specified name. |
help [<command>] | Get Namespace instruction help. |
ls [-r|--sort=option|--timestamp=option] | List the namespace list on the current cluster according to the filter conditions. |
setPolicy [--wPolicy <1-6>] [--rPolicy <1-3>] <namespace> | Set the cache policy for the specified namespace. |
setTtl [--action delete_only_goosefs|delete|free] <namespace> <time to live> | Set the TTL policy for the specified namespace. |
stat <namespace> | Get the statistics of the specified namespace. |
unsetPolicy <namespace> | Reset the cache policy for the specified namespace. |
unsetTtl <namespace> | Reset the TTL policy for the specified namespace. |
update <namespace> [--readonly] [--shared] [--secret <key=value>] [--attribute <key=value>] | Update the attributes of the specified namespace. |
피드백