Add new zvol: Difference between revisions

From Scalelogic Wiki
Jump to navigation Jump to search
migrate>Ad-B
No edit summary
migrate>Ad-B
No edit summary
Line 1: Line 1:
<div><span style="font-size:small;">This function allows You to create a new zvol. You have to fill up or choose detailed information related to zvol&nbsp;:</span></div>
<div><span style="font-size:small;">This function allows You to create a new zvol. You have to fill up or choose detailed information related to zvol&nbsp;:</span></div>
*<div><span style="font-size:small;">'''NAME''' - Name the new Zvol</span></div>
*<div><span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;">'''NAME''' - Name the new Zvol</span></span></div>
*<div><span style="font-size:small;">'''SIZE''' - Size of new Zvol. The unit for this values is '''GiB (Gibibyte).'''</span></div>
*<div><span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;">'''SIZE''' - Size of new Zvol. The unit for this values is '''GiB (Gibibyte).'''</span></span></div>
<div><span style="font-size:small;">'''​'''<span style="color: rgb(37, 37, 37); font-family: sans-serif; line-height: 22.399999618530273px;">In general, if You multiply 1024&nbsp;</span><span style="color: rgb(37, 37, 37); font-family: sans-serif; line-height: 22.399999618530273px;">·</span><span style="color: rgb(37, 37, 37); font-family: sans-serif; line-height: 22.399999618530273px;">1024&nbsp;</span><span style="color: rgb(37, 37, 37); font-family: sans-serif; line-height: 22.399999618530273px;">·</span><span style="color: rgb(37, 37, 37); font-family: sans-serif; line-height: 22.399999618530273px;">1024 = 1 073 741 824b, which is a result of eqaul 2</span><sup style="line-height: 1em; color: rgb(37, 37, 37); font-family: sans-serif;">30.</sup></span></div><div><span style="font-size:small;">For example,&nbsp;<span style="color: rgb(37, 37, 37); font-family: monospace, Courier; line-height: 22.399999618530273px; background-color: rgb(249, 249, 249);">1&nbsp;</span>'''GiB'''<span style="color: rgb(37, 37, 37); font-family: monospace, Courier; line-height: 22.399999618530273px; background-color: rgb(249, 249, 249);">&nbsp;= 1024 × 1 MiB</span><span style="color: rgb(37, 37, 37); font-family: monospace, Courier; line-height: 22.399999618530273px; background-color: rgb(249, 249, 249);">&nbsp;= 1024 × 1024 × 1 KiB&nbsp;</span><span style="color: rgb(37, 37, 37); font-family: monospace, Courier; line-height: 22.399999618530273px; background-color: rgb(249, 249, 249);">= 1024 × 1024 × 1024 × 1 B</span>&nbsp;=&nbsp;<span style="color: rgb(37, 37, 37); font-family: sans-serif; line-height: 22.399999618530273px;">1 073 741 824&nbsp;</span><span style="color: rgb(37, 37, 37); font-family: sans-serif; line-height: 22.399999618530273px;">~ 1070 GB</span></span></div>
<div style="margin-left: 80px;"><span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;">'''​'''<span style="color: rgb(37, 37, 37); line-height: 22.399999618530273px;">In general, if You multiply 1024&nbsp;</span><span style="color: rgb(37, 37, 37); line-height: 22.399999618530273px;">·</span><span style="color: rgb(37, 37, 37); line-height: 22.399999618530273px;">1024&nbsp;</span><span style="color: rgb(37, 37, 37); line-height: 22.399999618530273px;">·</span><span style="color: rgb(37, 37, 37); line-height: 22.399999618530273px;">1024 = 1 073 741 824b, which is a result of eqaul 2</span><sup style="line-height: 1em; color: rgb(37, 37, 37); font-family: sans-serif;">30.</sup></span></span></div><div style="margin-left: 80px;"><span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;">For example,&nbsp;<span style="color: rgb(37, 37, 37); line-height: 22.399999618530273px; background-color: rgb(249, 249, 249);">1&nbsp;</span>'''GiB'''<span style="color: rgb(37, 37, 37); line-height: 22.399999618530273px; background-color: rgb(249, 249, 249);">&nbsp;= 1024 × 1 MiB</span><span style="color: rgb(37, 37, 37); line-height: 22.399999618530273px; background-color: rgb(249, 249, 249);">&nbsp;= 1024 × 1024 × 1 KiB&nbsp;</span><span style="color: rgb(37, 37, 37); line-height: 22.399999618530273px; background-color: rgb(249, 249, 249);">= 1024 × 1024 × 1024 × 1 B</span>&nbsp;=&nbsp;<span style="color: rgb(37, 37, 37); line-height: 22.399999618530273px;">1 073 741 824&nbsp;~ 1070 GB</span></span></span></div>
*<div><span style="font-size:small;">'''PROVISIONING''' - choose between the&nbsp;: '''thick provisioned '''and '''Thin provisioned (dafault)'''.</span></div>
*<div><span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;">'''PROVISIONING&nbsp;''':</span></span></div>
**<div><span style="font-size:small;"></span>'''thin provisioning'''<span style="color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.399999618530273px;">&nbsp;involves using&nbsp;</span>[http://en.wikipedia.org/wiki/Virtualization_technology virtualization technology]<span style="color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.399999618530273px;">&nbsp;to give the appearance of having more physical resources than are actually available.&nbsp;</span><span style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Use this format to save storage space. For the thin disk, you provision as much datastore space as the disk would require based on the value that you enter for the disk size. However, the thin disk starts small and at first, uses only as much datastore space as the disk needs for its initial operations.</span></div>
**<div><span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;">'''thin provisioning -'''<span style="color: rgb(37, 37, 37); line-height: 22.399999618530273px;">&nbsp;involves using v</span>irtualization technology<span style="color: rgb(37, 37, 37); line-height: 22.399999618530273px;">&nbsp;to give the appearance of having more physical resources than are actually available.&nbsp;</span><span style="color: rgb(51, 51, 51); line-height: 18px;">Use this format to save storage space. For the thin disk, you provision as much datastore space as the disk would require based on the value that you enter for the disk size. However, the thin disk starts small and at first, uses only as much datastore space as the disk needs for its initial operations.</span></span></span></div>
**<div><span style="color: rgb(37, 37, 37); font-family: sans-serif; font-size: 14px; line-height: 22.399999618530273px;">'''thick provisionning''' -&nbsp;</span><span style="color: rgb(51, 51, 51); font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Creates a virtual disk in a default thick format. Space required for the virtual disk is allocated when the virtual disk is created. Data remaining on the physical device is not erased during creation, but is zeroed out</span></div>
**<div><span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;"><span style="color: rgb(37, 37, 37); line-height: 22.399999618530273px;">'''thick provisionning''' -&nbsp;</span><span style="color: rgb(51, 51, 51); line-height: 18px;">creates a virtual disk in a thick format. Space required for the virtual disk is allocated when the virtual disk is created. Data remaining on the physical device is not erased during creation, but is zeroed out.</span></span></span></div>


*<div><span style="font-size:small;">'''DEDUPLICATION''' - choose between&nbsp;:</span></div>
*<div><span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;">'''DEDUPLICATION'''&nbsp;:</span></span></div>
**<span style="font-size:small;">​'''Disbaled (default)'''</span>
**<span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;">​'''Disbaled (default)'''</span></span>
**'''On -&nbsp;'''<span style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Verdana, Arial, sans-serif; line-height: 19.200000762939453px; text-align: justify;">is simply a pseudonym for "sha256"</span>
**<span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;">'''On -&nbsp;'''<span style="color: rgb(51, 51, 51); line-height: 19.200000762939453px; text-align: justify;">is a pseudonym for "sha256"</span></span></span>
**'''Verify -&nbsp;'''<span style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Verdana, Arial, sans-serif; line-height: 19.200000762939453px; text-align: justify;">is a pseudonym for "sha256,verify",&nbsp;</span><span style="color: rgb(85, 85, 85); line-height: 18px;">option that performs a full comparison of every incoming block with any alleged duplicate to ensure that they really are the same</span>
**<span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;">'''Verify -&nbsp;'''<span style="color: rgb(51, 51, 51); line-height: 19.200000762939453px; text-align: justify;">is a pseudonym for "sha256,verify",&nbsp;</span><span style="color: rgb(85, 85, 85); line-height: 18px;">option that performs a full comparison of every incoming block with any alleged duplicate to ensure that they really are the same</span></span></span>
**'''sha 256 -&nbsp;'''performs a operation where&nbsp;<span style="color: rgb(85, 85, 85); line-height: 18px;">same output given two different inputs, then it is reasonable to assume that when two blocks have the same checksum, they are in fact the same block.</span>
**<span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;">'''sha 256 -&nbsp;'''performs a operation where&nbsp;<span style="color: rgb(85, 85, 85); line-height: 18px;">same output given two different inputs, then it is reasonable to assume that when two blocks have the same checksum, they are in fact the same block.</span></span></span>
**'''sha 256, verify -&nbsp;'''<span style="color: rgb(51, 51, 51); font-family: 'Lucida Grande', Verdana, Arial, sans-serif; line-height: 19.200000762939453px; text-align: justify;">enables an ability to detect and correct hash collisions, however this is very system intensive and is not recommended for casual use</span>
**<span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;">'''sha 256, verify -&nbsp;'''<span style="color: rgb(51, 51, 51); line-height: 19.200000762939453px; text-align: justify;">enables an ability to detect and correct hash collisions, however this is very system intensive and is not recommended for casual use</span></span></span>


*'''COMPRESSION -&nbsp;'''there are several data compression methods - You will see all available methods from the drop-down list. The default compression method is&nbsp;'''LZ4'''''.''You can also choose no compression ''('''''NONE''').
*<span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;">'''COMPRESSION -&nbsp;'''there are several data compression methods - You will see all available methods from the drop-down list. The default compression method is&nbsp;'''LZ4'''''.''You can also choose no compression ''('''''NONE''').</span></span>
**<span style="font-family: verdana, geneva, sans-serif; line-height: 18px;">GZIP, the standards levels of 1 through 9 are supported, where 1 is as fast as possible, with the least compression, and 9 is as compressed as possible, taking as much time as necessary.</span>
**<span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;"><span style="line-height: 18px;">'''GZIP''', the standards levels of 1 through 9 are supported, where 1 is as fast as possible, with the least compression, and 9 is as compressed as possible, taking as much time as necessary.</span></span></span>
**<span style="font-family: verdana, geneva, sans-serif; line-height: 18px;">LZJB - &nbsp;is a fast method with tight compression ratios, which is standard with most Lempel-Ziv algorithms. LZJB seems to provide the best all around results it terms of performance and compression.</span>
**<span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;"><span style="line-height: 18px;">'''LZJB''' - &nbsp;is a fast method with tight compression ratios, which is standard with most Lempel-Ziv algorithms. LZJB seems to provide the best all around results it terms of performance and compression.</span></span></span>
**<span style="font-family: verdana, geneva, sans-serif; line-height: 18px;">ZLE is a very fast compression method, with very light compression ratios.</span>
**<span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;"><span style="line-height: 18px;">'''ZLE''' is a very fast compression method, with very light compression ratios.</span></span></span>
**<span style="font-family: verdana, geneva, sans-serif; line-height: 18px; background-color: rgb(246, 247, 249);">lz4 - is intended as a faster and smarter replacement for lzjb.</span>
**<span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;"><span style="line-height: 18px; background-color: rgb(246, 247, 249);">'''lz4''' - is intended as a faster and smarter replacement for lzjb.</span></span></span>
**<span style="font-size:small;"><span style="font-family:arial,helvetica,sans-serif;"><span style="line-height: 18px; background-color: rgb(246, 247, 249);"></span></span></span>
*'''VOLUME BLOCK SIZE &nbsp;-&nbsp;'''the default value is '''64'''&nbsp;'''KiB.&nbsp;'''The value can be changed. You can choose between&nbsp;: 0,5&nbsp;; 1; 2; 4; 8; 16; 32; 64; 128 [KiB].
*'''VOLUME BLOCK SIZE &nbsp;-&nbsp;'''the default value is '''64'''&nbsp;'''KiB.&nbsp;'''The value can be changed. You can choose between&nbsp;: 0,5&nbsp;; 1; 2; 4; 8; 16; 32; 64; 128 [KiB].
*'''SYNC&nbsp;''' - you can choose between three options&nbsp;:
*'''SYNC&nbsp;''' - you can choose between three options&nbsp;:
**'''always (default)'''
**'''always (default)'''

Revision as of 09:44, 16 June 2014

This function allows You to create a new zvol. You have to fill up or choose detailed information related to zvol :
  • NAME - Name the new Zvol
  • SIZE - Size of new Zvol. The unit for this values is GiB (Gibibyte).
In general, if You multiply 1024 ·1024 ·1024 = 1 073 741 824b, which is a result of eqaul 230.
For example, GiB = 1024 × 1 MiB = 1024 × 1024 × 1 KiB = 1024 × 1024 × 1024 × 1 B = 1 073 741 824 ~ 1070 GB
  • PROVISIONING :
    • thin provisioning - involves using virtualization technology to give the appearance of having more physical resources than are actually available. Use this format to save storage space. For the thin disk, you provision as much datastore space as the disk would require based on the value that you enter for the disk size. However, the thin disk starts small and at first, uses only as much datastore space as the disk needs for its initial operations.
    • thick provisionningcreates a virtual disk in a thick format. Space required for the virtual disk is allocated when the virtual disk is created. Data remaining on the physical device is not erased during creation, but is zeroed out.
  • DEDUPLICATION :
    • Disbaled (default)
    • On - is a pseudonym for "sha256"
    • Verify - is a pseudonym for "sha256,verify", option that performs a full comparison of every incoming block with any alleged duplicate to ensure that they really are the same
    • sha 256 - performs a operation where same output given two different inputs, then it is reasonable to assume that when two blocks have the same checksum, they are in fact the same block.
    • sha 256, verify - enables an ability to detect and correct hash collisions, however this is very system intensive and is not recommended for casual use
  • COMPRESSION - there are several data compression methods - You will see all available methods from the drop-down list. The default compression method is LZ4.You can also choose no compression (NONE).
    • GZIP, the standards levels of 1 through 9 are supported, where 1 is as fast as possible, with the least compression, and 9 is as compressed as possible, taking as much time as necessary.
    • LZJB -  is a fast method with tight compression ratios, which is standard with most Lempel-Ziv algorithms. LZJB seems to provide the best all around results it terms of performance and compression.
    • ZLE is a very fast compression method, with very light compression ratios.
    • lz4 - is intended as a faster and smarter replacement for lzjb.
  • VOLUME BLOCK SIZE  - the default value is 64 KiB. The value can be changed. You can choose between : 0,5 ; 1; 2; 4; 8; 16; 32; 64; 128 [KiB].
  • SYNC  - you can choose between three options :
    • always (default)
    • standard
    • disabled
  • ​LOG BIAS - allows to setup between the latency (default) and throughput.
    • You can use this property to provide a hint to ZFS about handling synchronous requests for a specific dataset. Iflogbias is set to latency, ZFS uses the pool's separate log devices, if any, to handle the requests at low latency. If logbias is set to throughput, ZFS does not use the pool's separate log devices. Instead, ZFS optimizes synchronous operations for global pool throughput and efficient use of resources. The default value is latency. For most configurations, the default value is recommended. 
  • PRIMARY CACHE - one of three options have to be chosen :
    • all (default)
    • none
    • metadata
  • ​SECONDARY CACHE - one of three options have to be chosen :
    • all (default)
    • none
    • metadata
  • ​COPIES - number of copies of the data.  As a default, it is set to 1.