Skip to content

quota : The quota set for gid is not working properly. #6722

@YunhuiChen

Description

@YunhuiChen

What happened:

root@chaos-k8s-001:~/chenyunhui/juicefs# ./juicefs version
juicefs version 1.4.0-dev+2026-03-10.1520163b

root@chaos-k8s-001:~/chenyunhui/juicefs# getent group user1
user1:x:1000:

root@chaos-k8s-001:~/chenyunhui/juicefs# ll /juicefs1/test/
total 9
drwxrwxr-x 2 user1 user1 4096 Mar 10 12:56 ./
drwxrwxrwx 3 root  root  4096 Mar 10 12:56 ../
-rw-rw-r-- 1 user1 user1    2 Mar 10 12:54 1
-rw-rw-r-- 1 user1 user1    2 Mar 10 12:56 3
root@chaos-k8s-001:~/chenyunhui/juicefs# ./juicefs quota list redis://127.0.0.1:6379/1
2026/03/10 12:59:38.016007 juicefs[3067667] <INFO>: Meta address: redis://127.0.0.1:6379/1 [NewClient@interface.go:627]
2026/03/10 12:59:38.016526 juicefs[3067667] <WARNING>: AOF is not enabled, you may lose data if Redis is not shutdown properly. [checkRedisInfo@info.go:84]
2026/03/10 12:59:38.016593 juicefs[3067667] <INFO>: Ping redis latency: 32.15µs [checkServerConfig@redis.go:4304]
+----------+---------+---------+------+--------+-------+-------+
|   Path   |   Size  |   Used  | Use% | Inodes | IUsed | IUse% |
+----------+---------+---------+------+--------+-------+-------+
| GID:1000 | 1.0 GiB |     0 B |   0% |      3 |     0 |    0% |
| UID:100  | 1.0 GiB | 4.0 KiB |   0% |      3 |     0 |    0% |
| UID:1000 | 1.0 GiB |  12 KiB |   0% |      3 |     3 |  100% |
+----------+---------+---------+------+--------+-------+-------+

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?

Environment:

  • JuiceFS version (use juicefs --version) or Hadoop Java SDK version:
  • Cloud provider or hardware configuration running JuiceFS:
  • OS (e.g cat /etc/os-release):
  • Kernel (e.g. uname -a):
  • Object storage (cloud provider and region, or self maintained):
  • Metadata engine info (version, cloud provider managed or self maintained):
  • Network connectivity (JuiceFS to metadata engine, JuiceFS to object storage):
  • Others:

Metadata

Metadata

Labels

kind/bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions