tencent cloud

Data Accelerator Goose FileSystem

Introduction to Namespace Directives

PDF
フォーカスモード
フォントサイズ
最終更新日: 2025-07-17 17:42:53
The GooseFS namespace is the basic management unit for GooseFS cached files. A namespace generally corresponds to a space or path on a UFS, for example, a specified bucket or its specified directory in COS. The following commands can be used to retrieve all command lists for a namespace:
goosefs ns [generic options]
The instructions for the namespace are as follows in the table:
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.



ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック