Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6...
-
Upload
allyson-fletcher -
Category
Documents
-
view
249 -
download
1
Transcript of Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6...
![Page 1: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/1.jpg)
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...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/2.jpg)
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. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/3.jpg)
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 ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/4.jpg)
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. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/5.jpg)
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 ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/6.jpg)
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 ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/7.jpg)
Raid-combinations
Raid 1+0 = Mirror of striped sets (Raid10) Raid 0+1 = Striping of mirrors
![Page 8: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/8.jpg)
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. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/9.jpg)
![Page 10: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/10.jpg)
Installation
Follow normal installation steps until you get to the partitioning wizard
There you choose manual partitioning
![Page 11: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/11.jpg)
![Page 12: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/12.jpg)
![Page 13: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/13.jpg)
![Page 14: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/14.jpg)
![Page 15: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/15.jpg)
![Page 16: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/16.jpg)
![Page 17: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/17.jpg)
![Page 18: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/18.jpg)
![Page 19: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/19.jpg)
![Page 20: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/20.jpg)
![Page 21: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/21.jpg)
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. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/22.jpg)
![Page 23: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/23.jpg)
![Page 24: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/24.jpg)
![Page 25: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/25.jpg)
![Page 26: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/26.jpg)
![Page 27: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/27.jpg)
![Page 28: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/28.jpg)
![Page 29: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/29.jpg)
![Page 30: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/30.jpg)
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. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/31.jpg)
![Page 32: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/32.jpg)
![Page 33: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/33.jpg)
![Page 34: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/34.jpg)
![Page 35: Configuring RAID with mdadm. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/35.jpg)
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. Raid ? Redundant Array of Inexpenisve Disks JBOD Raid 0,1,2,3,5,6 Combinations 10,0+1, etc...](https://reader035.fdocuments.us/reader035/viewer/2022081418/56649e495503460f94b3be40/html5/thumbnails/36.jpg)
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