linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: maarten <maarten@ultratux.net>
To: linux-raid@vger.kernel.org
Subject: Re: Checking if RAID does work?
Date: Wed, 19 Jan 2005 22:59:46 +0100	[thread overview]
Message-ID: <200501192259.46359.maarten@ultratux.net> (raw)
In-Reply-To: <yw1xk6q9xgg6.fsf@ford.inprovide.com>

On Wednesday 19 January 2005 22:22, Måns Rullgård wrote:
> maarten <maarten@ultratux.net> writes:
> > To the OP: Yes, every part of a raid-1 array (but only a raid-1
> > array) will / should be mountable and have the same filesystem as
> > the array has.  HOWEVER you should never ever mount the array AT THE
> > SAME TIME as one of its underlying devices!  Always umount first,
> > and only then mount the other.
>
> Furthermore, never ever mount a raid-1 component alone in read-write
> mode.  Modifying the mirrors individually will almost certainly result
> in breakage when the array is activated again.

Speaking from personal experience, I _think_ that modifying a drive that's 
part of an array gets noticed by md (somehow).  At least it always lead to a 
mirror breakage with me, and thus a re-add and a resync was in order.

I'm not sure if it really does that, and neither how it is done, but I'm led 
to believe it does get noticed. Maybe md (or the kernel?) writes a marker 
just before deactivation which signifies "drive was shutdown @..." ?

OTOH, I've also seen that I just modified /etc/fstab on hda1 to reflect that 
not /de/hda1 was root, but /dev/md0 instead, only to find that after a 
reboot /dev/md0 is _indeed_ now mounted as root, but that those recent 
changes in /fstab are gone.  So... maybe I'm just losing my head. (-:

Maarten

-- 

-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  reply	other threads:[~2005-01-19 21:59 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20050117010355.GH347@unthought.net>
2005-01-19 19:51 ` Checking if RAID does work? Poonam Dalya
2005-01-19 20:19   ` Peter T. Breuer
2005-01-19 21:17     ` maarten
2005-01-19 21:22       ` Måns Rullgård
2005-01-19 21:59         ` maarten [this message]
2005-01-19 22:52           ` Måns Rullgård
2005-01-20  0:05             ` Neil Brown
2005-01-19 21:24       ` Peter T. Breuer
2005-01-19 21:47         ` maarten
2005-01-19 20:59   ` Guy

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200501192259.46359.maarten@ultratux.net \
    --to=maarten@ultratux.net \
    --cc=linux-raid@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).