zfs snapshots.

David Brodbeck gull at gull.us
Wed Dec 8 01:40:44 UTC 2010


On Fri, Dec 3, 2010 at 1:25 PM, Peter Ankerstål <peter at pean.org> wrote:
>>>>
>>>
>>> Yes, this is correct. But it still uses up 10MB from the parent
>>> filesystem. This is a problem if you use both snapshots and quotas.
>>> (and use alot of snapshots)
>>
>> You many be able to use the refquota attribute instead of quota unless
>> you're trying to place quotas on filesystem hiearchies.
>>
>> -- Brooks
>
> Oh. Thanks. How could I miss that.. It seems I have to change some of the
> "logic" in my setup for this to work as needed but overall this will work fine.

If this is an NFS share, you might want to test what happens if you
set a refquota, then exceed it.  I know on OpenSolaris there have been
some bugs where you get a 'no space left on device' when you try to rm
files, in that situation, making it difficult for a user to recover
from exceeding their quota.  It's possible FreeBSD doesn't suffer from
this, but you should test it if it's likely to come up.


More information about the freebsd-fs mailing list