Re: Questions about the speed when MD-RAID array is being initialized.

2007-05-11 Thread Benjamin Davenport
-BEGIN PGP SIGNED MESSAGE- Hash: SHA512 When mdadm creates a raid5 array, it creates it in degraded mode. Then it kicks in the last device and runs the rebuild code, which reads from the other n-1 disks and writes to the nth disk as appropriate to satisfy parity requirements. This allows

Neil, bug in the minimum guaranteed patch?

2007-05-11 Thread Justin Piszcz
It worked for a while but this time I ran my raid check while doing an rsync, for a while, it guaranteed 1MB/s but then: $ cat /proc/mdstat Personalities : [raid1] [raid6] [raid5] [raid4] md1 : active raid1 sdb2[1] sda2[0] 136448 blocks [2/2] [UU] resync=DELAYED md2 : active raid1

Re: removed disk && md-device

2007-05-11 Thread David Greaves
[Another repost - DNS/ISP/MX problems didn't seem to make it to any of the lists or debian bugtrack, sorry cc's] Sorry, rushed email - it wasn't clear. I think there is something important here though. Oh, it may be worth distinguishing between a drive identifier (/dev/sdb) and a drive slot (md0,

Re: removed disk && md-device

2007-05-11 Thread David Greaves
[Repost - didn't seem to make it to the lists, sorry cc's] Sorry, rushed email - it wasn't clear. I think there is something important here though. Oh, it may be worth distinguishing between a drive identifier (/dev/sdb) and a drive slot (md0, slot2). Neil Brown wrote: > On Thursday May 10, [EMAI

Re: removed disk && md-device

2007-05-11 Thread David Greaves
Sorry, rushed email - it wasn't clear. I think there is something important here though. Oh, it may be worth distinguishing between a drive identifier (/dev/sdb) and a drive slot (md0, slot2). Neil Brown wrote: > On Thursday May 10, [EMAIL PROTECTED] wrote: >> Neil Brown wrote: >>> On Wednesday M

Re: removed disk && md-device

2007-05-11 Thread Bill Davidsen
Neil Brown wrote: On Thursday May 10, [EMAIL PROTECTED] wrote: No, I haven't, but it is getting near the top of my list. I have just committed a change to the mdadm .git so that mdadm /dev/md4 --fail detached will fail any components of /dev/md4 that appear to be detached (open ret

Re: removed disk && md-device

2007-05-11 Thread Bill Davidsen
Bernd Schubert wrote: Yep, thats exactly what I'm talking about and its not only limited to usb, but happens with sata as well. And real SCSI hot plug drives if you pull the wrong one. -- bill davidsen <[EMAIL PROTECTED]> CTO TMR Associates, Inc Doing interesting things with small compute

Re: 2.6.21-mm2 boot failure, raid autodetect, bd_set_size+0xb/0x80

2007-05-11 Thread thunder7
From: Andrew Morton <[EMAIL PROTECTED]> Date: Fri, May 11, 2007 at 11:18:09AM -0700 > > Yes, Neil had a whoops and a dud patch spent a day in mainline. > > Hopefully the below revert (from mainline) will fix it. > > > Gitweb: > http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2

Re: 2.6.21-mm2 boot failure, raid autodetect, bd_set_size+0xb/0x80

2007-05-11 Thread Andrew Morton
On Fri, 11 May 2007 20:03:34 +0200 [EMAIL PROTECTED] wrote: > From: Andrew Morton <[EMAIL PROTECTED]> > Date: Wed, May 09, 2007 at 01:23:22AM -0700 > > > > ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.21/2.6.21-mm2/ > > > > > It won't boot here. > > AMD64 platform, raid6 p

Re: removed disk && md-device

2007-05-11 Thread Bernd Schubert
On Friday 11 May 2007 10:51:40 Michael Tokarev wrote: > Neil Brown wrote: > [] > > >> But joggling a usb stick (similar to your use case) would probably be OK > >> since it would be hot-removed and then hot-added. > > > > This still needs user-space interaction. > > If the USB layer detects a remov

Re: removed disk && md-device

2007-05-11 Thread Michael Tokarev
Neil Brown wrote: [] >> But joggling a usb stick (similar to your use case) would probably be OK >> since >> it would be hot-removed and then hot-added. > > This still needs user-space interaction. > If the USB layer detects a removal and a re-insert, sdb may well come > back a something differen