36
Configuring RAID with mdadm

Configuring RAID with mdadm

  • Upload
    edmund

  • View
    85

  • Download
    3

Embed Size (px)

DESCRIPTION

Configuring RAID with mdadm. Raid ?. Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc . Raid0. Striping Non-redundant Focus on speed Multiple disk balance the load 1 disk broken = All data gone. Raid 1. Mirroring - PowerPoint PPT Presentation

Citation preview

Page 1: Configuring RAID with mdadm

Configuring RAIDwith mdadm

Page 2: Configuring RAID with mdadm

Raid ?

Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc ...

Page 3: Configuring RAID with mdadm

Raid0

Striping Non-redundant Focus on speed Multiple disk balance the load 1 disk broken = All data gone

Page 4: Configuring RAID with mdadm

Raid 1

Mirroring Data is replicated to 2 or more disks 1:1 ratio realtime backup Slow Minimum of 2 disks

Page 5: Configuring RAID with mdadm

Raid5

Striped set with distributed parity or interleave parity requiring 3 or more disks

Size = n disks – 1 Data is not destroyed if one disk is lost Due to parity recalculation the spare can

be rebuilt

Page 6: Configuring RAID with mdadm

Raid 6

Striped set with dual distributed parity Becomes more important Can recover diskfailures up to 2 drives Important while rebuilding large drives

Page 7: Configuring RAID with mdadm

Raid-combinations

Raid 1+0 = Mirror of striped sets (Raid10) Raid 0+1 = Striping of mirrors

Page 8: Configuring RAID with mdadm

Comments

RAID is NOT backup !!! Keep rsync or cold backups !

Hot spare Software Raid vs Hardware Raid Detailed information on next url :http://nl.wikipedia.org/wiki/Redundant_Array_of_Independent_Disks

Page 9: Configuring RAID with mdadm
Page 10: Configuring RAID with mdadm

Installation

Follow normal installation steps until you get to the partitioning wizard

There you choose manual partitioning

Page 11: Configuring RAID with mdadm
Page 12: Configuring RAID with mdadm
Page 13: Configuring RAID with mdadm
Page 14: Configuring RAID with mdadm
Page 15: Configuring RAID with mdadm
Page 16: Configuring RAID with mdadm
Page 17: Configuring RAID with mdadm
Page 18: Configuring RAID with mdadm
Page 19: Configuring RAID with mdadm
Page 20: Configuring RAID with mdadm
Page 21: Configuring RAID with mdadm

Repeat partitioning

Repeat slides 6 through 12 to complete the partitioning scheme

The result should be as the following slide

Page 22: Configuring RAID with mdadm
Page 23: Configuring RAID with mdadm
Page 24: Configuring RAID with mdadm
Page 25: Configuring RAID with mdadm
Page 26: Configuring RAID with mdadm
Page 27: Configuring RAID with mdadm
Page 28: Configuring RAID with mdadm
Page 29: Configuring RAID with mdadm
Page 30: Configuring RAID with mdadm

Finish MD configuration

Repeat slides 16 through 20 until you get the result on the next slide

You will notice when you’re finished with designating MD devices, when you have selected all pairs

Then select “Finish”

Page 31: Configuring RAID with mdadm
Page 32: Configuring RAID with mdadm
Page 33: Configuring RAID with mdadm
Page 34: Configuring RAID with mdadm
Page 35: Configuring RAID with mdadm

Finish installation

Continue finishing your installation if it were a normal one

Refer to semester 1 documentation if necessary

Page 36: Configuring RAID with mdadm

MDADM

Once rebooted on your new system, install mdadm raid tools

Apt-get update && apt-get install mdadm Mdadm - -detail /dev/md? Cat /proc/mdstat dmesg