Difference between revisions of "RAID"
From Vague Hope Wiki
Line 8: | Line 8: | ||
== Create == | == Create == | ||
+ | |||
+ | === Set disc type === | ||
+ | |||
+ | For each disc: | ||
<pre> | <pre> | ||
+ | sudo fdisk /dev/sdb | ||
+ | n ; for a new partition | ||
+ | enter | ||
+ | p ; for a primary partition | ||
+ | enter | ||
+ | 1 ; number of partition | ||
+ | enter ; accept the default | ||
+ | enter ; accept the default | ||
+ | t ; to change the type | ||
+ | fd ; sets the type to be “Linux raid auto detect” (83h) | ||
+ | w ; write changes to disk and exit | ||
</pre> | </pre> | ||
Revision as of 04:07, 15 October 2011
Contents
Set up
sudo aptitude install mdadm
Create
Set disc type
For each disc:
sudo fdisk /dev/sdb n ; for a new partition enter p ; for a primary partition enter 1 ; number of partition enter ; accept the default enter ; accept the default t ; to change the type fd ; sets the type to be “Linux raid auto detect” (83h) w ; write changes to disk and exit
References
- https://help.ubuntu.com/10.04/serverguide/C/advanced-installation.html
- http://warfieldninjas.com/2010/11/ubuntu-software-raid5-and-raid6-with-mdadm/
- http://www.howtogeek.com/51873/how-to-setup-software-raid-for-a-simple-file-server-on-ubuntu/
- http://www.ainer.org/raid-5-6-install-setup-configuration-guide-for-ubuntu-10-04-lts-lucid-lynx/2