On 1/11/22 10:03 AM, Yamadaえりな wrote:
For a debian based system, how can I setup that, if a dir has total storage size reached to the max, it won’t be writable anymore? Thank you very much! Yamada
Install Debian package "zfs-dkms". I would then reboot. Create a ZFS pool: https://linux.die.net/man/8/zpoolCreate a ZFS filesystem, set the "mountpoint" property to the desired directory path, and set the "quota" property to the desired total storage size:
https://linux.die.net/man/8/zfs David