David Thomas Baker » Linux » Setting up Raid 1 on Linux

Here's the process for when I forget next time:

Create new linux partitions to be used in the software raid array, use mdadm to set them up, wait for them to sync, then create the filesystem on the new md0

# fdisk /dev/hdX 
# mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/hdX1 /dev/hdY1
# watch cat /proc/mdstat (takes 30 mins for 80GB)
# add ARRAY /dev/md0 devices=/dev/hdc1,/dev/hdd1 to /etc/mdadm/mdadm.conf
# reboot
# mkfs.ext3 /dev/md0

/dev/md0 is now ready to be used :)

Posted by David Baker in: Linux |
Tags:
Perm Link: link
Some ads...

Search My Site

Featured Projects

Collector Comics is THE place to buy, sell, and research comics online. Launching soon.
Launch » Screenshot »
Webitor is a kick-ass easy to use, easy to extend, non-database driven Content Management System. Version 2 with reseller plan coming soon.
Launch » Version 1 »
GC Lounge is my own pet social network and test bed for social related code. Made by locals for locals.
Launch »
GG has indexed over half a million recent Trade Mark applications. This revolutionary tool is extremely valuable for industry experts.
Launch »
GCWiFi is the hub for techies interested in joining a ad-hoc wireless mesh spread across the Gold Coast
Launch »
Web based financial client management system
Launch »
OS Commerce modules and template modification
Launch »
View More Projects »

Daves Friends

BlueTeddy
WebSpark
GC Designer Forum
IPWealth Trademarks
Cheap Websites
Bonsai Shop
Webitor CMS Resellers
Hayley Crook
David Novakovic
Ben Novakovic
Richard Morwood
Gold Coast Linux
Aussie Click
CMS Website Design
Inspire Tuition
Gold Coast Music Network and Gold Coast Gig Guide

Chat with Dave

Powered by...

In the works

Webitor - Easy to use Content Management System with Shop, Newsletter, and Reseller plan