tencent cloud

Data Accelerator Goose FileSystem

Release Notes and Announcements
Release Notes
Product Selection Guide
GooseFSx
Product Introduction
Quick Start
Purchase Guide
Console Guide
Tool Guide
Practical Tutorial
Service Level Agreement
Glossary
GooseFS
Product Introduction
Billing Overview
Quick Start
Core Features
Console Guide
Developer Guide
Client Tools
Cluster Configuration Practice
Data Security
Service Level Agreement
GooseFS-Lite
GooseFS-Lite Tool
Practical Tutorial
Use GooseFS in Kubernetes to Speed Up Spark Data
Access Bucket Natively with POSIX Semantics Using GooseFS
GooseFS Distributedload Tuning Practice
FAQs
GooseFS Policy
Privacy Policy
Data Processing And Security Agreement

Introduction to Namespace Directives

PDF
Focus Mode
Font Size
Last updated: 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.



Help and Support

Was this page helpful?

Help us improve! Rate your documentation experience in 5 mins.

Feedback