Sometimes it can happen, a ZFS pool become 100% full. Since ZFS is a COW (Copy-on-Write FS), it is very difficult to remove data from it because at least enough space must be free to write a timestamp.
To prevent this from happening, you can create a dataset and reserve some storage space (~20 GB). This allows you simply to delete the dataset in the worst case.
Delete the dataset in the worst case:
To prevent this from happening, you can create a dataset and reserve some storage space (~20 GB). This allows you simply to delete the dataset in the worst case.
Code:
zfs create <poolname>/reserve
zfs set refreservation=20G reservation=20G <poolname>/reserve
Delete the dataset in the worst case:
Code:
zfs destroy <poolname>/reserve