![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
|
|
Absolute Beginner Talk The perfect starting place to find out more about computers, Linux and Ubuntu. |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
5 Cups of Ubuntu
![]() Join Date: May 2007
Location: Vancouver, BC
Beans: 25
Ubuntu 7.04 Feisty Fawn
|
USB HDD RAID 5 Setup
Good Day Every,
I have 3 320 USB External HDDs (all identical HDD Models) and need to setup an external RAID 5 with them to keep all my photos and videos safely archived. I have Ubuntu Server installed and would like to know if anyone can walk me through setting up a software raid 5 setup for these USB drives? Or at least point me to a resource where this has been done before. Thanks in advance,
__________________
Aaron Summer Ubuntu 7.04 Server, Intel Dual Core 3.0 Ghz Processor, 1 GB Ram, 80GB HDD |
|
|
|
|
|
#2 |
|
Quad Shot of Ubuntu
![]() |
Re: USB HDD RAID 5 Setup
I would like to know also.
__________________
Even if the voices aren't real, they've got some great ideas! |
|
|
|
|
|
#3 |
|
5 Cups of Ubuntu
![]() Join Date: May 2007
Location: Vancouver, BC
Beans: 25
Ubuntu 7.04 Feisty Fawn
|
Re: USB HDD RAID 5 Setup
After some research I was able to build a simple software controlled RAID 1 array with 2 of my external 320 GB USB drives.
Tools used: gparted, gedit, mdadm and of course some coffee First I needed to know the location of my USB drives ... Code:
cat proc/diskstats I then opened gparted and removed the partitions from both drives, and created a new partition using the full disk space and formated to EXT3 file type. (I wonder if I could have gotten away with not formatting the drives?) Then I opened a terminal window and installed the mdadm tools for software raid ... Code:
sudo apt-get install mdadm Code:
sudo mdadm --create --verbose /dev/md0 --level=1 --raid-devices=2 /dev/sda1 /dev/sdb1 Once the computer restarted I opened a terminal to view the progress of the sync ... Code:
cat /proc/mdstat Code:
watch cat /proc/mdstat After about 2.5 hours the drives where synced and ready to be formated with the reiserfs. Code:
sudo mkfs -t reiserfs /dev/md0 Code:
sudo gedit /etc/fstab Code:
/dev/md0 /media/raid auto defaults 0 0 Code:
sudo mkdir /media/raid Code:
sudo mount -a Now you are done. This worked perfectly for me and runs very well. Please add comments if I have missed anything ... remember I am very very new to linux and this was my first attempt at creating a software raid 1 with external usb drives.
__________________
Aaron Summer Ubuntu 7.04 Server, Intel Dual Core 3.0 Ghz Processor, 1 GB Ram, 80GB HDD Last edited by aaron_summer; June 15th, 2007 at 11:44 AM.. |
|
|
|
|
|
#4 |
|
5 Cups of Ubuntu
![]() Join Date: Jul 2006
My beans are hidden!
Kubuntu 6.06
|
Re: USB HDD RAID 5 Setup
What happens if the drives get disconnected and somehow not connected in the same order at some later date? Do they change device IDs and the RAID stops working?
|
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|