All of lore.kernel.org
 help / color / mirror / Atom feed
From: Luca Berra <bluca@comedia.it>
To: linux-raid@vger.kernel.org
Subject: Re: Linear RAID (was Re: bad /proc/mdstat message)
Date: Mon, 12 Jan 2004 22:21:20 +0100	[thread overview]
Message-ID: <20040112212119.GA6697@percy.comedia.it> (raw)
In-Reply-To: <Pine.GSO.4.31.0401121348500.10347-100000@staff2.cso.uiuc.edu>

On Mon, Jan 12, 2004 at 02:01:19PM -0600, Sharif Islam wrote:
>> ># cat /proc/mdstat
>> >Personalities : [linear] [raid0]
>> >read_ahead 1024 sectors
>> >Event: 1
>
>> where does this line come from?
>> are you running a vanilla or patched kernel? which version?
>
>No patching.
>
># uname -r
>2.4.21-4.ELsmp
>Red Hat Enterprise Linux AS release 3
heavily patched i would say.
complain to redhat since they seem to patch kernels and not userland
tools :)

>Few other things I noticed while playing with linear raid. I haven't
>seen much documentation online about it, so bare with me. It is a test
>machine so I am not worried about data loss or things like that.
>
>1. The raid creation process was very quick, unlike RAID 1 and RAID 5.
>2. Every time I reboot the raid partition doesn't get mounted. However,
>if I run
>mdadm -Cv  -llinear -n6 /dev/md0 /dev/hd{e,f,g,h,k,l}
>and
>mount /dev/md0 /raid
>it comes back again with all my data.

redhat by default used raidtab and raidtools to start raid devices, i
don't know if they changed this for AS3

>I included the partition in /etc/fstab, but that gives error. Also my
>rc.local has mdadm -As + mount command. That doesn't have any effect
>either.
i think you don't have a correct mdadm.conf file
to create one from scratch use
echo "DEVICE partitions" > /etc/mdadm.conf
mdadm  --examine  --scan --config=partitions | grep "^ARRAY" >> /etc/mdadm.conf

>3. I get the following warning message when I run
>the mdadm -Cv command, for all the disks.
>
>mdadm: /dev/hdi appears to contain an ext2fs file system
>    size=120103040K  mtime=Mon Jan 12 12:42:37 2004
>...
>Continue creating array?
>
>I hit yes, and my array is back. Here mtime is the last time my array
>was up.
you should mdadm -A to start arrays, not mdadm -C


-- 
Luca Berra -- bluca@comedia.it
        Communication Media & Services S.r.l.
 /"\
 \ /     ASCII RIBBON CAMPAIGN
  X        AGAINST HTML MAIL
 / \

      parent reply	other threads:[~2004-01-12 21:21 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-12 18:28 bad /proc/mdstat message Sharif Islam
2004-01-12 18:56 ` Guy
2004-01-12 18:59 ` Mike Fedyk
2004-01-12 19:36   ` Sharif Islam
2004-01-12 19:38 ` Luca Berra
2004-01-12 20:01   ` Linear RAID (was Re: bad /proc/mdstat message) Sharif Islam
2004-01-12 20:19     ` Christian Kivalo
2004-01-12 20:39       ` Mike Fedyk
2004-01-12 21:21     ` Luca Berra [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=20040112212119.GA6697@percy.comedia.it \
    --to=bluca@comedia.it \
    --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.