linux-raid.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Richard Scobie <richard@sauce.co.nz>
To: Linux RAID Mailing List <linux-raid@vger.kernel.org>
Subject: Re: MDADM restart at system boot time
Date: Wed, 05 Sep 2007 10:52:27 +1200	[thread overview]
Message-ID: <46DDE1AB.6010507@sauce.co.nz> (raw)
In-Reply-To: <8f2c1194b4839dee2ea49eedfeaf783a@7digital.co.uk>

Paul wrote:
> Hi,
>  
> I hope someone can help.
>  
> I have manually installed mdadm and now have a working array. I installed mdadm from the tarball, then did 'make install'
>  
> My problem is after system reboot the array will not start as the daemon is not running, I guess.
>  
> In order to access my files I have to re-create the array, which it complains about and then re-mount the disks, via the usual 'mount /dev/md0 /data', I know this 'mount' can be done via fstab, but I need the first part to work first.
>  
> I have the following info in my mdadm.conf file:
> 
> DEVICE /dev/hdb1 /dev/hdc1
> ARRAY /dev/md0 level=raid1 num-devices=2 UUID=0f0e3d1f:52580ad4:2ef6a2e7:f760e130
>         devices=/dev/hdb1,/dev/hdc1

Apologies, I was slightly incorrect on the last part.

Replace the "DEVICE" entry with:

DEVICE partitions

and add

auto=part

in place of the "devices=/dev/hdb1,/dev/hdc1" section at
the end of your ARRAY entry.


Regards,

Richard



      parent reply	other threads:[~2007-09-04 22:52 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-04 21:15 MDADM restart at system boot time Paul
2007-09-04 22:42 ` Richard Scobie
2007-09-04 22:52 ` Richard Scobie [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=46DDE1AB.6010507@sauce.co.nz \
    --to=richard@sauce.co.nz \
    --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).