Forums

Skip to content

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

Software Raid-0 for / Partition?

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
7 posts • Page 1 of 1
Author
Message
nero37
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 141
Joined: Fri Jun 15, 2007 12:58 pm
Location: Ireland

Software Raid-0 for / Partition?

  • Quote

Post by nero37 » Mon Sep 24, 2007 10:41 am

hi, im just after getting a new notebook and it has 2 x 200GB hds and am preparing to install gentoo. since i have 2 hds i was thinking about creating a ~30GB partition on each hd and using these to create software raid-0 array for my / partition.

Do you think this is a good/crazy/stupid idea?
Top
pdr
l33t
l33t
User avatar
Posts: 618
Joined: Sat Mar 20, 2004 10:28 pm

  • Quote

Post by pdr » Mon Sep 24, 2007 10:56 am

As long as the cost (higher chance of unrecoverable failure) is worth the benefit (faster access) to you, and that you either like doing new installs or do regular backups :wink: which you should do even without raid-0, then I don't seen why not. I run raid-1 (with backups) on my workstation personally..
Top
nero37
Tux's lil' helper
Tux's lil' helper
User avatar
Posts: 141
Joined: Fri Jun 15, 2007 12:58 pm
Location: Ireland

  • Quote

Post by nero37 » Mon Sep 24, 2007 11:43 am

thanks for the info, im still kinda torn over it as iv had a hd die on me before.

Since it is software based, would i have to install gentoo to a normal patition and then create the raid array and copy the contains accross or could i use the live cd to create it before the install?

Thanks
Top
Akkara
Bodhisattva
Bodhisattva
User avatar
Posts: 6702
Joined: Tue Mar 28, 2006 12:27 pm
Location: &akkara

  • Quote

Post by Akkara » Mon Sep 24, 2007 12:00 pm

I haven't yet set up a raid myself (but I've been thinking about it) so this might not be polished accurate advice -

I'd probably go with two partitions: a smaller raid-1 and a larger raid-0.

Make a 10-15GB raid-1 and put root on that, so that even if a disk fails entirely (or you pull it out for whatever reason) you still have something that can boot and look at the remains with. When reading, is a raid-1 about as fast as a raid-0? (at least, it seems it could be?) Root doesn't change as often so write performance might not be as much of a issue.

Then /home, /tmp, /var/tmp can go on a raid-0 (and you can use mount -o bind so you don't actually have to make 2-3 separate partitions for those).

Or alternatively, you can make a larger raid-1'ed root and put /home there, then have a /workarea or something like that with a large raid-0. Larger files that aren't as important can go there, and smaller files that are more important whose loss is more critical can go on the raid-1.
Top
the_mk
n00b
n00b
Posts: 28
Joined: Mon Feb 27, 2006 7:53 pm
Location: Italian and Proud

  • Quote

Post by the_mk » Mon Sep 24, 2007 12:52 pm

I think that if you have very important data on your notebook, you can plan dailies backup for these (on secure disks), and weekly backups for system files (on same disk), maybe in the end of the day, because with notebook you can damage hd accidentaly (ex: crashes), so you can make a full raid-0 system, expecially if you have got two slow hard disks (5400rpm)
Top
Mad Merlin
Veteran
Veteran
Posts: 1155
Joined: Mon May 09, 2005 7:37 pm
Contact:
Contact Mad Merlin
Website

  • Quote

Post by Mad Merlin » Tue Sep 25, 2007 1:59 pm

All hard drives die eventually, it's just a matter of time.

You should also consider that RAID 0 will degrade your seek times (but improve your sequential read/write times). For 5400 RPM laptop drives, the seek time degradation will be magnified. If you're normally working with lots of small files instead of a few big files, you'll probably find that RAID 0 isn't a big improvement (if an improvement at all).
Game! - Where the stick is mightier than the sword!
Top
pdr
l33t
l33t
User avatar
Posts: 618
Joined: Sat Mar 20, 2004 10:28 pm

  • Quote

Post by pdr » Sat Sep 29, 2007 6:56 pm

Also, I use rsnapshot (it is in portage) to back up my systems to an external eSATA/USB hard drive (eSATA on the workstation, USB on the server). Because it is using rsync, my server for example backed up in 2-3 minutes last time (not a lot changes on the server). The reason I like rsnapshot is that I don't have a LOT of data changing between backups, and while it is incremental, it is also a direct image (well, with hard links), not tar'd, gzip'd, etc; restore is as easy as copying, and it is easier to restore an individual file than any other method I've used.

The Vantec eSATA/USB external hard drive case I use is $35 at newegg.com, and if you are only going to use 60GB on the laptop for linux, you could for example pick up a 160GB WD hard drive for $70 (this can vary widely - there are constantly deals on <500GB drives)
Top
Post Reply

7 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

 

 

magic