How do I apply quotas to zfs filesystems in solaris?
-
To apply a 5GB quota on the amount of space used by files that are owned by a specific user or group:
# zfs set userquota@jennifer=5G test_pool/fs1 # zfs set groupquota@staff=10G test_pool/fs1/admin
This applies from Solaris 10 10/09 Release.
To apply a 5GB quota to test_pool/fs1/data:
# zfs set quota=5G test_pool/fs1/data
You can use G or GB, g or gb, m or mb etc.
© Lightnetics 2024