Difference between revisions of "Create RAID in LMCE"

From LinuxMCE
Jump to: navigation, search
m (Added to the Tutorials category)
 
(13 intermediate revisions by 6 users not shown)
Line 1: Line 1:
<p><h1>Introduction</h1></p>
+
{{Versioninfo|1004Status=Works with hotfix|1004UpdatedDate=13th Mar 2012|1004UpdatedBy=[[User:Dirk|Dirk]]|}}
<p>RAID (<b>R</b>edundant <b>A</b>rray of <b>I</b>ndependent <b>D</b>rives) refers to a data storage scheme which has as a benefit increase of the data integrity, fault-tolerance, throughput and/or capacity
+
{| align="right"
There are 3 standard RAID levels which can be used in LMCE, to define RAIDS:</p>
+
  | __TOC__
<p><b>RAID 0</b>: Striped Set (2 disk minimum) without parity: provides improved performance and additional storage but no fault tolerance from disk errors or disk failure. Any disk failure destroys the array, which becomes more likely with more disks in the array</p>
+
  |}
<p><b>RAID 1</b>: Mirrored Set (2 disks minimum) without parity: provides fault tolerance from disk errors and single disk failure. Increased read performance occurs when using a multi-threaded operating system that supports split seeks, very small performance reduction when writing. A drive has its data duplicated on another different drive. If either drive fails, the other continues to function as a single drive until the failed drive is replaced. Conceptually simple, RAID 1 is popular for those who require fault tolerance and don't need top-notch read performance.</p>
+
[[Category: Tutorials|RAID]]
<p><b>RAID 5</b>: Striped Set (3 disk minimum) with Distributed Parity: Distributed parity requires all but one drive to be present to operate; drive failure requires replacement, but the array is not destroyed by a single drive failure. Upon drive failure, any subsequent reads can be calculated from the distributed parity such that the drive failure is masked from the end user. The array will have data loss in the event of a second drive failure and is vulnerable until the data that was on the failed drive is rebuilt onto a replacement drive</p>
+
[[Category: Storage]]
<p><h1>Creating RAID</h1></p>
+
[[Category: Admin Website]]
<p><b>Step 1:</b> Go to LMCE's admin web page at Advanced->Configuration->RAID section. You have to specify the computer that should hold the RAID in the <i>Parent</i> section. Give a <i>Description</i> to the Raid you’re creating. Choose the type of RAID, according to what you need to do.
+
== Introduction ==
Check the <i>Use automatically</i> box, if you want your data to be stored automatically using this RAID. Choose what kind of data structure you want for this RAID. Then click on the <i>Add</i> button to save your settings.</p>
+
RAID (<b>R</b>edundant <b>A</b>rray of <b>I</b>ndependent <b>D</b>rives) refers to a data storage scheme which has as a benefit increase of the data integrity, fault-tolerance, throughput and/or capacity
<p><b>Step 2:</b> Choose the disk drives you want to include in the RAID, by selecting the available ones from the drive list. The list contains only the disks that there are not used. Also you have the option to add spare disks.</p>
+
There are 3 standard RAID levels which can be used in LMCE, to define RAIDS:
<p><b>Step 3:</b>When you have finished adding your disks, press the ‘Create RAID array’ button, to re-write your data in the desired pattern. You will see your RAID created in the list and you will be able to access the advanced configuration page, to add new drives, or to delete it.</p>
+
=== RAID 0 ===
<p><b>Note: </b>This is a totally software RAID, you don’t need to activate the RAID in your BIOS.</p>
+
* Striped Set (2 disk minimum) without parity
 +
* provides improved performance  
 +
* additional storage  
 +
* no fault tolerance from disk errors or disk failure. Any disk failure destroys the array, which becomes more likely with more disks in the array
 +
=== RAID 1 ===
 +
* Mirrored Set (2 disks minimum) without parity.
 +
* Provides fault tolerance from disk errors and single disk failure.  
 +
* Increased read performance occurs when using a multi-threaded operating system that supports split seeks, very small performance reduction when writing.  
 +
* A drive has its data duplicated on another different drive. If either drive fails, the other continues to function as a single drive until the failed drive is replaced.  
 +
Conceptually simple, RAID 1 is popular for those who require fault tolerance and don't need top-notch read performance.
 +
=== RAID 5 ===
 +
* Striped Set (3 disk minimum) with Distributed Parity
 +
* Distributed parity requires all but one drive to be present to operate
 +
* drive failure requires replacement, but the array is not destroyed by a single drive failure.  
 +
* Upon drive failure, any subsequent reads can be calculated from the distributed parity such that the drive failure is masked from the end user.  
 +
* The array will have data loss in the event of a second drive failure and is vulnerable until the data that was on the failed drive is rebuilt onto a replacement drive
 +
== Creating RAID ==
 +
[[Image:AdvancedRaid.jpeg]]
 +
# Go to '''[[LinuxMCE Admin Website]]-->Advanced->Configuration->[[RAID]]'''
 +
## Specify the computer that should hold the RAID in the <i>Parent</i> section.  
 +
## Give a <i>Description</i> to the Raid you’re creating.  
 +
## Choose the type of RAID, according to what you need to do.  
 +
## Check the <i>Use automatically</i> box, if you want your data to be stored automatically using this RAID.  
 +
## Choose what kind of data structure you want for this RAID. Then click on the <i>Add</i> button to save your settings.</p>
 +
# Choose the disk drives you want to include in the RAID, by selecting the available ones from the drive list. The list contains only the disks that there are not used. Also you have the option to add spare disks.
 +
# When you have finished adding your disks, press the ‘Create RAID array’ button, to re-write your data in the desired pattern. You will see your RAID created in the list and you will be able to access the advanced configuration page, to add new drives, or to delete it.
 +
# In <b>10.04</b>, at the moment, a manual fix <b>before reboot</b> seems necessary: sudo mdadm --detail --scan >> /etc/mdadm/mdadm.conf
  
[[Category: Tutorials]]
+
Note: This is a totally software RAID, you don’t need to activate the RAID in your BIOS.
 +
 
 +
== Troubleshooting ==
 +
#If the array keeps coming back as failed, try stopping non-existant RAID devices:
 +
## sudo mdadm --stop /dev/md0
 +
## sudo mdadm --stop /dev/md1
 +
#If you continue having problems then try ssh'ing in, delete any partitions using fdisk, reboot and try again.

Latest revision as of 06:15, 9 October 2012

Version Status Date Updated Updated By
710 Unknown N/A N/A
810 Unknown N/A N/A
1004 Works with hotfix 13th Mar 2012 Dirk
1204 Unknown N/A N/A
1404 Unknown N/A N/A
Usage Information

Introduction

RAID (Redundant Array of Independent Drives) refers to a data storage scheme which has as a benefit increase of the data integrity, fault-tolerance, throughput and/or capacity There are 3 standard RAID levels which can be used in LMCE, to define RAIDS:

RAID 0

  • Striped Set (2 disk minimum) without parity
  • provides improved performance
  • additional storage
  • no fault tolerance from disk errors or disk failure. Any disk failure destroys the array, which becomes more likely with more disks in the array

RAID 1

  • Mirrored Set (2 disks minimum) without parity.
  • Provides fault tolerance from disk errors and single disk failure.
  • Increased read performance occurs when using a multi-threaded operating system that supports split seeks, very small performance reduction when writing.
  • A drive has its data duplicated on another different drive. If either drive fails, the other continues to function as a single drive until the failed drive is replaced.

Conceptually simple, RAID 1 is popular for those who require fault tolerance and don't need top-notch read performance.

RAID 5

  • Striped Set (3 disk minimum) with Distributed Parity
  • Distributed parity requires all but one drive to be present to operate
  • drive failure requires replacement, but the array is not destroyed by a single drive failure.
  • Upon drive failure, any subsequent reads can be calculated from the distributed parity such that the drive failure is masked from the end user.
  • The array will have data loss in the event of a second drive failure and is vulnerable until the data that was on the failed drive is rebuilt onto a replacement drive

Creating RAID

AdvancedRaid.jpeg

  1. Go to LinuxMCE Admin Website-->Advanced->Configuration->RAID
    1. Specify the computer that should hold the RAID in the Parent section.
    2. Give a Description to the Raid you’re creating.
    3. Choose the type of RAID, according to what you need to do.
    4. Check the Use automatically box, if you want your data to be stored automatically using this RAID.
    5. Choose what kind of data structure you want for this RAID. Then click on the Add button to save your settings.</p>
  2. Choose the disk drives you want to include in the RAID, by selecting the available ones from the drive list. The list contains only the disks that there are not used. Also you have the option to add spare disks.
  3. When you have finished adding your disks, press the ‘Create RAID array’ button, to re-write your data in the desired pattern. You will see your RAID created in the list and you will be able to access the advanced configuration page, to add new drives, or to delete it.
  4. In 10.04, at the moment, a manual fix before reboot seems necessary: sudo mdadm --detail --scan >> /etc/mdadm/mdadm.conf
Note: This is a totally software RAID, you don’t need to activate the RAID in your BIOS.

Troubleshooting

  1. If the array keeps coming back as failed, try stopping non-existant RAID devices:
    1. sudo mdadm --stop /dev/md0
    2. sudo mdadm --stop /dev/md1
  2. If you continue having problems then try ssh'ing in, delete any partitions using fdisk, reboot and try again.