public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Daniel Schroeter <d.schroeter@gmx.de>
To: linux-kernel@vger.kernel.org
Subject: raid-1 with raid-0 and normal disk -> performance and autostart?
Date: Thu, 01 Feb 2001 11:18:22 +0100	[thread overview]
Message-ID: <3A7937EE.1030104@gmx.de> (raw)

hi,
i using kernel 2.4.1. mkraid version 0.90.0
i build /dev/md0 raid-0 with hda5 and sda1. then i build /dev/md1 raid-1 
with /dev/md0 and sdb1.
it works fine.
BUT the resync takes a long time. i have a performance from 253K/sec. 
whats there wrong?
[root@mendocino <mailto:root@mendocino> /root]# cat /proc/mdstat
Personalities : [linear] [raid0] [raid1] [raid5]
read_ahead 1024 sectors
md0 : active raid1 md1[1] sdb1[0]
      8891712 blocks [2/2] [UU]
      [>....................]  resync =  0.0% (5572/8891712) 
finish=581.8min speed=253K/sec
md1 : active raid0 sda1[1] hda5[0]
      8891776 blocks 4k chunks

unused devices: <none>

if i build a raid-1 with sdb1 and hda5 i get:

Personalities : [linear] [raid0] [raid1] [raid5]
read_ahead 1024 sectors
md0 : active raid1 sdb1[1] hda5[0]
      4449920 blocks [2/2] [UU]
      [>....................]  resync =  0.4% (21952/4449920) 
finish=10.0min speed=7317K/sec
unused devices: <none>

i get the same speer also with sda1 and sdb1.
any ideas?

i will mount the raid-10 (or 01???) as "/". but the autodetection 
doesn't work corect. the partitions are all "Linux raid autodetect". the 
raid-0 starts fine. if he tries to start the raid-1 the dev md0 will not 
integrated in the array. must i start a ramdisk, and starting there 
manuell the raid-1? if i change md1 and md0 it's the same.

THNX
CU
    daniel


raidtab:

raiddev /dev/md0
    raid-level                0
    nr-raid-disks             2
    persistent-superblock     1
    chunk-size                4

    device                    /dev/hda5
    raid-disk                 0
    device                    /dev/sda1
    raid-disk                 1

raiddev /dev/md1
    raid-level                1
    nr-raid-disks             2
   persistent-superblock     1 # i tried also 0 here
    chunk-size                4

    device                    /dev/sdb1
    raid-disk                 0
    device                    /dev/md0
    raid-disk                 1

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

             reply	other threads:[~2001-02-01 10:18 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-02-01 10:18 Daniel Schroeter [this message]
2001-02-05  3:58 ` raid-1 with raid-0 and normal disk -> performance and autostart? 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=3A7937EE.1030104@gmx.de \
    --to=d.schroeter@gmx.de \
    --cc=linux-kernel@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