Using RAID 1 as a method of cloning

User avatar
John Gray
PlatinumLounger
Posts: 5426
Joined: 24 Jan 2010, 08:33
Location: A cathedral city in England

Using RAID 1 as a method of cloning

Post by John Gray »

Any thoughts on the following Windows drive cloning suggestion?

1) put an identical drive into your PC and set up (software) RAID-1
2) break the mirror
3) remove the original drive and boot from the newly-cloned drive

I feel that there may well be flaws...
John Gray

If you are having problems with solitude, you are not alone.

User avatar
Leif
Administrator
Posts: 7220
Joined: 15 Jan 2010, 22:52
Location: Middle of England

Re: Using RAID 1 as a method of cloning

Post by Leif »

In theory that should work - that's what it's meant to do, isn't it? It's certainly my first line of recovery, should the need arise!

I had a server (some years back) that had Raid 1. The first drive started disintegrating. I removed it, re-configured Drive 1 to be Drive 0, and it (re-)started normally (apart from an initial complaint that a drive was missing).

I don't think you should expect normal HD performance, particularly with software Raid 1, and especially on first starting up as everything is copied from Drive 0 to Drive 1....
Leif

User avatar
John Gray
PlatinumLounger
Posts: 5426
Joined: 24 Jan 2010, 08:33
Location: A cathedral city in England

Re: Using RAID 1 as a method of cloning

Post by John Gray »

Thanks, that's what I thought, but I've never had to do it in anger since if any file gets corrupted on a (bad) first disk, this gets copied across to the (good) second disk, doesn't it?
John Gray

If you are having problems with solitude, you are not alone.

User avatar
StuartR
Administrator
Posts: 12632
Joined: 16 Jan 2010, 15:49
Location: London, Europe

Re: Using RAID 1 as a method of cloning

Post by StuartR »

John Gray wrote:Thanks, that's what I thought, but I've never had to do it in anger since if any file gets corrupted on a (bad) first disk, this gets copied across to the (good) second disk, doesn't it?
Yep. RAID 1 only protects you from hardware errors, any software corruption will happily get mirrored to both disks.
StuartR


User avatar
Leif
Administrator
Posts: 7220
Joined: 15 Jan 2010, 22:52
Location: Middle of England

Re: Using RAID 1 as a method of cloning

Post by Leif »

Any corrupted data will happily get backed up to any clone or backup, and from experience, it can be some years before you are aware that what you thought was a safe copy has been unusable for a decade.

I would assume that if there is hardware corruption making part of one drive unreadable, the Raid software would not attempt to duplicate it. But I can't be sure.

I don't think there is an easy (i.e. cheap) solution to protecting yourself against instantaneous recovery from data corruption as it happens.

Unless you know better? :grin:
Leif

User avatar
John Gray
PlatinumLounger
Posts: 5426
Joined: 24 Jan 2010, 08:33
Location: A cathedral city in England

Re: Using RAID 1 as a method of cloning

Post by John Gray »

Leif wrote:Unless you know better? :grin:
How on earth could I ever know better than you, O Leif?!
John Gray

If you are having problems with solitude, you are not alone.