Mailinglist Archive: opensuse (1239 mails)

< Previous Next >
Re: [opensuse] raid1, ignore one HD when reading
В Wed, 5 Jun 2013 11:31:59 -0400
Greg Freemyer <greg.freemyer@xxxxxxxxx> пишет:

On Wed, Jun 5, 2013 at 10:22 AM, Ruediger Meier <sweet_f_a@xxxxxx> wrote:


Now I have such backups and I can diff and infestivate them
further. $ md5sum /backup/kvm.0/*
03fb631ab6810e28bc23a4b700b36598 vm02_root_sda
51519c14d5dfed591fa5cd9dd4789b2f vm02_root_sdb
620e31b4bbf852e41413565f834a9a74 vm05_root_sda
cd45de09ca60a2c058bb3a6fdc8cf5cc vm05_root_sdb
2592485256d561b2274b9525d63bbcb7 vm06_root_sda
5e5e04cbe82fb1971e8baa54c3485fe2 vm06_root_sdb
53f2dfdff8af2492006a97cbfeb1fc44 vm09_root_sda
53f2dfdff8af2492006a97cbfeb1fc44 vm09_root_sdb

There's something seriously wrong there. I wouldn't worry about
taking the raid offline, because it looks like there's a major
corruption problem so the data on it is extremely suspect!

Now I have everything to determine _exactly_ whether it's safe to repair
it or not. For now it looks like I have luck. The inconsistencies came
from a power failure some weeks ago and I can make it consistent again
without serious problems and further downtime.

RAID 1 has that problem.

3ware raid cards always degrade the mirror in the event of an
uncontrolled shutdown.

The first drive of the pair is made the online drive, and the second
drive is resync'ed to it.

I don't know how mdraid handles it.


Should do the same unless you use intent log, in which case it needs to
resync only small part.
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >