FAQ
JUICE module frequently asked questions.
Port Conflicts?
Multiple instances on the same node must use different port values. Example:
Why does changing data not take effect?
data is only used by juicefs format --no-update. After filesystem creation it will not change.
To switch backend, migrate data and reformat manually.
How to add a new instance?
- Add instance definition in config
- Run:
How to remove an instance?
- Set instance
statetoabsent - Run:
Removal does not delete PostgreSQL metadata or object storage data.
juice_register refreshes the target file; running only juice_clean leaves a stale monitoring scrape endpoint.
Where is file data stored?
Depends on data:
--storage postgres: JuiceFS creates ajfs_blobtable in the PostgreSQL database selected by--bucket--storage minio/s3: data is stored in a Silo/S3-compatible object-storage bucket
Metadata is stored in the metadata engine defined by meta (in Pigsty production scenarios, this is usually PostgreSQL).
Multi-node mount notes?
- Use the same
metaand instance name on all nodes - Only one node needs to format; others will skip
- Ensure
portdoes not conflict on each node
Monitoring target not generated?
juice_register only writes /infra/targets/juice/ when infra group exists.
You can run manually:
How to change mount options?
After updating mount in the instance, refresh config first and then manually restart the service: