zfs set quota

From wikieduonline
Revision as of 09:22, 11 November 2022 by Ant (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Set a quota to a filesystems:

zfs set quota=50G YOUR_POOL/path/fs[1]
(no output)
zfs set quota=50G YOUR_POOL/path/fs
cannot set property for 'YOUR_POOL/home/bob': size is less than current used or reserved space


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 terms[edit]

See also[edit]

Advertising: