RAID 60

From 45 Drives Technical Information Wiki
Jump to: navigation, search

RAID 60

RAID 60, also called RAID 6+0, combines the straight block-level striping of RAID 0 with the distributed double parity of RAID 6, resulting in a RAID 0 array striped across RAID 6 elements. It requires at least eight disks.

RAID 60.png


Make note of the names of the disks in your system. Linux names them /dev/sda through to /dev/sdz and then /dev/sdaa to /dev/sdaz and so on. You can use the commmand "/dev ls -l | grep /dev/sd" to list all the devices in the system or you can use the Disk Utility to make note of the drive names.

For example in a 45 Drive machine with two redundant boot drives, the disks present in the system will be: /dev/sdc to /dev/sdz and /dev/sdaa to /dev/sdau.

In a 60 drive machine with two redundant drives, the disks present will be: /dev/sdc to /dev/sdz and /dev/sdaa to /dev/sdaz and /dev/sdba to /dev/sdbj

In a 30 drive machine with two redundant drives, the disks present will be: /dev/sdc to /dev/sdz and /dev/sdaa to /dev/sdaf

HOW TO

To build your RAID 60 you are going to need a even number of disks.

The following is how to construct a 44 disk RAID 60.

A 44 disk RAID 60 would consist of two 22 disk RAID6s mirrored together.

1) Build your RAID6s (RAID6)

 root@Proto:~# mdadm --create /dev/md0 --level=6 --raid-devices=22 /dev/sd[cdefghijklmnopqrstuvwx]
 root@Proto:~# mdadm --create /dev/md1 --level=6 --raid-devices=22 /dev/sd[yz] /dev/sda[abcdefghijklmnopqrst]

2) Wait for your RAID60 to finish syncing. The following command will give you real time updates:

 root@Proto:~# watch cat /proc/mdstat

3) Build your stripe (RAID6+0)

 root@Proto:~# mdadm --create /dev/md2 --level=0 --raid-devices=2 /dev/md0 /dev/md1

4) Add new RAID arrays to /etc/mdadm.conf (/etc/mdadm/mdadm.conf on debian)

 root@Proto:~# mdadm --detail --scan >> /etc/mdadm.conf

5) Create a filesystem ontop of the array. This example uses XFS.

 root@Proto:~# mkfs.xfs -L Backup /dev/md2

6) Create a mount point for your array. Note you can call it whatever you would like.

 root@Proto:~# mkdir /mnt/data0

7) Add the following lines to /etc/fstab:

 /dev/md2 /mnt/data0 xfs auto,rw 0 0

8) Mount all the volumes in the system

 root@Proto:~# mount -av

NOTE: You will need to set the read and write permissions for your newly mounted filesystems. There are a number of ways to set your permissions using either chown or chmod. The method you choose will be very dependent on your particular security needs. You are encouraged to read the links provided to help with this process.