Skip to content

quota: Full quota but appending to existing file with echo shows no error #6731

@YunhuiChen

Description

@YunhuiChen

What happened:

root@chaos-k8s-001:~/chenyunhui/juicefs# ./juicefs quota list redis://127.0.0.1:6379/1
2026/03/11 15:39:54.203675 juicefs[4059727] <INFO>: Meta address: redis://127.0.0.1:6379/1 [NewClient@interface.go:627]
2026/03/11 15:39:54.204183 juicefs[4059727] <WARNING>: AOF is not enabled, you may lose data if Redis is not shutdown properly. [checkRedisInfo@info.go:84]
2026/03/11 15:39:54.204240 juicefs[4059727] <INFO>: Ping redis latency: 20.16µs [checkServerConfig@redis.go:4304]
+----------+---------+---------+------+--------+-------+-------+
|   Path   |   Size  |   Used  | Use% | Inodes | IUsed | IUse% |
+----------+---------+---------+------+--------+-------+-------+
| UID:1000 | 1.0 GiB | 1.0 GiB | 100% |      5 |     1 |   20% |
+----------+---------+---------+------+--------+-------+-------+
root@chaos-k8s-001:~/chenyunhui/juicefs# su - user1

using echo to append to an existing file does not report an error:
$ echo 1 >> /juicefs1/test/tt

new file:
$ echo 1 >> /juicefs1/test/tt2
-sh: 2: cannot create /juicefs1/test/tt2: Disk quota exceeded

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