Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Kernel & Hardware
  • Search

RAID10 or RAID5/6 with four hard disks

Kernel not recognizing your hardware? Problems with power management or PCMCIA? What hardware is compatible with Gentoo? See here. (Only for kernels supported by Gentoo.)
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
alexbuell
Guru
Guru
Posts: 503
Joined: Thu Jul 18, 2002 6:49 am
Location: "Hemp"shire, UK
Contact:
Contact alexbuell
Website

RAID10 or RAID5/6 with four hard disks

  • Quote

Post by alexbuell » Sat Jan 11, 2014 1:41 am

What is better, RAID10 or RAID5/6 when using 4 disks? I currently use 2 disks with RAID10, and it work very well and now need more space so going from 2 disks to 4 disks, but can't decide which to use, RAID10 or RAID5/6.

Thanks
Cheers,
Alex.

Linux - the best text adventure game ever.
Top
eccerr0r
Watchman
Watchman
Posts: 10234
Joined: Thu Jul 01, 2004 6:51 pm
Location: almost Mile High in the USA
Contact:
Contact eccerr0r
Website

  • Quote

Post by eccerr0r » Sat Jan 11, 2014 2:52 am

I think RAID1+0 is faster than RAID5.

It depends on what your priorities are. I wanted less disk space used for redundancy on my 4 disk system so only 1 disk is redundant versus two for raid1+0 and raid6.

If you can tolerate speed reduction and capacity loss from redundancy I'd probably use raid6 because you're guaranteed any two disk failures would mean your data still lives on... with raid1+0 you could get unlucky, and raid5 two disks = you're done...
Intel Core i7 2700K/Radeon Firepro W2100/24GB DDR3/800GB SSD
What am I supposed watching?
Top
AaronPPC
Guru
Guru
Posts: 522
Joined: Sun May 29, 2005 8:22 am
Location: Tucson, AZ

  • Quote

Post by AaronPPC » Sat Jan 11, 2014 4:15 am

Subscribed.

I recently had a similar dilemma at work. I built two servers on Dell R420 hardware. The servers we bought had 5 drives arranged as two RAID1 volumes and a hot spare. The install docs for the software that would be running on these servers wanted you to make 1 RAID1 volume for the OS (which I was OK with) and 1 RAID5 volume for data. I would have rather have left factory configuration alone. There was plenty of RAID1 space for our needs. I ultimately decided to do what the docs wanted.
--Aaron
Top
frostschutz
Advocate
Advocate
User avatar
Posts: 2978
Joined: Tue Feb 22, 2005 11:23 am
Location: Germany

  • Quote

Post by frostschutz » Sat Jan 11, 2014 1:44 pm

I'd go with RAID 5. But you have to make up your own mind. RAID 10 does not offer real 2 disk redundancy. If the wrong pair of disk fails, the data is gone. If you want a real 2 disk redundancy you have to go with RAID 6. You must have a good backup strategy in any case.

Having two disks fail at the same time is not impossible but extremely rare. However you have to test your disks regularly (smartmontools), and replace them immediately when you notice any sign of failure (reallocated/pending sectors).

If you never check the state of your disk, and only replace a disk when it failed completely, and only then notice that other disks also had bad blocks - then of course your disks failed at the "same" time, namely during the last 3 years in which you never ever monitored your disk health. Bad blocks can go undetected for a very long time.
Top
alexbuell
Guru
Guru
Posts: 503
Joined: Thu Jul 18, 2002 6:49 am
Location: "Hemp"shire, UK
Contact:
Contact alexbuell
Website

  • Quote

Post by alexbuell » Sat Jan 11, 2014 4:41 pm

OK, RAID6 it is.

Thanks to all for making my mind up.
Cheers,
Alex.

Linux - the best text adventure game ever.
Top
alexbuell
Guru
Guru
Posts: 503
Joined: Thu Jul 18, 2002 6:49 am
Location: "Hemp"shire, UK
Contact:
Contact alexbuell
Website

  • Quote

Post by alexbuell » Mon Jan 13, 2014 9:38 am

Can mdadm be used to create a RAID6 array of 4 drives with two missing drives?
Cheers,
Alex.

Linux - the best text adventure game ever.
Top
frostschutz
Advocate
Advocate
User avatar
Posts: 2978
Joined: Tue Feb 22, 2005 11:23 am
Location: Germany

  • Quote

Post by frostschutz » Mon Jan 13, 2014 12:58 pm

Yes. But there is no redundancy with missing drives, so you should do this only if you are planning to add the missing drives...
Top
alexbuell
Guru
Guru
Posts: 503
Joined: Thu Jul 18, 2002 6:49 am
Location: "Hemp"shire, UK
Contact:
Contact alexbuell
Website

  • Quote

Post by alexbuell » Mon Jan 13, 2014 11:55 pm

frostschutz wrote:Yes. But there is no redundancy with missing drives, so you should do this only if you are planning to add the missing drives...
Great, thanks.
Cheers,
Alex.

Linux - the best text adventure game ever.
Top
alexbuell
Guru
Guru
Posts: 503
Joined: Thu Jul 18, 2002 6:49 am
Location: "Hemp"shire, UK
Contact:
Contact alexbuell
Website

  • Quote

Post by alexbuell » Tue Jan 14, 2014 10:41 pm

Another question that I've been unable to find a definite answer; can I use GRUB2 to boot off a RAID6 ext4 volume?

Thanks!
Cheers,
Alex.

Linux - the best text adventure game ever.
Top
szatox
Advocate
Advocate
Posts: 3858
Joined: Tue Aug 27, 2013 12:35 pm

  • Quote

Post by szatox » Wed Jan 15, 2014 2:20 pm

If it was hardware raid you wouldn't probably ask, so I assume it's software raid.
I have no idea if you can boot from raid6, my guess is no, but with software raid you can make another, small boot partition and boot from there. I have grub 1 running this way on mirroed disks.
I've created 2 partitions on both disks, 50MB for boot and the rest for lvm. Grub 1 doesn't mind being installed over device mapper, and bios doesn't have any problems finding bootloader on such partition. Once kernel and initramfs are loaded, initramfs deals with assembling both raids for me. I can unplug either hard drive and it would still run using the other copy.
You can try similar thing and just get mirror for boot and raid6 or whatever you want for the rest. Software raid is made of partitions rather than whole devices.
Top
Post Reply

10 posts • Page 1 of 1

Return to “Kernel & Hardware”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy