1

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.

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

2 Answers 2

7

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.

3
  • 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, 2011 at 16:36
  • I'm concerned not about a complete drive failure but sectors going bad.
    – Stewie
    Jul 29, 2011 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, 2011 at 17:58
2

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.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .