Alastair Neil wrote:


On Tue, Oct 20, 2009 at 12:12 PM, Matthew Ahrens <[email protected] <mailto:[email protected]>> wrote:

    Alastair Neil wrote:

           However, the user or group quota is applied when a clone or a
           snapshot is created from a file system that has a user or
        group quota.

        "applied to a clone" I understand what that means, "applied to a
        snapshot" - not so clear does it mean enforced on the original
        dataset?


    Since snapshots can not be modified, you're right that "applying"
    user quotas to snapshots doesn't make any sense.  However, the
    user/group quota/used is recorded in the snapshot, and the values
    (including user quotas) are the values at the time the snapshot was
    taken.  Contrast that with other properties (eg, quota, exec), where
    the snapshot does not have its own value for those properties; it
    just applies the filesystem's current value.

    --matt


So users quotas are not charged for blocks in the snapshot?

That's correct. Snapshot blocks don't contribute to the filesystem's space referenced / refquota / userused / userquota.

--matt
_______________________________________________
zfs-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to