Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

For example if i have a 4TB ZFS Volume, is it possible to create 3 folders and then limit each folder to, say, 2GB. If so, how?

I have googled hard and wide but to no avail - all i get is info on the 18TB license restriction.

All and any advice gladly taken.


After testing all the below answers worked, I'm giving my correct answer to GUI related answer as i feel its the most correct solution to the problem, however the rest are useful to read.

share|improve this question
up vote 3 down vote accepted

In the web GUI, navigate to Data Management -> Shares and select the necessary folder.

Under Read-Write Parameters, you can enter a quota to limit to how much space the folder can consume (Referenced Quota), or how much the folder and its snapshots, etc. can take (Quota). The normal suffixes (G,M,K) apply.

enter image description here

share|improve this answer
+1 for the Nexenta way. Looks like this is just setting the zfs config properties - so this should be the same end result as setting on the command line, I believe. – Shane Madden Aug 23 '11 at 16:36
Also +1 for making me remember how to scroll the page... – James Butler Aug 23 '11 at 22:56

What you were looking for is the "quota" feature of zfs.

To set a 2GB quota on dir/whereever in a pool named pool:

zfs set quota=2G pool/dir/whereever

And, to check a quota:

zfs get quota pool/dir/whereever
share|improve this answer
I had thought about that but wasn't sure if it was the correct solution to the problem and just assumed it would cause chaos as nexenta would throw errors when the limit was hit – James Butler Aug 23 '11 at 15:28

In the NMS admin panel, you can set this via going to Data Management -> Data Sets -> Folders -> Show -> -> Quota

enter image description here

This is essentially the same thing as "zfs set quota". Note the quota applies to that entire ZFS filesystem (or Folders), not just within specified folders. If you need different quotas, you'll have to use different filesystems.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.