linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: ptb@lab.it.uc3m.es (Peter T. Breuer)
To: linux-raid@vger.kernel.org
Subject: Re: Checking if RAID does work?
Date: Wed, 19 Jan 2005 22:24:59 +0100	[thread overview]
Message-ID: <bqv2c2-uec.ln1@news.it.uc3m.es> (raw)
In-Reply-To: 200501192217.29258.maarten@ultratux.net

maarten <maarten@ultratux.net> wrote:
> On Wednesday 19 January 2005 21:19, Peter T. Breuer wrote:
> > Poonam Dalya <poonamsbox@yahoo.com> wrote:
> > > I mounted my /dev/md1 on /mnt/raid. and then wrote a
> > > file on it. Then I tried to mount the raid disks
> > > /dev/hda10 on some other mount point and checked that
> > > mount point. But there was nothing in that mount
> > > point. Please could you please help me with this.
> 
> You did not forget to format / mkfs it I suppose ?
> 
> > Don't do that then. Do you have any reason to suppose that buffers were
> > already written to the top level system yet, or that mounting the same
> > device twice will caus eanything but pain and confusion and much
> > wailing and gnashing of teeth?
> 
> Sigh.

You don't understand - he mounted the raw partitions that make up the
raid array WHILE THE RAID WAS RUNNING somewhere else.

If the mount had failed he would have said. Therefore it did not fail.
If he had unmounted the raid array first, then the umount would have
flushed buffers to that device (the kernel sends flush_buffers or
whatever it is called nowadays) and the file would have been visible
when he did the later mount.

It was not, therefore he did not.



Peter


  parent reply	other threads:[~2005-01-19 21:24 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
2005-01-19 22:52           ` Måns Rullgård
2005-01-20  0:05             ` Neil Brown
2005-01-19 21:24       ` Peter T. Breuer [this message]
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=bqv2c2-uec.ln1@news.it.uc3m.es \
    --to=ptb@lab.it.uc3m.es \
    --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).