Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Hardware - Troubleshooting and Discussion > Consumer Hardware & Components > Question about security of Mirroring drive data

Question about security of Mirroring drive data
Thread Tools
Dedicated MacNNer
Join Date: Jul 2007
Status: Offline
Reply With Quote
Jan 2, 2009, 11:40 PM
 
I am considering the purchase of an OWC Mercury Rack Pro RAID 0+1 FW800 & USB 2.0 Stripe & Mirror 4 Bay Rack Storage Solutions but I had a question about "Mirroring" in general as a backup/redundancy mechanism...

Mirroring basically creates a mirror image of any data on a drive as it's created (on the physically seperate mirrored drive)...the idea being that if the drive get's corrupted you will always have the mirrorred copy as a backup...

But what happens if it's not the actual drive that gets corrupted, but rather some of the data on the drive...then you would basically have a corrupted copy of the data on both the primary drive and the mirrored drive, correct?

Any suggestions would be greatly appreciated...Thanks!
     
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Jan 3, 2009, 11:23 AM
 
First a quick standardization of terms: corruption means confusion of or damage to the data on a disk, because software told it to write it that way. If the drive itself messes up, that's a drive failure, which is not considered corruption. Generally speaking, corruption may be repairable, but drive failure never is.

With that laid out, your understanding is fundamentally correct.

Mirroring protects you ONLY against drive failure. It does NOT protect against corruption, because any faulty data written is dutifully written to both disks! So if software messes up and ruins a file or scrambles the disk, or you accidentally trash a file you needed, a mirrored RAID will not help in any way.

Repeat after me: "RAID is not a backup!"

I cannot emphasize that point enough!

So if you are concerned about downtime due to hardware failure, RAID can help. But whether you do RAID or not, you MUST have a separate drive for backup, using backup software (for example, Time Machine), which protects you against the data loss not caused by hardware failure.
     
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status: Offline
Reply With Quote
Jan 3, 2009, 11:47 AM
 
Mirroring provides neither backup nor corruption protection; mirroring is only for availability (continuing to work if one drive fails).

For corruption like bit rot, you'll have one good copy and one bad copy and the controller is unable to tell which is good, only that they're different (and if it stripes reads for performance, it won't even be able to tell that). For corruption like an application hosing your file while saving, the mirror will propagate the bad file to all mirrors, immediately.

You need a filesystem with checksumming to guard against the former and backups to guard against the latter.

What are you going to store, how much if it are you going to store, how are you going to access it, and what are you going to connect to it?

Originally Posted by tooki View Post
First a quick standardization of terms: corruption means confusion of or damage to the data on a disk, because software told it to write it that way. If the drive itself messes up, that's a drive failure, which is not considered corruption.
Are you asserting that bit rot is not corruption?
     
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Jan 4, 2009, 02:52 AM
 
Correct, I place that under drive failure.
     
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status: Offline
Reply With Quote
Jan 4, 2009, 03:30 PM
 
In the context of this thread I think it's worth considering bit rot and drive failure separately, since most RAID1 implementations (particularly at the consumer level) protects against the former but not the latter.
     
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Jan 4, 2009, 09:28 PM
 
Well, I give my drives NO leeway before I consider them suspect and thus no longer fit for duty. Yes, if a drive silently remaps a few blocks, fine. But if there is anything beyond that, I consider the drive dead, and use it only for non-critical tasks.
     
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status: Offline
Reply With Quote
Jan 5, 2009, 01:05 AM
 
How do you detect the 1 in 10^14 bit read error, to know that hard drive is no longer reliable?
     
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Jan 5, 2009, 02:41 AM
 
If the OS gives me errors that a file cannot be read, and even repeated attempts to read it fail.
     
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status: Offline
Reply With Quote
Jan 5, 2009, 01:28 PM
 
Are you using ZFS mirroring on OpenSolaris or something? OS X/HFS+ isn't going to detect the majority of flipped bits.
     
Admin Emeritus
Join Date: Oct 1999
Location: Zurich, Switzerland
Status: Offline
Reply With Quote
Jan 5, 2009, 08:00 PM
 
No, of course not! Have you never gotten a Finder error trying to open or copy a file?!?
     
Posting Junkie
Join Date: Oct 2005
Location: Houston, TX
Status: Offline
Reply With Quote
Jan 5, 2009, 09:05 PM
 
Certainly, but that's not indicative of or even necessarily related to bit rot/random bit read errors.

I wonder if the OP will ever come back to this thread.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 08:41 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2