ClearOS Documentation

×

Warning

301 error for file:https://clearos.com/dokuwiki2/lib/exe/css.php?t=dokuwiki&tseed=82873f9c9a1f5784b951644363f20ef8

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.

https://clearos.com/dokuwiki2/lib/exe/fetch.php?w=350&tok=e0ddaf&media=omedia:ss_anaconda_raid5-menu.png

  • Tab to the New button and hit return

https://clearos.com/dokuwiki2/lib/exe/fetch.php?w=350&tok=ff30e0&media=omedia:ss_anaconda_raid5-drive1.png

  • 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.

https://clearos.com/dokuwiki2/lib/exe/fetch.php?w=350&tok=cb9463&media=omedia:ss_anaconda_raid5-ready-for-raid.png

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

https://clearos.com/dokuwiki2/lib/exe/fetch.php?w=350&tok=f89e88&media=omedia:ss_anaconda_raid5-raid-create.png

  • 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

https://clearos.com/dokuwiki2/lib/exe/fetch.php?w=350&tok=cb1004&media=omedia:ss_anaconda_raid5.png

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)

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3A6_d_raid_5_-_redundancy&1563535214