We'd like to remind Forumites to please avoid political debate on the Forum... Read More »
We're aware that some users are experiencing technical issues which the team are working to resolve. See the Community Noticeboard for more info. Thank you for your patience.
📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
Calling all Linux power users - I need a new partition table
Options

mrscruffy
Posts: 221 Forumite
in Techie Stuff
Seeing as there are numerous Linux users here (:p) I've got a question following a hard drive failure earlier this evening.
***WARNING*** - This post gets very geeky very quickly. If you get scared easily look away now.
As I have encountered a disk failure I might take the opportunity for some tinkering whilst I'm inside the beige box!
My current set-up is:
2 x 40GB SATA drives with 3 partitions (one of these just died!)
2 x 500GB SATA drives with 1 partition
The 40GB drives have 3 x software RAID-1 drives mapped to them for /boot, / and /swap. The 500GB drives has a single RAID-1 mapped to /home
This was great as I had some back luck with drive failures previously and wanted redundancy over performance. Now that one of the 40GB drives has failed I am considering spashing out 2 more 500GB drives and get the performance that RAID-5 can offer.
I know there are many, many, many forum posts on how to create a RAID but that is not really my question. What I not sure about is how to get extra performance without loosing redundancy.
As shown above I have /home nice and safe on its own pair of mirrored drives which has been useful as I recently decided to do a clean install and only made changes to / on the other pair of drives.
I could buy 2 more 500GB drives and get a nice quick RAID-5 (I've only got 4 SATA connections). But then I have to have / and /home on the same set of drives - Is this sensible?
Is it just as simple as creating 4 partitions across 4 drives and mapping each to a RAID-5 one each for /boot, /, /swap and /home? I have a nagging in the back of my head which think so but it is always nice to check!
Many thanks
***WARNING*** - This post gets very geeky very quickly. If you get scared easily look away now.
As I have encountered a disk failure I might take the opportunity for some tinkering whilst I'm inside the beige box!
My current set-up is:
2 x 40GB SATA drives with 3 partitions (one of these just died!)
2 x 500GB SATA drives with 1 partition
The 40GB drives have 3 x software RAID-1 drives mapped to them for /boot, / and /swap. The 500GB drives has a single RAID-1 mapped to /home
This was great as I had some back luck with drive failures previously and wanted redundancy over performance. Now that one of the 40GB drives has failed I am considering spashing out 2 more 500GB drives and get the performance that RAID-5 can offer.
I know there are many, many, many forum posts on how to create a RAID but that is not really my question. What I not sure about is how to get extra performance without loosing redundancy.
As shown above I have /home nice and safe on its own pair of mirrored drives which has been useful as I recently decided to do a clean install and only made changes to / on the other pair of drives.
I could buy 2 more 500GB drives and get a nice quick RAID-5 (I've only got 4 SATA connections). But then I have to have / and /home on the same set of drives - Is this sensible?
Is it just as simple as creating 4 partitions across 4 drives and mapping each to a RAID-5 one each for /boot, /, /swap and /home? I have a nagging in the back of my head which think so but it is always nice to check!
Many thanks
0
Comments
-
I could buy 2 more 500GB drives and get a nice quick RAID-5 (I've only got 4 SATA connections). But then I have to have / and /home on the same set of drives - Is this sensible?
I don't see any problems with it as long as you don't tell us what your PC is used for. I don't think you will feel a difference in terms of speed if you use it only as a desktop.0 -
How much RAM have you in the box?
If you've for 4Gb+ then SWAP won't be touched that much, unless you get into Video / Graphics editing.
Here's an Idea!!
You could pick up a cheap CF adapter that plugs into the Motherboard (IDE or PCIe) and use a cheap 4Gb CF card as swap file (it'll hardly get used so will last ages)
I'd not bother sticking "/boot" or "/" on a raid setup since all your configs are in /home. It's a trivial matter to reinstall the OS if things get messed up. (but you should STILL backup your system, Raid is for speed and to guard against hardware failures not for software problems!!)Laters
Sol
"Have you found the secrets of the universe? Asked Zebade "I'm sure I left them here somewhere"0 -
How much RAM have you in the box?but you should STILL backup your systemall your configs are in /home0
-
ok
i'd leave those where they are then lol!Laters
Sol
"Have you found the secrets of the universe? Asked Zebade "I'm sure I left them here somewhere"0
This discussion has been closed.
Confirm your email address to Create Threads and Reply

Categories
- All Categories
- 351K Banking & Borrowing
- 253.1K Reduce Debt & Boost Income
- 453.6K Spending & Discounts
- 244K Work, Benefits & Business
- 598.8K Mortgages, Homes & Bills
- 176.9K Life & Family
- 257.3K Travel & Transport
- 1.5M Hobbies & Leisure
- 16.1K Discuss & Feedback
- 37.6K Read-Only Boards