{"id":878,"date":"2011-12-30T15:02:39","date_gmt":"2011-12-30T20:02:39","guid":{"rendered":"http:\/\/it.thelibrarie.com\/weblog\/?p=878"},"modified":"2012-01-12T15:14:13","modified_gmt":"2012-01-12T20:14:13","slug":"user-quota-freenas","status":"publish","type":"post","link":"https:\/\/it.thelibrarie.com\/weblog\/2011\/12\/user-quota-freenas\/","title":{"rendered":"User Quota FreeNAS"},"content":{"rendered":"<p>I recently installed FreeNAS 8.x release and wanted to setup a per user quota.  There is no way to set this up using the GUI front end &#8211; you can only setup a mount point quota at this time.<\/p>\n<p>To setup a per user quota using the CLI, just login as root using your admin password, then issue the following commands:<\/p>\n<p><code>zfs set userquota@USERNAME=10g SHARENAME<\/code><br \/>\nSo in my case I had a \/mnt\/files filesystem, so I used:<br \/>\n<code>zfs set userquota@thelibrarie=10g files<\/code><\/p>\n<p>You can list the user quota<br \/>\n<code>zfs list -o userquota@USERNAME SHARENA<\/code>ME<\/p>\n<p>You can remove the user quota<br \/>\n<code>zfs set userquota@USERNAME=none SHARENAME<\/code><\/p>\n<p>View the current Input\/Output statistics<br \/>\n<code>zpool iostat<\/code\n\nView the current ZFS supported features\n<code>zpool upgrade -v<\/code><\/p>\n<p>View the current compression for all pools<br \/>\n<code>zfs list -o compression<\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I recently installed FreeNAS 8.x release and wanted to setup a per user quota. There is no way to set this up using the GUI front end &#8211; you can only setup a mount point quota at this time. To setup a per user quota using the CLI, just login as root using your admin &hellip; <a href=\"https:\/\/it.thelibrarie.com\/weblog\/2011\/12\/user-quota-freenas\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">User Quota FreeNAS<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[7],"tags":[],"class_list":["post-878","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/878","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/comments?post=878"}],"version-history":[{"count":3,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/878\/revisions"}],"predecessor-version":[{"id":883,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/posts\/878\/revisions\/883"}],"wp:attachment":[{"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/media?parent=878"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/categories?post=878"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/it.thelibrarie.com\/weblog\/wp-json\/wp\/v2\/tags?post=878"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}