LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 12-19-2006, 01:51 PM   #1
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Rep: Reputation: 15
Reconfigure RAID1--remove 3rd disk


I created /dev/md1 mounted at root ('/') when installing Suse 10.0. It contains:
/dev/hda2
/dev/hdb2
/dev/hdd2

I didn't realize this setups actually creates 2 mirrors of the main partition (hda2). What I intened to do was setup a RAID1 with 1 mirror and 1 spare. Can I change the RAID to 2 drives with 1 spare?

Thanks,

Andy
 
Old 12-19-2006, 01:55 PM   #2
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
What's the difference between having two mirrors and a spare.. Other than a bit of overhead to write to three discks instead of two..

Personally with three drives I would just have gone with RAID 5, instead of RAID 1..
although I can see with your configuration you could loose 2 drives and not loose any data..
 
Old 12-19-2006, 02:14 PM   #3
andrewstr
Member
 
Registered: Oct 2003
Location: WA--USA
Distribution: Red Hat 9, Suse 10.2
Posts: 144

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by farslayer
What's the difference between having two mirrors and a spare.. Other than a bit of overhead to write to three discks instead of two..
Exactly! I don't want the overhead of writing two mirrors. Also, I want the "active" mirror to be on a separate controller.


Quote:
Originally Posted by farslayer
Personally with three drives I would just have gone with RAID 5, instead of RAID 1..
although I can see with your configuration you could loose 2 drives and not loose any data..
I have a RAID 5 using the bulk of the drive space on the 3 drives. I used a small partition on each for the RAID1. Anyways, I've heard it's not possible to boot a RAID5 from GRUB. However, even if it were possible I'd rather run a RAID1 for the OS files.

I still haven't figured out how to remove one of the drives from the RAID1 and then add it as a spare. I've tried removing it and re-adding it but it always becomes a mirror again instead of a spare. Anyone know how to reconfigure this? It should be super simple but I can't find anything through Google on how to do this.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
add a new disk to raid1 array retrev Linux - General 1 04-08-2007 01:57 AM
How to boot from the 3rd disk while RAID1? Chowroc Linux - Software 1 11-07-2005 07:56 AM
RAID1 remove vexedsa Linux - General 2 05-25-2005 02:16 AM
Reconfigure Boot Disk Aerick Linux - Newbie 4 04-28-2004 01:50 PM
3rd install disk redhat 7.3 bw8 Linux - Newbie 2 10-06-2002 05:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 03:26 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration