LinuxSA Mailing list archives

Index: [thread] [date] [subject] [author] [stats]
  From: <davidn@rebel.net.au>
  To  : Graham Smith <linuxsalist@sonicresolutions.com>
  Date: Thu, 16 Jan 2003 12:08:58 +1030 (CST)

Re: /boot/grub/stage2 file changes magically.. very weird! (LONGpost!)

Graham Smith <linuxsalist@sonicresolutions.com> wrote:
> No I haven't done that check, is it possible to compare the two files on the
> raw partitions without unmounting the raid volume??

I've never used linux raid so my advice is purely theoretical.
The underlying disk partitions should still be available, e.g. /dev/hda1
and /dev/hdc1.  You can use cmp on them, whether or not they are mounted.
There might well be some expected differences, for example describing
the fact that they are two different halves of a mirrored set.  I would
expect those differences to be at the start of each disk.  If you get
differences all over the place either the theory (that you can compare
mirrors) is wrong or else your mirrors are totally hosed.

Another idea, albeit a dangerous one: you should be able to break your
mirror by taking one half off-line.  Do so and see which version of the
file you have.  Then replace the half that's on-line with the half that's
off-line and see if you have the same file.

-- 
LinuxSA WWW: http://www.linuxsa.org.au/ IRC: #linuxsa on irc.openprojects.net
To unsubscribe from the LinuxSA list:
  mail linuxsa-request@linuxsa.org.au with "unsubscribe" as the subject


Index: [thread] [date] [subject] [author] [stats]
Return to the LinuxSA Mailing List Information Page