Difference between revisions of "Zfs set quota"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
* Set a quota to a filesystems: <code>[[zfs set quota]]=50G pool/home/bob</code><ref>https://docs.oracle.com/cd/E19253-01/819-5461/gazud/index.html</ref>
+
* Set a quota to a filesystems:  
 +
 
 +
<code>[[zfs set quota]]=50G pool/home/bob</code><ref>https://docs.oracle.com/cd/E19253-01/819-5461/gazud/index.html</ref>
  
  

Revision as of 14:18, 22 September 2020

  • Set a quota to a filesystems:
zfs set quota=50G pool/home/bob[1]


touch your_new_file
touch: cannot touch 'your_new_file': Disk quota exceeded
To increase quota define a new quota bigger than previous one:
zfs set quota=60G pool/home/bob
(no output on success)

Related commands

  • zfs list -o name,quota,used,avail -r /ZFSfilesystem

See also

  • https://docs.oracle.com/cd/E19253-01/819-5461/gazud/index.html
  • Advertising: