{"id":171,"date":"2009-10-29T20:25:47","date_gmt":"2009-10-29T12:25:47","guid":{"rendered":"http:\/\/www.sysadmindayph.com\/blog\/?p=171"},"modified":"2009-10-29T20:25:47","modified_gmt":"2009-10-29T12:25:47","slug":"zfs-quotas-and-reservations","status":"publish","type":"post","link":"https:\/\/www.sysadmindayph.com\/blog\/zfs-quotas-and-reservations\/","title":{"rendered":"ZFS Quotas and Reservations"},"content":{"rendered":"<p>Notes on ZFS quotas, reservations and others.. like adding up disk for the pool and creating pool altogether.<\/p>\n<p>First, create a pool using &#8216;<strong>zpool<\/strong>&#8216;. Then use &#8216;<strong>zfs<\/strong>&#8216; to make the filesystems.<\/p>\n<p><strong>Creating Pool with zpool<\/strong><\/p>\n<p>Create a pool called pool1. The -m is optional. If given, it specifies a mount point for zfs filesystems created from the specified pool. The mount point should be empty or nonexistant. If the -m argument is omitted, mount point is &#8220;\/&#8221;. <\/p>\n<p><!--more--><\/p>\n<blockquote><p>    <code><br \/>\n# zpool create -m \/export\/data01 ALB mirror c2t0d0 c4t0d0<br \/>\n# zpool status<br \/>\n      pool: pool1<br \/>\n      state: ONLINE<br \/>\n      scrub: none requested<br \/>\n      config:<\/p>\n<p>            NAME        STATE     READ WRITE CKSUM<br \/>\n            pool1       ONLINE       0     0     0<br \/>\n              mirror    ONLINE       0     0     0<br \/>\n                c2t0d0  ONLINE       0     0     0<br \/>\n                c4t0d0  ONLINE       0     0     0<\/code>\n<\/p><\/blockquote>\n<p>http:\/\/www.mattzone.com\/site\/index.php?name=News&#038;file=article&#038;sid=3<br \/>\nhttp:\/\/dlc.sun.com\/osol\/docs\/content\/ZFSADMIN\/gazvb.html<br \/>\nhttp:\/\/prefetch.net\/blog\/index.php\/2006\/12\/26\/adding-disks-to-zfs-pools\/<\/p>\n<p><strong>Creating ZFS filesystem from Pool<\/strong><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Notes on ZFS quotas, reservations and others.. like adding up disk for the pool and creating pool altogether. First, create a pool using &#8216;zpool&#8216;. Then use &#8216;zfs&#8216; to make the filesystems. Creating Pool with zpool &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-171","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/171","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/comments?post=171"}],"version-history":[{"count":0,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/posts\/171\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/media?parent=171"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/categories?post=171"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.sysadmindayph.com\/blog\/wp-json\/wp\/v2\/tags?post=171"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}