ClearOS Documentation

×

Warning

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

User Tools

Site Tools


RAID 0 - Striping

Preparing the Hardware

For software RAID 0, you need at least two hard disks. Since the RAID partition 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 two SATA disks. These hard disks are detected in Linux as:

  • /dev/sdb
  • /dev/sdc

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

Deleting Partitions

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

Creating the RAID 0 Partition

We will create a RAID 0 volume for our MySQL server using /var/lib/mysql as our mount point. This will allow our database server to optimize for speed.

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, 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=c0d116&media=omedia:ss_anaconda_raid0-ready-for-raid.png

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

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

  • Tab to the RAID button and hit return
  • Type in /var/lib/mysql in the Mount Point field
  • Tab to RAID Level and select RAID0
  • Tab to RAID Members and make sure the two partitions created earlier are selected

https://clearos.com/dokuwiki2/lib/exe/fetch.php?w=350&tok=832376&media=omedia:ss_anaconda_raid0.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/7_d_raid_0_-_striping.txt · Last modified: 2015/09/03 11:33 (external edit)

https://clearos.com/dokuwiki2/lib/exe/indexer.php?id=content%3Aen_us%3A7_d_raid_0_-_striping&1544994502