https://reiser4.wiki.kernel.org/index.php?title=Logical_Volumes_Howto&feed=atom&action=historyLogical Volumes Howto - Revision history2024-03-29T09:31:08ZRevision history for this page on the wikiMediaWiki 1.19.24https://reiser4.wiki.kernel.org/index.php?title=Logical_Volumes_Howto&diff=4462&oldid=prevEdward at 07:11, 13 July 20222022-07-13T07:11:37Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 07:11, 13 July 2022</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>'''WARNING! FSCK doesn't work correctly on volumes with scaling out abilities. Any attempts to repair such volumes will result in data loss'''</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>'''WARNING! FSCK doesn't work correctly on volumes with scaling<ins class="diffchange diffchange-inline">-</ins>out abilities. Any attempts to repair such volumes will result in data loss'''</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Disk format 5.1.3 allows to create volumes with '''scaling-out''' abilities. That is, you are able to easily add a '''brick''' (i.e. formatted block device) to your volume, thus, increasing its capacity. Bricks don't need to be of equal size: data will be distributed '''fairly''' among different sized bricks. Also, at any time you are able to remove such brick. Moreover, at any time you can change an abstract capacity of any brick, thus, controlling a portion of IO requests being issued against each brick in your logical volume. More information can be found in [[Logical Volumes Background]].</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Disk format 5.1.3 allows to create volumes with '''scaling-out''' abilities. That is, you are able to easily add a '''brick''' (i.e. formatted block device) to your volume, thus, increasing its capacity. Bricks don't need to be of equal size: data will be distributed '''fairly''' among different sized bricks. Also, at any time you are able to remove such brick. Moreover, at any time you can change an abstract capacity of any brick, thus, controlling a portion of IO requests being issued against each brick in your logical volume. More information can be found in [[Logical Volumes Background]].</div></td></tr>
</table>Edwardhttps://reiser4.wiki.kernel.org/index.php?title=Logical_Volumes_Howto&diff=4460&oldid=prevEdward: Add warning about fsck2022-07-12T20:10:13Z<p>Add warning about fsck</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 20:10, 12 July 2022</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;">'''WARNING! FSCK doesn't work correctly on volumes with scaling out abilities. Any attempts to repair such volumes will result in data loss'''</ins></div></td></tr>
<tr><td colspan="2"> </td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins style="color: red; font-weight: bold; text-decoration: none;"></ins></div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Disk format 5.1.3 allows to create volumes with '''scaling-out''' abilities. That is, you are able to easily add a '''brick''' (i.e. formatted block device) to your volume, thus, increasing its capacity. Bricks don't need to be of equal size: data will be distributed '''fairly''' among different sized bricks. Also, at any time you are able to remove such brick. Moreover, at any time you can change an abstract capacity of any brick, thus, controlling a portion of IO requests being issued against each brick in your logical volume. More information can be found in [[Logical Volumes Background]].</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Disk format 5.1.3 allows to create volumes with '''scaling-out''' abilities. That is, you are able to easily add a '''brick''' (i.e. formatted block device) to your volume, thus, increasing its capacity. Bricks don't need to be of equal size: data will be distributed '''fairly''' among different sized bricks. Also, at any time you are able to remove such brick. Moreover, at any time you can change an abstract capacity of any brick, thus, controlling a portion of IO requests being issued against each brick in your logical volume. More information can be found in [[Logical Volumes Background]].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
</table>Edwardhttps://reiser4.wiki.kernel.org/index.php?title=Logical_Volumes_Howto&diff=4446&oldid=prevChris goe: links wikified2020-11-12T17:01:25Z<p>links wikified</p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 17:01, 12 November 2020</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Disk format 5.1.3 allows to create volumes with '''scaling-out''' abilities. That is, you are able to easily add a '''brick''' (i.e. formatted block device) to your volume, thus, increasing its capacity. Bricks don't need to be of equal size: data will be distributed '''fairly''' among different sized bricks. Also, at any time you are able to remove such brick. Moreover, at any time you can change an abstract capacity of any brick, thus, controlling a portion of IO requests being issued against each brick in your logical volume. More information can be found [<del class="diffchange diffchange-inline">https://reiser4.wiki.kernel.org/index.php/Logical_Volumes_Background here</del>].</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Disk format 5.1.3 allows to create volumes with '''scaling-out''' abilities. That is, you are able to easily add a '''brick''' (i.e. formatted block device) to your volume, thus, increasing its capacity. Bricks don't need to be of equal size: data will be distributed '''fairly''' among different sized bricks. Also, at any time you are able to remove such brick. Moreover, at any time you can change an abstract capacity of any brick, thus, controlling a portion of IO requests being issued against each brick in your logical volume. More information can be found <ins class="diffchange diffchange-inline">in </ins>[<ins class="diffchange diffchange-inline">[Logical Volumes Background]</ins>].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Finally, you can add a '''proxy-brick''' created over a high-performance block device (e.g. SSD or NVRAM) to your logical volume. It allows to increase performance of file operations in the case when your volume is composed of slow media.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Finally, you can add a '''proxy-brick''' created over a high-performance block device (e.g. SSD or NVRAM) to your logical volume. It allows to increase performance of file operations in the case when your volume is composed of slow media.</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 7:</td>
<td colspan="2" class="diff-lineno">Line 7:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>To work with scalable volumes you will need [https://sourceforge.net/projects/reiser4/files/v5-unstable/progs/ reiser4progs-2.0.3], or higher. It requires [https://sourceforge.net/projects/reiser4/files/reiser4-utils/libaal/ libaal-1.0.7].</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>To work with scalable volumes you will need [https://sourceforge.net/projects/reiser4/files/v5-unstable/progs/ reiser4progs-2.0.3], or higher. It requires [https://sourceforge.net/projects/reiser4/files/reiser4-utils/libaal/ libaal-1.0.7].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>To create a scalable volume, just build the first brick of your volume by formatting some block-device with mkfs.reiser4 utility and mount it. Then you will be able to grow it by adding new bricks by volume.reiser4 utility. See [<del class="diffchange diffchange-inline">https://reiser4.wiki.kernel.org/index.php/</del>Logical_Volumes_Administration logical volumes administration guide] for details. For managing proxy-bricks see [<del class="diffchange diffchange-inline">https://reiser4.wiki.kernel.org/index.php/</del>Proxy_Device_Administration proxy-device administration guide].</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>To create a scalable volume, just build the first brick of your volume by formatting some block-device with mkfs.reiser4 utility and mount it. Then you will be able to grow it by adding new bricks by volume.reiser4 utility. See [<ins class="diffchange diffchange-inline">[</ins>Logical_Volumes_Administration<ins class="diffchange diffchange-inline">|</ins>logical volumes administration guide<ins class="diffchange diffchange-inline">]</ins>] for details. For managing proxy-bricks see [<ins class="diffchange diffchange-inline">[</ins>Proxy_Device_Administration<ins class="diffchange diffchange-inline">|</ins>proxy-device administration guide<ins class="diffchange diffchange-inline">]</ins>].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[category:Reiser4]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[category:Reiser4]]</div></td></tr>
</table>Chris goehttps://reiser4.wiki.kernel.org/index.php?title=Logical_Volumes_Howto&diff=4444&oldid=prevEdward at 16:53, 12 November 20202020-11-12T16:53:58Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 16:53, 12 November 2020</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div><del class="diffchange diffchange-inline">New disk </del>format <del class="diffchange diffchange-inline">(''"format41"'') </del>allows to create volumes with '''scaling-out''' abilities. That is, you are able to easily add a '''brick''' (i.e. formatted block device) to your volume, thus, increasing its capacity. Bricks don't need to be of equal size: data will be distributed '''fairly''' among different sized bricks. Also, at any time you are able to remove such brick. Moreover, at any time you can change an abstract <del class="diffchange diffchange-inline">throughput </del>of any brick, thus, controlling a portion of IO requests being issued against each brick in your logical volume. More information can be found [https://reiser4.wiki.kernel.org/index.php/Logical_Volumes_Background here].</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div><ins class="diffchange diffchange-inline">Disk </ins>format <ins class="diffchange diffchange-inline">5.1.3 </ins>allows to create volumes with '''scaling-out''' abilities. That is, you are able to easily add a '''brick''' (i.e. formatted block device) to your volume, thus, increasing its capacity. Bricks don't need to be of equal size: data will be distributed '''fairly''' among different sized bricks. Also, at any time you are able to remove such brick. Moreover, at any time you can change an abstract <ins class="diffchange diffchange-inline">capacity </ins>of any brick, thus, controlling a portion of IO requests being issued against each brick in your logical volume. More information can be found [https://reiser4.wiki.kernel.org/index.php/Logical_Volumes_Background here].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Finally, you can add a '''proxy-brick''' created over a high-performance block device (e.g. SSD or NVRAM) to your logical volume. It allows to increase performance of file operations in the case when your volume is composed of slow media.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Finally, you can add a '''proxy-brick''' created over a high-performance block device (e.g. SSD or NVRAM) to your logical volume. It allows to increase performance of file operations in the case when your volume is composed of slow media.</div></td></tr>
</table>Edwardhttps://reiser4.wiki.kernel.org/index.php?title=Logical_Volumes_Howto&diff=4398&oldid=prevEdward at 20:16, 18 August 20202020-08-18T20:16:54Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 20:16, 18 August 2020</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>New disk format (''"format41"'') allows to create volumes with '''scaling-out''' abilities. That is, you are able to easily add a '''brick''' (i.e. formatted block device) to your volume, thus, increasing its capacity. Bricks don't need to be of equal size: data will be distributed '''fairly''' among different sized bricks. Also, at any time you are able to remove such brick. Moreover, at any time you can change throughput of any brick, thus, <del class="diffchange diffchange-inline">changing </del>a portion of IO requests issued against each brick in your logical volume. More information can be found [https://reiser4.wiki.kernel.org/index.php/Logical_Volumes_Background here].</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>New disk format (''"format41"'') allows to create volumes with '''scaling-out''' abilities. That is, you are able to easily add a '''brick''' (i.e. formatted block device) to your volume, thus, increasing its capacity. Bricks don't need to be of equal size: data will be distributed '''fairly''' among different sized bricks. Also, at any time you are able to remove such brick. Moreover, at any time you can change <ins class="diffchange diffchange-inline">an abstract </ins>throughput of any brick, thus, <ins class="diffchange diffchange-inline">controlling </ins>a portion of IO requests <ins class="diffchange diffchange-inline">being </ins>issued against each brick in your logical volume. More information can be found [https://reiser4.wiki.kernel.org/index.php/Logical_Volumes_Background here].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Finally, you can add a '''proxy-brick''' created over a high-performance block device (e.g. SSD or NVRAM) to your logical volume. It allows to increase performance of file operations in the case when your volume is composed of slow media.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Finally, you can add a '''proxy-brick''' created over a high-performance block device (e.g. SSD or NVRAM) to your logical volume. It allows to increase performance of file operations in the case when your volume is composed of slow media.</div></td></tr>
</table>Edwardhttps://reiser4.wiki.kernel.org/index.php?title=Logical_Volumes_Howto&diff=4395&oldid=prevEdward at 14:04, 18 August 20202020-08-18T14:04:38Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 14:04, 18 August 2020</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>New disk format (''"format41"'') allows to create volumes with '''scaling-out''' abilities. That is, you are able to easily add a '''brick''' (i.e. formatted block device) to your volume, thus, increasing its capacity. Bricks don't need to be of equal size: data will be distributed '''fairly''' among different sized bricks. Also, at any time you are able to remove such brick. <del class="diffchange diffchange-inline">Also</del>, at any time you can change throughput of any brick, thus, changing a portion of IO requests issued against each brick in your logical volume. More information can be found [https://reiser4.wiki.kernel.org/index.php/Logical_Volumes_Background here].</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>New disk format (''"format41"'') allows to create volumes with '''scaling-out''' abilities. That is, you are able to easily add a '''brick''' (i.e. formatted block device) to your volume, thus, increasing its capacity. Bricks don't need to be of equal size: data will be distributed '''fairly''' among different sized bricks. Also, at any time you are able to remove such brick. <ins class="diffchange diffchange-inline">Moreover</ins>, at any time you can change throughput of any brick, thus, changing a portion of IO requests issued against each brick in your logical volume. More information can be found [https://reiser4.wiki.kernel.org/index.php/Logical_Volumes_Background here].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Finally, you can add a '''proxy-brick''' created over a high-performance block device (e.g. SSD or NVRAM) to your logical volume. It allows to increase performance of file operations in the case when your volume is composed of slow media.</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>Finally, you can add a '''proxy-brick''' created over a high-performance block device (e.g. SSD or NVRAM) to your logical volume. It allows to increase performance of file operations in the case when your volume is composed of slow media.</div></td></tr>
<tr><td colspan="2" class="diff-lineno">Line 7:</td>
<td colspan="2" class="diff-lineno">Line 7:</td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>To work with scalable volumes you will need [https://sourceforge.net/projects/reiser4/files/v5-unstable/progs/ reiser4progs-2.0.3], or higher. It requires [https://sourceforge.net/projects/reiser4/files/reiser4-utils/libaal/ libaal-1.0.7].</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>To work with scalable volumes you will need [https://sourceforge.net/projects/reiser4/files/v5-unstable/progs/ reiser4progs-2.0.3], or higher. It requires [https://sourceforge.net/projects/reiser4/files/reiser4-utils/libaal/ libaal-1.0.7].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>To create a scalable volume, just build the first brick of your volume by formatting some block-device with mkfs.reiser4 utility. Then you will be able to grow it by adding new bricks by volume.reiser4 utility. See [https://reiser4.wiki.kernel.org/index.php/Logical_Volumes_Administration logical volumes administration guide] for details. For managing proxy-bricks see [https://reiser4.wiki.kernel.org/index.php/Proxy_Device_Administration proxy-device administration guide].</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>To create a scalable volume, just build the first brick of your volume by formatting some block-device with mkfs.reiser4 utility <ins class="diffchange diffchange-inline">and mount it</ins>. Then you will be able to grow it by adding new bricks by volume.reiser4 utility. See [https://reiser4.wiki.kernel.org/index.php/Logical_Volumes_Administration logical volumes administration guide] for details. For managing proxy-bricks see [https://reiser4.wiki.kernel.org/index.php/Proxy_Device_Administration proxy-device administration guide].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[category:Reiser4]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[category:Reiser4]]</div></td></tr>
</table>Edwardhttps://reiser4.wiki.kernel.org/index.php?title=Logical_Volumes_Howto&diff=4394&oldid=prevEdward at 13:55, 18 August 20202020-08-18T13:55:07Z<p></p>
<table class='diff diff-contentalign-left'>
<col class='diff-marker' />
<col class='diff-content' />
<col class='diff-marker' />
<col class='diff-content' />
<tr valign='top'>
<td colspan='2' style="background-color: white; color:black;">← Older revision</td>
<td colspan='2' style="background-color: white; color:black;">Revision as of 13:55, 18 August 2020</td>
</tr><tr><td colspan="2" class="diff-lineno">Line 1:</td>
<td colspan="2" class="diff-lineno">Line 1:</td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>New disk format (''"format41"'') allows to create volumes with '''scaling-out''' abilities. That is, you are able to easily add a '''brick''' (i.e. <del class="diffchange diffchange-inline">a </del>formatted block device) to your volume, thus, increasing its capacity. Bricks don't need to be of equal size: data will be distributed '''fairly''' among different sized bricks. Also, at any time you are able to remove such brick. Also, at any time you can change throughput of any brick, thus, changing a portion of IO requests issued against each brick in your logical volume. More information can be found [https://reiser4.wiki.kernel.org/index.php/Logical_Volumes_Background here].</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>New disk format (''"format41"'') allows to create volumes with '''scaling-out''' abilities. That is, you are able to easily add a '''brick''' (i.e. formatted block device) to your volume, thus, increasing its capacity. Bricks don't need to be of equal size: data will be distributed '''fairly''' among different sized bricks. Also, at any time you are able to remove such brick. Also, at any time you can change throughput of any brick, thus, changing a portion of IO requests issued against each brick in your logical volume. More information can be found [https://reiser4.wiki.kernel.org/index.php/Logical_Volumes_Background here].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>Finally, you can add a '''proxy-brick''' created over a high-performance block device (e.g. SSD or NVRAM) to your logical volume<del class="diffchange diffchange-inline">, thus increasing </del>performance of file operations in the case when your volume is composed of slow media.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>Finally, you can add a '''proxy-brick''' created over a high-performance block device (e.g. SSD or NVRAM) to your logical volume<ins class="diffchange diffchange-inline">. It allows to increase </ins>performance of file operations in the case when your volume is composed of slow media.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>To get started with logical volumes you need <del class="diffchange diffchange-inline">to build </del>Reiser4 kernel module of SFRN (Software Framework Release Number) 5.1.3, or higher. The patches against stock kernels can be found [https://sourceforge.net/projects/reiser4/files/v5-unstable/kernel/ here]. When building the kernel, make sure that "Plan-A key allocation scheme" is disabled in the configuration menu (or CONFIG_REISER4_OLD is not set, which is the same). The important note is that volumes based on the old disk format (''"format40"'') are not scalable (you are not able to add a brick to such volume). Moreover, it is impossible to mount volumes managed by new and old disk format in the same system: you need to choose (by enabling, or disabling the mentioned configuration option). This is for performance reasons.</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>To get started with logical volumes you <ins class="diffchange diffchange-inline">will </ins>need Reiser4 kernel module of SFRN (Software Framework Release Number) 5.1.3, or higher. The patches against stock kernels can be found [https://sourceforge.net/projects/reiser4/files/v5-unstable/kernel/ here]. When building the kernel, make sure that "Plan-A key allocation scheme" is disabled in the configuration menu (or CONFIG_REISER4_OLD is not set, which is the same). The important note is that volumes based on the old disk format (''"format40"'') are not scalable (you are not able to add a brick to such volume). Moreover, it is impossible to mount volumes managed by new and old disk format in the same system: you need to choose (by enabling, or disabling the mentioned configuration option). This is for performance reasons.</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>To <del class="diffchange diffchange-inline">manage "</del>scalable<del class="diffchange diffchange-inline">" </del>volumes you<del class="diffchange diffchange-inline">'ll </del>need [https://sourceforge.net/projects/reiser4/files/v5-unstable/progs/ reiser4progs-2.0.3], or higher. It requires [https://sourceforge.net/projects/reiser4/files/reiser4-utils/libaal/ libaal-1.0.7].</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>To <ins class="diffchange diffchange-inline">work with </ins>scalable volumes you <ins class="diffchange diffchange-inline">will </ins>need [https://sourceforge.net/projects/reiser4/files/v5-unstable/progs/ reiser4progs-2.0.3], or higher. It requires [https://sourceforge.net/projects/reiser4/files/reiser4-utils/libaal/ libaal-1.0.7].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'>−</td><td style="background: #ffa; color:black; font-size: smaller;"><div>To create a scalable volume, <del class="diffchange diffchange-inline">you </del>just <del class="diffchange diffchange-inline">need to create </del>the first brick of your volume by formatting some block-device with mkfs.reiser4 utility. Then you will be able to grow it by adding new bricks by volume.reiser4 utility. See [https://reiser4.wiki.kernel.org/index.php/Logical_Volumes_Administration logical volumes administration guide] for details. For managing proxy-bricks see [https://reiser4.wiki.kernel.org/index.php/Proxy_Device_Administration proxy device administration guide].</div></td><td class='diff-marker'>+</td><td style="background: #cfc; color:black; font-size: smaller;"><div>To create a scalable volume, just <ins class="diffchange diffchange-inline">build </ins>the first brick of your volume by formatting some block-device with mkfs.reiser4 utility. Then you will be able to grow it by adding new bricks by volume.reiser4 utility. See [https://reiser4.wiki.kernel.org/index.php/Logical_Volumes_Administration logical volumes administration guide] for details. For managing proxy-bricks see [https://reiser4.wiki.kernel.org/index.php/Proxy_Device_Administration proxy<ins class="diffchange diffchange-inline">-</ins>device administration guide].</div></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"></td></tr>
<tr><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[category:Reiser4]]</div></td><td class='diff-marker'> </td><td style="background: #eee; color:black; font-size: smaller;"><div>[[category:Reiser4]]</div></td></tr>
</table>Edwardhttps://reiser4.wiki.kernel.org/index.php?title=Logical_Volumes_Howto&diff=4392&oldid=prevEdward: Added "Logical Volumes Howto" page2020-08-18T13:27:17Z<p>Added "Logical Volumes Howto" page</p>
<p><b>New page</b></p><div>New disk format (''"format41"'') allows to create volumes with '''scaling-out''' abilities. That is, you are able to easily add a '''brick''' (i.e. a formatted block device) to your volume, thus, increasing its capacity. Bricks don't need to be of equal size: data will be distributed '''fairly''' among different sized bricks. Also, at any time you are able to remove such brick. Also, at any time you can change throughput of any brick, thus, changing a portion of IO requests issued against each brick in your logical volume. More information can be found [https://reiser4.wiki.kernel.org/index.php/Logical_Volumes_Background here].<br />
<br />
Finally, you can add a '''proxy-brick''' created over a high-performance block device (e.g. SSD or NVRAM) to your logical volume, thus increasing performance of file operations in the case when your volume is composed of slow media.<br />
<br />
To get started with logical volumes you need to build Reiser4 kernel module of SFRN (Software Framework Release Number) 5.1.3, or higher. The patches against stock kernels can be found [https://sourceforge.net/projects/reiser4/files/v5-unstable/kernel/ here]. When building the kernel, make sure that "Plan-A key allocation scheme" is disabled in the configuration menu (or CONFIG_REISER4_OLD is not set, which is the same). The important note is that volumes based on the old disk format (''"format40"'') are not scalable (you are not able to add a brick to such volume). Moreover, it is impossible to mount volumes managed by new and old disk format in the same system: you need to choose (by enabling, or disabling the mentioned configuration option). This is for performance reasons.<br />
<br />
To manage "scalable" volumes you'll need [https://sourceforge.net/projects/reiser4/files/v5-unstable/progs/ reiser4progs-2.0.3], or higher. It requires [https://sourceforge.net/projects/reiser4/files/reiser4-utils/libaal/ libaal-1.0.7].<br />
<br />
To create a scalable volume, you just need to create the first brick of your volume by formatting some block-device with mkfs.reiser4 utility. Then you will be able to grow it by adding new bricks by volume.reiser4 utility. See [https://reiser4.wiki.kernel.org/index.php/Logical_Volumes_Administration logical volumes administration guide] for details. For managing proxy-bricks see [https://reiser4.wiki.kernel.org/index.php/Proxy_Device_Administration proxy device administration guide].<br />
<br />
[[category:Reiser4]]</div>Edward