Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

This question pertains to either Linux 2.6 and/or the latest Mac OS/X.

My goal is data integrity, not speed. I have way too much disk space anyway.

I gather under Linux I need to use the mdadm command. Is that right?

Thanks.

share|improve this question
    
Why the downvote? I don't think there is anything wrong with the question, just an inexperienced young'un here to learn. –  Jed Daniels Jul 29 '11 at 15:59
    
Wow, two downvotes, and no comments why. Server Fault, you disappoint me again. –  Jed Daniels Jul 29 '11 at 17:10

2 Answers 2

First RAID0 is just striping; there's no redundancy or "integrity"
Next, If that drive fails it's taking both partitions with it. Again, no redundancy or integrity.

If you want, you can create a RAID1 array across two partitions. However, again if the drive fails it's taking both partitions with it, and you're back to no redundancy.

share|improve this answer
1  
This is the best answer here. If anything, make nightly backups of your documents and just keep like 2 weeks worth of backups. A poor man's versioning system. –  surfasb Jul 29 '11 at 16:36
    
I'm concerned not about a complete drive failure but sectors going bad. –  Stewie Jul 29 '11 at 17:39
1  
Modern disks (like since the turn of the century) hide bad sectors. When one starts to go bad it copies the data out and remaps the sector to a good one from it's reserve. If a drive has run out of reserve sectors you've got bigger problems, like the whole disk dieing. –  Chris S Jul 29 '11 at 17:58

I'm guessing that you meant to ask about RAID1, since that is mirroring and RAID0 offers NO data protection. You could do this, but this will probably increase the chances of data loss, since the primary thing RAID1 protects you from is drive failure, and you'll be increasing the load on the drive by doubling the writes to it, so it will be more likely to fail.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.