All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Keld Jørn Simonsen" <keld@dkuug.dk>
To: linux-raid@vger.kernel.org
Subject: auto-assembling arrays without a configuration file
Date: Sat, 8 Mar 2008 01:40:09 +0100	[thread overview]
Message-ID: <20080308004009.GA32251@rap.rap.dk> (raw)

I want to assemble the root partition automatically, without having 
a configuration file. Is that possible? 

mdadm -A --scan 

does seem to require a configuration file.

On the other hand, I think all info needed is available in the super
blocks, and a traversal of the partitions present on the system (ala
fdisk -l) could give consistent naming - there seems to be no /dev/md
association available in the superblock.

best regrds
keld

             reply	other threads:[~2008-03-08  0:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-08  0:40 Keld Jørn Simonsen [this message]
2008-03-08 10:49 ` auto-assembling arrays without a configuration file Keld Jørn Simonsen
2008-03-09 23:25 ` Neil Brown
     [not found] ` <18388.27742.907731.241140@notabene.brown>
2008-03-10 13:48   ` Keld Jørn Simonsen
2008-03-10 15:08     ` Andre Noll
2008-03-14  5:27     ` Neil Brown

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=20080308004009.GA32251@rap.rap.dk \
    --to=keld@dkuug.dk \
    --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 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.