James Knott wrote:
jdd wrote:
James Knott wrote:

 however disk drives are
mechanical devices and thus more likely to fail.
I have had at least as many ram failure than hard drive

with swap, you are vulnerable to both together...

jdd


The only computer I have with RAID also has error correcting memory, as
many servers use.  Also, back in the days when I was a computer tech,
servicing mini-computers, hard drive failures were far more frequent
than memory.

Thanks for the great discussion on this! In my case I'm running a home server, that can be taken down for short periods of time when needed. I'm more interested in maintaining my setup and data, so I set up a raid1 to give me some redundancy here. That way if a disk encounters a problem between backups, I have some built in protection. I usually do a full backup every week, sometimes two, but not more than that. I don't have to have a failsafe setup here, but would like to not loose data.

The reason I set up swap (and /boot, /, and /home) on raid was I was following the article about software raid on the opensuse wiki. That article indicated, and others I've read stated that in order to recover one lost disk with the other, ALL partitions on the disk had to be mirrored (not just /home for example). Is this true?

I re-booted with the "noresume" option and can access swap now on the mirrored /dev/md1 so that's not an issue now, and I'm comfortable leaving swap mirrored on /dev/md1, but is that necessary or recommended? For performance sake I could make swap not raid, but what does that do to my recovery situation in the future if needed?

There is a lot of discussion regarding raid, and one thing I've learned is that there are many different implementations. Raid is not raid is not raid. It may be that the recovery issue related to the full disk being mirrored may be related to bios (fake) raid, and not an issue with linux software raid. But I am still unclear on this. So to ask my remaining question more clearly, can I recover a lost disk with the good one if it contains a mix of raid and non-raid partitions on it, or does the whole disk need to be raid1 for recovery?

Thanks again for all the great info!

Jim F
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to