Revision 2327 is a pre-publication revision. (Viewing current revision instead.)

Creating a Log RAID Configuration

Pre-requisite

Performance tuning in Transparent RAID

Special topic: Log RAID

A very special topic in Transparent RAID is the "RAID Migration Log" configuration RAID type (or Log RAID). The kernel Transparent RAID engine has no concept of files and only deals with storage devices. A Log RAID is a RAID configuration that can use either disk image files or raw disk slices and presents itself as a storage device for the purpose of task logging. Another benefit of using a RAID for logging is that the RAID behaves as a mirror if it contains more than one DRU (please ensure that each DRU is on a separate disk). A Log RAID is nothing more than a log file abstracted such that it presents itself as a disk. The tRAID kernel engine only understands disks. It does not deal with files. When configuring a Log RAID, you have the option of adding multiple DRUs (each DRU being a file image). If using more than one DRU in the Log RAID, you are setting up a mirrored log. Each disk image file will contain the same data, and you should ensure that each image file is on a separate disk or else it would be pointless. Internally, tRAID presents Log RAIDs as N-way mirror disks to the kernel for it to write its logs to. You can have one or more DRU in that N-way mirror. Log RAIDs need only be a few MBs in size. The rule of thumb is that you should make them the size of 1 MB * the number of disks in the array or larger. For instance, if you have 10 disks in your array, you would make the Log RAID 10MB large or larger. There are a number of tasks for which logging the task executions enables the ability to resume such tasks in the case where they were aborted. All of these tasks make logging optional as logging can slow down the task. Nonetheless, for greater safety, it is a good idea to log those operations when the option is available. In this tutorial, we will create a Log RAID which is backed up by a single file acting as disk image file. 1. We first need to register a volume that will contain our disk image file. The volume to use must be a volume on a disk that will not be used for Transparent RAID. A good default is to use the C volume, but you can use any other volume on any other drive for as long as that drive will not be used for Transparent RAID. 1. Registering a volume for disk images 2. Now that we have our C volume registered, we will create a disk image file on it by right-clicking it and selecting to "Create Disk Image File". 2. Creating a disk image file 3. Here, we enter the display name, name, and size of the file to create. 3. RAID Log File 4. After the disk image file has been created, right-click on the "RAID Configurations" node and select to create a new RAID. 4. RAID Log File created & Create new RAID 5. Select the RAID type to be "RAID Migration Log" and enter a display name. 5. RAID Migration Log 6. The created RAID Log will show under the "RAID Configurations" node. 6. Created RAID Log 7. The screenshot below shows the 10 MB file created on the C drive. 7. Created file on C Volume 8. Back to the Log RAID configuration, open it and select to add a UoR and add the created disk image file as DRU. 8. Adding log file to Log RAID 9. There is no initialization task for a Log RAID. As such, the typical control buttons at the bottom of the grid will not show like they show for a Transparent RAID configuration. The configuration is now complete. 9. Completed Log RAID Configuration

What's next?

Restoring a failed disk in Transparent RAID Or, RAID Reconfiguration in Transparent RAID Or, RAID Expansion in Transparent RAID Or, RAID Contraction in Transparent RAID

Revision Differences

June 22, 2013 @ 22:15:08Current Revision
Content
<h1><u>Pre-requisite</u></h1> <h1><u>Pre-requisite</u></h1>
<a href="http:// wiki.flexraid.com/2013/06/ 22/maintaining- a-transparent- raid-array/" title="Maintaining a Transparent RAID array"><strong>Maintaining a Transparent RAID array</strong></a>  <a href="http:// wiki.flexraid.com/2013/06/ 27/performance-tuning-in- transparent-raid/" title="Performance tuning in Transparent RAID"><strong>Performance tuning in Transparent RAID</strong></a>
<br/> <br/>
<h1><u>Special topic: Log RAID</u></h1> <h1><u>Special topic: Log RAID</u></h1>
A very special topic in Transparent RAID is the <strong>"RAID Migration Log"</strong> configuration RAID type (or <strong>Log RAID</strong>). A very special topic in Transparent RAID is the <strong>"RAID Migration Log"</strong> configuration RAID type (or <strong>Log RAID</strong>).
The kernel Transparent RAID engine has no concept of files and only deals with storage devices. The kernel Transparent RAID engine has no concept of files and only deals with storage devices.
A Log RAID is a RAID configuration that can use either disk image files or raw disk slices and presents itself as a storage device for the purpose of task logging. A Log RAID is a RAID configuration that can use either disk image files or raw disk slices and presents itself as a storage device for the purpose of task logging.
Another benefit of using a RAID for logging is that the RAID behaves as a mirror if it contains more than one DRU (please ensure that each DRU is on a separate disk). Another benefit of using a RAID for logging is that the RAID behaves as a mirror if it contains more than one DRU (please ensure that each DRU is on a separate disk).
  A Log RAID is nothing more than a log file abstracted such that it presents itself as a disk. The tRAID kernel engine only understands disks. It does not deal with files.
  When configuring a Log RAID, you have the option of adding multiple DRUs (each DRU being a file image). If using more than one DRU in the Log RAID, you are setting up a mirrored log. Each disk image file will contain the same data, and you should ensure that each image file is on a separate disk or else it would be pointless.
  Internally, tRAID presents Log RAIDs as N-way mirror disks to the kernel for it to write its logs to. You can have one or more DRU in that N-way mirror.
Log RAIDs need only be a few MBs in size. The rule of thumb is that you should make them the size of 1 MB * the number of disks in the array or larger. For instance, if you have 10 disks in your array, you would make the Log RAID 10MB large or larger. Log RAIDs need only be a few MBs in size. The rule of thumb is that you should make them the size of 1 MB * the number of disks in the array or larger. For instance, if you have 10 disks in your array, you would make the Log RAID 10MB large or larger.
There are a number of tasks for which logging the task executions enables the ability to resume such tasks in the case where they were aborted. All of these tasks make logging optional as logging can slow down the task. There are a number of tasks for which logging the task executions enables the ability to resume such tasks in the case where they were aborted. All of these tasks make logging optional as logging can slow down the task.
Nonetheless, for greater safety, it is a good idea to log those operations when the option is available. Nonetheless, for greater safety, it is a good idea to log those operations when the option is available.
In this tutorial, we will create a Log RAID which is backed up by a single file acting as disk image file. In this tutorial, we will create a Log RAID which is backed up by a single file acting as disk image file.
<strong>1.</strong> We first need to register a volume that will contain our disk image file. <strong>1.</strong> We first need to register a volume that will contain our disk image file.
The volume to use must be a volume on a disk that will not be used for Transparent RAID. The volume to use must be a volume on a disk that will not be used for Transparent RAID.
A good default is to use the C volume, but you can use any other volume on any other drive for as long as that drive will not be used for Transparent RAID. A good default is to use the C volume, but you can use any other volume on any other drive for as long as that drive will not be used for Transparent RAID.
<img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 1.-Registering- a-volume-for- disk-images.png" alt="1. Registering a volume for disk images" width="374" height="302" class="alignnone size-full wp-image-2297" /> <img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 1.-Registering- a-volume-for- disk-images.png" alt="1. Registering a volume for disk images" width="374" height="302" class="alignnone size-full wp-image-2297" />
<strong>2.</strong> Now that we have our C volume registered, we will create a disk image file on it by right-clicking it and selecting to <strong>"Create Disk Image File"</strong>. <strong>2.</strong> Now that we have our C volume registered, we will create a disk image file on it by right-clicking it and selecting to <strong>"Create Disk Image File"</strong>.
<img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 2.-Creating-a- disk-image-file.png" alt="2. Creating a disk image file" width="353" height="434" class="alignnone size-full wp-image-2298" /> <img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 2.-Creating-a- disk-image-file.png" alt="2. Creating a disk image file" width="353" height="434" class="alignnone size-full wp-image-2298" />
<strong>3.</strong> Here, we enter the display name, name, and size of the file to create. <strong>3.</strong> Here, we enter the display name, name, and size of the file to create.
<img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 3.-RAID-Log-File.png" alt="3. RAID Log File" width="469" height="210" class="alignnone size-full wp-image-2299" /> <img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 3.-RAID-Log-File.png" alt="3. RAID Log File" width="469" height="210" class="alignnone size-full wp-image-2299" />
<strong>4.</strong> After the disk image file has been created, right-click on the <strong>"RAID Configurations"</strong> node and select to create a new RAID. <strong>4.</strong> After the disk image file has been created, right-click on the <strong>"RAID Configurations"</strong> node and select to create a new RAID.
<img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 4.-RAID-Log-File-created- Create-new-RAID.png" alt="4. RAID Log File created &amp; Create new RAID" width="351" height="403" class="alignnone size-full wp-image-2300" /> <img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 4.-RAID-Log-File-created- Create-new-RAID.png" alt="4. RAID Log File created &amp; Create new RAID" width="351" height="403" class="alignnone size-full wp-image-2300" />
<strong>5.</strong> Select the RAID type to be "RAID Migration Log" and enter a display name. <strong>5.</strong> Select the RAID type to be "RAID Migration Log" and enter a display name.
<img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 5.-RAID-Migration-Log.png" alt="5. RAID Migration Log" width="811" height="477" class="alignnone size-full wp-image-2301" /> <img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 5.-RAID-Migration-Log.png" alt="5. RAID Migration Log" width="811" height="477" class="alignnone size-full wp-image-2301" />
<strong>6.</strong> The created RAID Log will show under the <strong>"RAID Configurations"</strong> node. <strong>6.</strong> The created RAID Log will show under the <strong>"RAID Configurations"</strong> node.
<img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 6.-Created-RAID-Log.png" alt="6. Created RAID Log" width="352" height="395" class="alignnone size-full wp-image-2302" /> <img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 6.-Created-RAID-Log.png" alt="6. Created RAID Log" width="352" height="395" class="alignnone size-full wp-image-2302" />
<strong>7.</strong> The screenshot below shows the 10 MB file created on the C drive. <strong>7.</strong> The screenshot below shows the 10 MB file created on the C drive.
<img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 7.-Created-file- on-C-Volume.png" alt="7. Created file on C Volume" width="673" height="342" class="alignnone size-full wp-image-2303" /> <img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 7.-Created-file- on-C-Volume.png" alt="7. Created file on C Volume" width="673" height="342" class="alignnone size-full wp-image-2303" />
<strong>8.</strong> Back to the Log RAID configuration, open it and select to add a UoR and add the created disk image file as DRU. <strong>8.</strong> Back to the Log RAID configuration, open it and select to add a UoR and add the created disk image file as DRU.
<img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 8.-Adding-log- file-to-Log-RAID.png" alt="8. Adding log file to Log RAID" width="877" height="300" class="alignnone size-full wp-image-2309" /> <img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 8.-Adding-log- file-to-Log-RAID.png" alt="8. Adding log file to Log RAID" width="877" height="300" class="alignnone size-full wp-image-2309" />
<strong>9.</strong> There is no initialization task for a Log RAID. As such, the typical control buttons at the bottom of the grid will not show like they show for a Transparent RAID configuration. The configuration is now complete. <strong>9.</strong> There is no initialization task for a Log RAID. As such, the typical control buttons at the bottom of the grid will not show like they show for a Transparent RAID configuration. The configuration is now complete.
<img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 9.-Completed- Log-RAID-Configuration.png" alt="9. Completed Log RAID Configuration" width="919" height="624" class="alignnone size-full wp-image-2310" /> <img src="http://wiki.flexraid.com/ wp-content/uploads/2013/06/ 9.-Completed- Log-RAID-Configuration.png" alt="9. Completed Log RAID Configuration" width="919" height="624" class="alignnone size-full wp-image-2310" />
  <br/>
  <h1><u>What's next?</u></h1>
  <a href="http:// wiki.flexraid.com/2013/06/ 27/restoring- a-failed-disk- in-transparent-raid/" title="Restoring a failed disk in Transparent RAID"><strong>Restoring a failed disk in Transparent RAID</strong></a>
  Or, <a href="http:// wiki.flexraid.com/2013/06/ 27/raid-reconfiguration-in- transparent-raid/" title="RAID Reconfiguration in Transparent RAID"><strong>RAID Reconfiguration in Transparent RAID</strong></a>
  Or, <a href="http:// wiki.flexraid.com/2013/06/ 27/raid-expansion- in-transparent-raid/" title="RAID Expansion in Transparent RAID"><strong>RAID Expansion in Transparent RAID</strong></a>
  Or, <a href="http:// wiki.flexraid.com/2013/06/ 27/raid-contraction- in-transparent-raid/" title="RAID Contraction in Transparent RAID"><strong>RAID Contraction in Transparent RAID</strong></a>
  <br/>

Note: Spaces may be added to comparison text to allow better line wrapping.

2 Responses to “Creating a Log RAID Configuration”

  1. vletroye October 25, 2014 at 5:11 AM #

    Step 4 here above is not correctly illustrated.. I found it really disturbing as I was not right-clicking the correct node and therefore not getting access to the correct menu.

    I would update that step with:

    After the disk image file has been created, right-click on the “RAID Configurations” node and select to create a new RAID Configuration (in expert mode).

    [IMG]http://i.imgur.com/mV4Estr.png[/IMG]

  2. m0t0k0 October 26, 2014 at 2:16 PM #

    Vletroye you are correct. I just followed this guide and found it very confusing!

    If Brahim gives me the permissions I will update it to reflect the proper instructions as you pointed out.

Leave a Reply