ZFS: Difference between revisions

imported>Mic92
fix reservation example
imported>Mic92
extend reservation example
Line 104: Line 104:


where <code>zroot</code> should be replaced by a dataset in your pool.
where <code>zroot</code> should be replaced by a dataset in your pool.
The dataset itself should not be used. In case you would run out of space this way by deleting this dataset you can reclaim enough disk space to cleanup the other files in the pool.
The dataset itself should not be used. In case you would run out of space you can shrink the reservation to reclaim enough disk space to cleanup the other data from the pool:
 
<syntaxhighlight lang="console">
zfs set refreservation=none zroot/reserved
</syntaxhighlight>


== How to use the auto-snapshotting service ==
== How to use the auto-snapshotting service ==