3 ms·
This hasn't been a problem you should be able to hit in ZFS in a long time. It reserves a percent of your pool's total space precisely to avoid having 0 actual
by rincebrain 3y ago
This hasn't been a problem you should be able to hit in ZFS in a long time.
It reserves a percent of your pool's total space precisely to avoid having 0 actual free space and only allows using space from that amount if the operation is a net gain on free space.
- p_l 3y agoYeah, a situation where you pool gets suspended due to no space and you can't delete files is considered a bug by OpenZFS.
- rincebrain 3y agoI mean, the pool should never have gotten suspended by that, even before OpenZFS was forked; just ENOSPC on rm.
- aidenn0 3y agoOh, that's good to know. I hit it in the past, but it was long enough ago that ZFS still had format versions.
- rincebrain 3y agoYeah, the whole dance around slop space, if I remember my archaeology, went in shortly after the fork.
- MarkSweep 3y agoFor more details about this slop space, see this comment: https://github.com/openzfs/zfs/blob/99741bde59d1d1df0963009bb624ddc105f7d8dc/module/zfs/spa_misc.c#L351 https://github.com/openzfs/zfs/blob/99741bde59d1d1df0963009b...