Gmirror/graid or hardware raid?

Paul Kraus paul at kraus-haus.org
Thu Jul 9 17:18:06 UTC 2015


On Jul 9, 2015, at 12:57, Quartz <quartz at sneakertech.com> wrote:

>> I also create a “do-not-remove” dataset in every zpool with 1 GB
>> reserved and quota. ZFS behaves very, very badly when FULL. This give
>> me a cushion when things go badly so I can delete whatever used up
>> all the space … Yes, ZFS cannot delete files if the FS is completely
>> FULL. I leave the “do-not-remove” dataset unmounted so that it cannot
>> be used.
> 
> Wouldn't it be easier just to set a quota on the root dataset?

Setting a quota will not work as it will limit all the child datasets as well. You could set a refquota, if you were not using the root dataset for anything (which is the default behavior of FBSD when installed ZFS only). I started doing this on servers before we had the ref<n> parameters and old habits die hard :-)

In general, the “ref” version of dataset parameters was a great addition so that you could see what a point in the _middle_ of a hierarchy was doing and control it.

--
Paul Kraus
paul at kraus-haus.org



More information about the freebsd-questions mailing list