It's trivial to quota an entire volume, or a qtree within a volume.
Is it possible to quota the DEFAULT qtree in a volume (i.e., ID=0 qtree)?
Empirically, it seems no, the volume quota applies. According to the docs, the most restrictive quota takes precedence.
Unfortunately, I desire to quota "everything but" the existing, defined qtrees in a volume, and have that quota be LOWER than any of the other qtrees or the volume itself.
I'm hoping there is a way to do this. For instance, you can qtree snapmirror "everything but" the existing, defined qtrees on a volume with a syntax such as:
snapmirror initialize srcfiler:/vol/vol0/- backupfiler:/vol/volN/srcfiler_vol0-
Unfortunately, a similar syntax such as:
# Quota Target type disk files thold sdisk sfile # ------------- ----- ---- ----- ----- ----- ----- /vol/vol1/qtree1 tree 1T - - /vol/vol1/qtree2 tree 1T - - /vol/vol1/- tree 1M - - * tree@/vol/snapnew 1M - -
doesn't appear to work. I can write a file larger than 1M into /vol/vol1/testfile.
-Todd