"Glaser, David" <dsglaser at umich.edu> writes:
> Hi all, I?m new to the list and I thought I?d start out on the right
> foot. ZFS is great, but I have a couple questions?.
>
> I have a Try-n-buy x4500 with one large zfs pool with 40 1TB drives in
> it. The pool is named backup.
>
> Of this pool, I have a number of volumes.
>
> backup/clients
>
> backup/clients/bob
>
> backup/clients/daniel
>
> ?
>
> Now bob and Daniel are populated by rsync over ssh to synchronize
> filesystems with client machines. (the data will then be written to a
> SL500) I?d like to set the quota on /backup/clients to some arbitrary
> small amount. Seems pretty handy since nothing should go into
> backup/clients but into the volumes backup/ clients/* But when I set
> the quota on backup/clients, I am unable to increase the quota for the
> sub volumes (bob, Daniel, etc).
>
> Any ideas if this is possible or how to do it?
Sounds like you want refquota:
From: zfs(1M)
refquota=size | none
Limits the amount of space a dataset can consume. This
property enforces a hard limit on the amount of space
used. This hard limit does not include space used by
descendents, including file systems and snapshots.