From: "Robert L. Harris" <Robert.L.Harris@rdlg.net>
To: Derek Vadala <derek@cynicism.com>
Cc: Linux-Raid <linux-raid@vger.kernel.org>
Subject: Re: raidtab -> mdadm conf file?
Date: Wed, 19 Feb 2003 15:56:21 -0500 [thread overview]
Message-ID: <20030219205621.GE13439@rdlg.net> (raw)
In-Reply-To: <20030219205355.542BD3B82A@jaded.cynicism.com>
[-- Attachment #1: Type: text/plain, Size: 1170 bytes --]
What should the output of "mdadm --detail --scan" look like?
root@disk2:~# mdadm --detail --scan
mdadm: option s not valid in mode D
Thus spake Derek Vadala (derek@cynicism.com):
> On Wed, 19 Feb 2003, Robert L. Harris wrote:
>
> > I currently have about 30 machines using raidtools and /etc/raidtab.
> > Does anyone have a script that will generate a complete mdadm conf
> > file based on a raidtab or output from mdadm --detail? While mdadm may
>
> Assuming the arrays are operational you could do something like:
>
>
> # echo "DEVICES /dev/sd*" > /etc/mdadm.conf
> # mdadm --detail --scan >> /etc/mdadm.conf
>
> Just adjust the first command so that it has the desired device set.
>
> --
> Derek Vadala, derek@cynicism.com, http://www.cynicism.com/~derek
:wq!
---------------------------------------------------------------------------
Robert L. Harris | PGP Key ID: E344DA3B
@ x-hkp://pgp.mit.edu
DISCLAIMER:
These are MY OPINIONS ALONE. I speak for no-one else.
FYI:
perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2003-02-19 20:56 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-19 20:25 raidtab -> mdadm conf file? Robert L. Harris
2003-02-19 20:53 ` Derek Vadala
2003-02-19 20:56 ` Robert L. Harris [this message]
2003-02-19 21:07 ` Derek Vadala
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=20030219205621.GE13439@rdlg.net \
--to=robert.l.harris@rdlg.net \
--cc=derek@cynicism.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).