All of lore.kernel.org
 help / color / mirror / Atom feed
From: drtebi@drtebi.com
To: Neil Brown <neilb@cse.unsw.edu.au>
Cc: linux-raid@vger.kernel.org
Subject: Re: RAID1 always resyncs at boot???
Date: Thu, 27 Nov 2003 15:29:41 -0800	[thread overview]
Message-ID: <hp1alh.rftuxt@mail.drtebi.com> (raw)
In-Reply-To: <16326.34106.78894.57151@notabene.cse.unsw.edu.au>

Well,
no, I do a regular shutdown with shutdown -h now, or reboot for rebooting.
I have it working now however.
I think what was wrong is that I had my /etc/fstab like this:
# <fs>               <mountpoint>   <type>      <opts>            <dump/pass>
/dev/sda1            /boot          ext2        noauto,noatime    1 1
/dev/sda5            /              xfs         noatime           0 0
/dev/dsa2            none           swap        sw                0 0
/dev/md0             /raid          xfs         noatime           0 0
/dev/cdroms/cdrom0   /mnt/cdrom     iso9660     noauto,ro         0 0
proc                 /proc          proc        defaults          0 0
tmpfs                /dev/shm       tmpfs       defaults          0 0

I did not have the fschk option (the last one) set to 1 on /dev/md0. At least
someone advised me to do so, so I set it to 1, tried to reboot and it works
just fine now ;)
(here is the thread of this help:
http://forums.devshed.com/t101414/sd5d6d3f616a474180753071f3ce364ef.html )

I still would like to understand WHY this helped, could you explain?

Another question: How do I restart "from scratch", reformatting the drives
does not earase the persistent-superblock etc....

And last one: Now that the RAID is setup (which is not holding the OS, it's
purely used for storage), I would like to use another disk for the OS. So
after I install Linux on another disk, can I just mount the RAID afterwards?

Thanks!




  reply	other threads:[~2003-11-27 23:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-11-27 15:13 RAID1 always resyncs at boot??? drtebi
2003-11-27 23:14 ` Neil Brown
2003-11-27 23:29   ` drtebi [this message]
2003-11-28  0:00     ` Neil Brown
2003-11-28  4:33       ` drtebi
2003-11-28  4:40         ` Neil Brown
2003-11-28  4:57           ` drtebi
2003-11-30  3:31             ` Ricky Beam
2003-11-30  6:19               ` drtebi

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=hp1alh.rftuxt@mail.drtebi.com \
    --to=drtebi@drtebi.com \
    --cc=linux-raid@vger.kernel.org \
    --cc=neilb@cse.unsw.edu.au \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.