Difference between revisions of "Zfs set quota"
Jump to navigation
Jump to search
↑ https://docs.oracle.com/cd/E19253-01/819-5461/gazud/index.html
Line 1: | Line 1: | ||
* Set a quota to a filesystems: | * Set a quota to a filesystems: | ||
− | <code>[[zfs set quota]]=50G | + | <code>[[zfs set quota]]=50G YOUR_POOL/home/bob</code><ref>https://docs.oracle.com/cd/E19253-01/819-5461/gazud/index.html</ref> |
+ | |||
+ | |||
+ | [[zfs set quota]]=50G YOUR_POOL/home/bob | ||
+ | cannot set property for 'YOUR_POOL/home/bob': size is less than current used or reserved space | ||
touch your_new_file | touch your_new_file | ||
touch: cannot touch 'your_new_file': Disk quota exceeded | touch: cannot touch 'your_new_file': Disk quota exceeded | ||
+ | |||
To increase quota define a new quota bigger than previous one: | To increase quota define a new quota bigger than previous one: | ||
zfs set quota=60G pool/home/bob | zfs set quota=60G pool/home/bob |
Revision as of 14:34, 22 September 2020
- Set a quota to a filesystems:
zfs set quota=50G YOUR_POOL/home/bob
[1]
zfs set quota=50G YOUR_POOL/home/bob 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 commands
zfs list -o name,quota,used,avail -r /ZFSfilesystem
See also
- ZFS: ZFS deduplication,
ZFS snapshot
,zfs list
,zpool status
,zpool create
,zfs create, zfs get all, zfs set, zfs mount, zfs umount, zfs rollback
Advertising: