{"id":445,"date":"2011-01-11T13:27:30","date_gmt":"2011-01-11T12:27:30","guid":{"rendered":"https:\/\/thebc.ch\/blog\/?p=445"},"modified":"2013-02-01T12:53:26","modified_gmt":"2013-02-01T11:53:26","slug":"solaris-10-zfs","status":"publish","type":"post","link":"https:\/\/thebc.ch\/blog\/?p=445","title":{"rendered":"Solaris 10 zfs"},"content":{"rendered":"<div class='toc toc'>\n<h2>Contents<\/h2>\n<ul class='toc-odd level-1'>\n\t<li>\n\t\t<a href=\"#What_type_of_RAIDs_can_be_created_with_ZFS\">What type of RAID's can be created with ZFS?<\/a>\n\t\t<ul class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#stripe\">stripe<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#mirror\">mirror<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#n-way_mirror\">n-way mirror<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#raidz_or_raidz1\">raidz or raidz1<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#raidz2\">raidz2<\/a>\n\t\t\t<\/li>\n\t\t<\/ul>\n\t<li>\n\t\t<a href=\"#Size_and_Speed_of_the_different_RAID-types\">Size and Speed of the different RAID-types<\/a>\n\t\t<ul class='toc-even level-2'>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Stripe\">Stripe<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#Mirror\">Mirror<\/a>\n\t\t\t<\/li>\n\t\t\t<li>\n\t\t\t\t<a href=\"#raidz\">raidz<\/a>\n\t\t\t<\/li>\n\t\t<\/ul>\n\t<li>\n\t\t<a href=\"#Creating_a_tank\">Creating a tank<\/a>\n\t<\/li>\n\t<li>\n\t\t<a href=\"#Links\">Links<\/a>\n\t<\/li>\n<\/ul>\n<\/ul>\n<\/div>\n<div class='toc-end'>&nbsp;<\/div>\n<span id=\"What_type_of_RAID8217s_can_be_created_with_ZFS\"><h2>What type of RAID&#8217;s can be created with ZFS?<\/h2><\/span>\n<p><a id=\"stripe\" name=\"stripe\"><\/a><\/p>\n<span id=\"stripe\"><h3>stripe<\/h3><\/span>\n<p><a id=\"mirror\" name=\"mirror\"><\/a><\/p>\n<span id=\"mirror\"><h3>mirror<\/h3><\/span>\n<p><a id=\"n-way_mirror\" name=\"n-way_mirror\"><\/a><\/p>\n<span id=\"n-way_mirror\"><h3>n-way mirror<\/h3><\/span>\n<p><a id=\"raidz_or_raidz1\" name=\"raidz_or_raidz1\"><\/a><\/p>\n<span id=\"raidz_or_raidz1\"><h3>raidz or raidz1<\/h3><\/span>\n<p><a id=\"raidz2\" name=\"raidz2\"><\/a><\/p>\n<span id=\"raidz2\"><h3>raidz2<\/h3><\/span>\n<p><a id=\"Size_and_Speed_of_the_different_RAID-types\" name=\"Size_and_Speed_of_the_different_RAID-types\"><\/a><\/p>\n<span id=\"Size_and_Speed_of_the_different_RAID-types\"><h2>Size and Speed of the different RAID-types<\/h2><\/span>\n<div><strong>Info<\/strong><\/div>\n<div>\n<p>These information I&#8217;ve got from: <a title=\"http:\/\/blogs.sun.com\/roch\/entry\/when_to_and_not_to\" href=\"http:\/\/blogs.sun.com\/roch\/entry\/when_to_and_not_to\" rel=\"nofollow\">WHEN TO (AND NOT TO) USE RAID-Z<\/a><\/p>\n<\/div>\n<p>&nbsp;<\/p>\n<table>\n<tbody>\n<tr>\n<td><strong>S<sub>t<\/sub><\/strong><\/td>\n<td>=<\/td>\n<td>Total size of the pool<\/td>\n<\/tr>\n<tr>\n<td><strong>n<\/strong><\/td>\n<td>=<\/td>\n<td>Number of disks in the pool<\/td>\n<\/tr>\n<tr>\n<td><strong>S<sub>disk<\/sub><\/strong><\/td>\n<td>=<\/td>\n<td>Size of one Disk<\/td>\n<\/tr>\n<tr>\n<td><strong>v<sub>f<\/sub><\/strong><\/td>\n<td>=<\/td>\n<td>Speed Factor (1 = Same speed as a single Disk)<\/td>\n<\/tr>\n<tr>\n<td><strong>v<sub>disk<\/sub><\/strong><\/td>\n<td>=<\/td>\n<td>Speed of the disk is Blocks\/Seconds<\/td>\n<\/tr>\n<tr>\n<td><strong>x<\/strong><\/td>\n<td>=<\/td>\n<td>Number of Stripes<\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<p>&nbsp;<\/p>\n<p><a id=\"Stripe_2\" name=\"Stripe_2\"><\/a><\/p>\n<span id=\"Stripe\"><h3>Stripe<\/h3><\/span>\n<p>You stripe all disks together:<\/p>\n<p>S<sub>t<\/sub> = n * S<sub>disk<\/sub><\/p>\n<p>v<sub>f<\/sub> = n<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Example:<\/strong> Assume we have 100 Disks 50GB each which can write 200 Blocks\/seconds:<\/p>\n<pre>Total RAID size...: 5000 GB = 100 Disk * 50 GB\/Disk\r\nSpeed factor......: 100 = 100<\/pre>\n<p>&nbsp;<\/p>\n<p><a id=\"Mirror_2\" name=\"Mirror_2\"><\/a><\/p>\n<span id=\"Mirror\"><h3>Mirror<\/h3><\/span>\n<p>You mirror two disks or two stripe-sets:<\/p>\n<p>S<sub>t<\/sub> = (n \/ 2 ) * S<sub>disk<\/sub><\/p>\n<p>v<sub>f<\/sub> = n \/ 2<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Example:<\/strong> Assume we have 100 Disks, 50GB each which can write 200 Blocks\/seconds. We make the mirror over a stripesets of 50 Disk each:<\/p>\n<pre>Total RAID size...: 2500 GB = ( 100 Disk \/ 2 ) * 50 GB\/Disk\r\nSpeed factor......: 50 = 100 Disks \/ 2<\/pre>\n<p><a id=\"raidz\" name=\"raidz\"><\/a><\/p>\n<span id=\"raidz\"><h3>raidz<\/h3><\/span>\n<p>You stripe some raidz&#8217;s:<\/p>\n<p>S<sub>t<\/sub> = (( n \/ x ) &#8211; 1 ) * S<sub>disk<\/sub> * x<\/p>\n<p>v<sub>f<\/sub> = x<\/p>\n<p>&nbsp;<\/p>\n<p><strong>Example:<\/strong> Assume we have 100 Disks 50GB each which can write 200 Blocks\/seconds and we stripe 5 raidz&#8217;s together:<\/p>\n<pre>Total RAID size...: 4750 GB = (( 100 Disk \/ 5 Stripes ) - 1 ) * 50 GB\/Disk * 5 Stripes\r\nSpeed factor......: 5 = 5<\/pre>\n<p><a id=\"Creating_a_tank\" name=\"Creating_a_tank\"><\/a><\/p>\n<span id=\"Creating_a_tank\"><h2>Creating a tank<\/h2><\/span>\n<p><a id=\"Links\" name=\"Links\"><\/a><\/p>\n<span id=\"Links\"><h2>Links<\/h2><\/span>\n<ul>\n<li><a title=\"http:\/\/opensolaris.org\/os\/community\/zfs\/docs\/\" href=\"http:\/\/opensolaris.org\/os\/community\/zfs\/docs\/\" rel=\"nofollow\">Solaris ZFS Administration Guide<\/a><\/li>\n<li><a title=\"http:\/\/www.sun.com\/software\/solaris\/howtoguides\/zfshowto.jsp\" href=\"http:\/\/www.sun.com\/software\/solaris\/howtoguides\/zfshowto.jsp\" rel=\"nofollow\">Managing ZFS in Solaris 10 Containers<\/a><\/li>\n<li><a title=\"http:\/\/www.sun.com\/software\/solaris\/zfs_learning_center.jsp\" href=\"http:\/\/www.sun.com\/software\/solaris\/zfs_learning_center.jsp\" rel=\"nofollow\">Solaris ZFS Learning Center (including video presentations and demos)<\/a><\/li>\n<li><a title=\"http:\/\/www.sun.com\/software\/solaris\/faqs\/zfs.xml\" href=\"http:\/\/www.sun.com\/software\/solaris\/faqs\/zfs.xml\" rel=\"nofollow\">ZFS FAQ<\/a><\/li>\n<li><a title=\"http:\/\/opensolaris.org\/os\/community\/zfs\/faq\/\" href=\"http:\/\/opensolaris.org\/os\/community\/zfs\/faq\/\" rel=\"nofollow\">Additional Q&amp;A<\/a><\/li>\n<li><a title=\"http:\/\/opensolaris.org\/os\/community\/zfs\/\" href=\"http:\/\/opensolaris.org\/os\/community\/zfs\/\" rel=\"nofollow\">OpenSolaris ZFS Community<\/a><\/li>\n<li><a title=\"http:\/\/opensolaris.org\/os\/community\/zfs\/blogs\/\" href=\"http:\/\/opensolaris.org\/os\/community\/zfs\/blogs\/\" rel=\"nofollow\">Sun ZFS Blogs<\/a><\/li>\n<li><a title=\"http:\/\/blogs.sun.com\/roch\/entry\/when_to_and_not_to\" href=\"http:\/\/blogs.sun.com\/roch\/entry\/when_to_and_not_to\" rel=\"nofollow\">WHEN TO (AND NOT TO) USE RAID-Z<\/a><\/li>\n<li><a title=\"http:\/\/blogs.sun.com\/ahl\/entry\/double_parity_raid_z\" href=\"http:\/\/blogs.sun.com\/ahl\/entry\/double_parity_raid_z\" rel=\"nofollow\">Double-Parity RAID-Z<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>What type of RAID&#8217;s can be created with ZFS? stripe mirror n-way mirror raidz or raidz1 raidz2 Size and Speed of the different RAID-types Info These information I&#8217;ve got from: WHEN TO (AND NOT TO) USE RAID-Z &nbsp; St = &hellip; <a href=\"https:\/\/thebc.ch\/blog\/?p=445\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[23],"tags":[],"class_list":["post-445","post","type-post","status-publish","format-standard","hentry","category-solaris"],"_links":{"self":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/445","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=445"}],"version-history":[{"count":7,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/445\/revisions"}],"predecessor-version":[{"id":2670,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=\/wp\/v2\/posts\/445\/revisions\/2670"}],"wp:attachment":[{"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=445"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=445"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thebc.ch\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=445"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}