Install RAID0 on Ubuntu Lucid Lynx
set up RAID0
Create a full-disk partition on each of two drives to be RAID0 combined. Set each full-disk partition as type fd - Linux RAID Auto-detect
. Use fdisk or your favourite partitioning tool.
Then:
mdadm --create /dev/md0 --level=0 --raid-devices=2 /dev/sda1 /dev/sdb1
sudo /usr/share/mdadm/mkconf force-generate /etc/mdadm/mdadm.conf
sudo mkfs.ext3 /dev/md0
mkdir /raid
sudo mount /dev/md0 /raid
Everything okay to this point? Add the raid to fstab to mount raid automatically after reboot.
sudo echo "/dev/md0 /raid ext3 defaults 1 2" | sudo tee -a /etc/fstab
update-initramfs -u
Why not test the reboot now?




Articles © 2010
Map images and data © 2010
help please
Where do I put these commands in? I used the alternate install ISO to partition the disks. I am having some real trouble getting this to work.
Hi zach, Tell me more about
Hi zach,
Tell me more about where you are having trouble? Can you copy the error message?
Post new comment