LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 10-04-2009, 06:14 PM   #1
jpc82
Member
 
Registered: Oct 2001
Distribution: Gentoo
Posts: 140

Rep: Reputation: 15
Multiple spares with raid


I am experimenting with setting up a raid with different size drives.

Here are my drives
sda 300GB
sdb 150GB
sdc 300GB

What I want to do is create 150GB partitions on all the drives so
sda1 150GB
sda2 150GB
sdb1 150GB
sdc1 150GB
sdc2 150GB

I would then set up raid 5 with 2 drives for redundancy.

Will this work?

If I create an array with 4 drives and 1 spare, is the spare active? so that if one of my 300GB drive dies will it still work or are the spares just sitting there with no parity info on them at all until they are needed. If so, is there a way to make spare active?
 
Old 10-05-2009, 06:41 AM   #2
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbangified Debian 8 (Jessie)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
Question Will it work?

Well, technically, it should 'work' since each partition can be read as a separate device. But in practice, you actually need separate drives because if one of your 300Gb drives crash, then both partitions are lost which would defeat the object of having spare drives in the first place.
 
Old 10-05-2009, 06:55 AM   #3
jpc82
Member
 
Registered: Oct 2001
Distribution: Gentoo
Posts: 140

Original Poster
Rep: Reputation: 15
Ya, I have been running some tests and it seems like the spares are just sitting there doing nothing until they are needed.

I could use raid 6 and I think it would work in this example since then if my 300GB fails the array would still be live since raid 6 has 2 parity drives. But I still have to test this example.

But is there any way to make the raid have more parity drives? I have searched and I can see zfs allows for triple parity, but can't see anything for mbadm, or even allowing for n parity.
 
  


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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Software RAID 6 Drives Marked As Spares And The md Drive is inactive jc_cpu Linux - Server 11 06-04-2009 11:06 AM
multiple md raid arrays edgjerp Linux - Software 0 10-13-2007 07:28 AM
Raid Missing Spares shiftytitan Linux - Server 1 06-22-2007 06:48 PM
RAID-5 with multiple disk failure, need help gregerbergman Linux - Hardware 1 03-07-2005 01:25 PM
Creating multiple partitions in a software RAID heiseltc Linux - Hardware 1 05-31-2003 08:52 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:49 PM.

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