Ed Plese wrote:
It seems by design that ZFS counts the space used by snapshots towards
the filesystem quotas.  I can see many cases where this would be the
desired behavior, but for the common case of using one filesystem per
user home directory in combination with quotas and snapshots, this
doesn't seem to work too well.

If the user hits their quota, there seems to be no way for the user to
recover space assuming the fairly common case where they have one or
more snapshots from while their filesystem was fairly full.  Instead
they'd need to have an administrator either increase their quota (which
seems to defeat the purpose of the quotas), or destroy all of their
snapshots (which seems to defeat the purpose of using the snapshots for
any sort of backup mechanism).

I believe this problem will go away once we have the ability to delegate the file system to the end user. That way they would have the ability to create and delete either own snapshots below their part of the namespace.

I think even with that though you have a good point, why should the users qutoa be reduced because the admin is taking snapshots. I can see that it would be valuable to indicate if snapshots count against the quota. However once you start using the snapshots for clones you need to do the correct space accounting to the user.

--
Darren J Moffat
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to