Re: Bad drive discovered during raid5 reshape

2007-10-30 Thread Neil Brown
On Tuesday October 30, [EMAIL PROTECTED] wrote: Neil Brown wrote: On Monday October 29, [EMAIL PROTECTED] wrote: Hi, I bought two new hard drives to expand my raid array today and unfortunately one of them appears to be bad. The problem didn't arise Looks like you are in real trouble.

Re: Implementing low level timeouts within MD

2007-10-30 Thread Gabor Gombas
On Tue, Oct 30, 2007 at 12:08:07AM -0500, Alberto Alonso wrote: * Internal serverworks PATA controller on a netengine server. The server if off waiting to get picked up, so I can't get the important details. 1 PATA failure. I was surprised on this one, I did have good luck

Re: Superblocks

2007-10-30 Thread Greg Cormier
Which is the default type of superblock? 0.90 or 1.0? On 10/30/07, Neil Brown [EMAIL PROTECTED] wrote: On Friday October 26, [EMAIL PROTECTED] wrote: Can someone help me understand superblocks and MD a little bit? I've got a raid5 array with 3 disks - sdb1, sdc1, sdd1. --examine on

Re: Time to deprecate old RAID formats?

2007-10-30 Thread Doug Ledford
On Tue, 2007-10-30 at 07:55 +0100, Luca Berra wrote: Well it might be a matter of personal preference, but i would prefer an initrd doing just the minumum necessary to mount the root filesystem (and/or activating resume from a swap device), and leaving all the rest to initscripts, then an

Re: Implementing low level timeouts within MD

2007-10-30 Thread Doug Ledford
On Tue, 2007-10-30 at 00:19 -0500, Alberto Alonso wrote: On Sat, 2007-10-27 at 12:33 +0200, Samuel Tardieu wrote: I agree with Doug: nothing prevents you from using md above very slow drivers (such as remote disks or even a filesystem implemented over a tape device to make it extreme). Only

Re: Implementing low level timeouts within MD

2007-10-30 Thread Doug Ledford
On Tue, 2007-10-30 at 00:08 -0500, Alberto Alonso wrote: On Mon, 2007-10-29 at 13:22 -0400, Doug Ledford wrote: OK, these you don't get to count. If you run raid over USB...well...you get what you get. IDE never really was a proper server interface, and SATA is much better, but USB was

switching root fs '/' to boot from RAID1 with grub

2007-10-30 Thread Janek Kozicki
Hello, I have and olde HDD and two new HDDs: - hda1 - my current root filesystem '/' - sda1 - part of raid1 /dev/md0 [U_U] - hdc1 - part of raid1 /dev/md0 [U_U] I want all hda1, sda1, hdc1 to be a raid1. I remounted hda1 readonly then I did 'dd if=/dev/hda1 of=/dev/md0'. I carefully checked

Re: switching root fs '/' to boot from RAID1 with grub

2007-10-30 Thread Janek Kozicki
Janek Kozicki said: (by the date of Tue, 30 Oct 2007 21:07:21 +0100) then I did 'dd if=/dev/hda1 of=/dev/md0'. I carefully checked that the partition sizes match exactly. So now md0 contains the same thing as hda1. in fact, to check the size I was using 'fdisk -l' because it gives size

Re: switching root fs '/' to boot from RAID1 with grub

2007-10-30 Thread Doug Ledford
On Tue, 2007-10-30 at 21:07 +0100, Janek Kozicki wrote: Hello, I have and olde HDD and two new HDDs: - hda1 - my current root filesystem '/' - sda1 - part of raid1 /dev/md0 [U_U] - hdc1 - part of raid1 /dev/md0 [U_U] I want all hda1, sda1, hdc1 to be a raid1. I remounted hda1 readonly

Re: Bad drive discovered during raid5 reshape

2007-10-30 Thread Kyle Stuart
David Greaves wrote: I read that he aborted it, then removed both drives before giving md a chance to restart. He said: After several minutes dmesg indicated that mdadm gave up and the grow process stopped. After googling around I tried the solutions that seemed most likely to work,