linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Eric Wood" <eric@interplas.com>
To: linux-raid@vger.kernel.org
Subject: Re: Raid 1 fails on every reboot?
Date: Sun, 1 May 2005 21:59:18 -0400	[thread overview]
Message-ID: <001801c54eba$8d9198a0$6402a8c0@vaio> (raw)
In-Reply-To: 42744609.10101@advocap.org


----- Original Message ----- 
From: "John McMonagle"
> So here is my problem.
> Any time I reboot only the partitions on the first drive are active.
> If I switch drives it's always the first one that is active.

I'm not sure about scsi drives, but for RAID-1 IDE drives I find that I have 
to add a -h argument to the halt script.

The last lines of:
/etc/init.d/halt

are:

HALTARGS="-i -d -h"
[ -f /poweroff -o ! -f /halt ] && HALTARGS="$HALTARGS -p"

exec $command $HALTARGS


What I have found is that by adding a -h (man halt: Put all harddrives on 
the system in  standby  mode  just  before halt or poweroff), this somehow 
flushes the drives and I don't have rebuild problems upon reboot.  However, 
this works for FC 1 systems and I do not know if this is still neccessary 
for other distros.

-Eric Wood



      parent reply	other threads:[~2005-05-02  1:59 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-01  2:59 Raid 1 fails on every reboot? John McMonagle
2005-05-01  3:25 ` well, I know it's too late for most of us in the US - berk walker
2005-05-01 10:27 ` Raid 1 fails on every reboot? Laurent CARON
2005-05-01 13:48   ` John McMonagle
2005-05-01 16:57     ` John McMonagle
2005-05-02  1:59 ` Eric Wood [this message]

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='001801c54eba$8d9198a0$6402a8c0@vaio' \
    --to=eric@interplas.com \
    --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).