Developers Documentation



301 error for file:

User Tools

Site Tools

RAID 5 - Striping with Parity

Preparing the Hardware

For software RAID 5, you need at least three hard disks. Since the RAID partitions on both the hard disks must be of equal size, it is a good idea to use hard disks with (roughly) the same storage capacity.

In our example, we are using three SATA disks. These hard disks are detected in Linux as:

  • /dev/sdb
  • /dev/sdc
  • /dev/sdd

For purposes of this demonstration we will assume that /dev/sda is used for the system RAID partition, swap, and boot partition.

Deleting Partitions

Please refer to Deleting Partitions if you need assistance in removing existing partitions.

Creating the RAID 5 Partition

We will create a large RAID 5 volume for our file server using /var/flexshare/shares as our mount point. This will allow our file server to optimize for space.

  • Tab to the New button and hit return

  • Tab down to File System type and select software RAID
  • Tab to Allowable Drives and mark only sdb and take the mark off of all the other drives.
  • Tab down to radio buttons and select 'Fill all available space'
  • Tab down to OK and hit return.

Repeat the same process for sdc and sdd, be sure to mark the correct allowable drive and take the marks off of all the other drives.

Now that we should have three identical configurations, we can create the software RAID disk:

  • Tab to the RAID button and hit return
  • Type in /var/flexshare/shares in the Mount Point field
  • Tab to RAID Level and select RAID5
  • Tab to RAID Members and make sure the three partitions created earlier are selected

Configuring the Boot Loader

Once completed, click OK and continue through the boot loader installation process. Please refer to Boot Loader document for if you require help with this step.

content/en_us/6_d_raid_5_-_redundancy.txt · Last modified: 2015/09/03 11:23 (external edit)