Re: How to auto rebuild array?

2005-07-14 Thread [EMAIL PROTECTED]
Hi Rui, Is that a RAID1 ou RAID5? It's a RAID5, but the problem also happends on RAID1. Can you give the output of these commands? mdadm --misc -D /dev/md3 mdadm --misc -E /dev/hda4 mdadm --misc -E /dev/hdb4 mdadm --misc -E /dev/hde4 mdadm --misc -E

Re: disk failed, operator error: Now can't use RAID

2005-07-14 Thread Neil Brown
On Wednesday July 13, [EMAIL PROTECTED] wrote: I would very much appreciate suggestions on how to get the raid running again. Remove the devices=/dev/hde1,/dev/sdd1,/dev/sdc1,/dev/sdb1,/dev/sda1 line from mdadm.conf (it is wrong and un-needed). Then mdadm -S /dev/md0 # just to be

Re: Oops when starting md multipath on a 2.4 kernel

2005-07-14 Thread James Pearson
Mike Tran wrote: James Pearson wrote: We have an existing system runing a 2.4.27 based kernel that uses md multipath and external fibre channel arrays. We need to add more internal disks to the system, which means the external drives change device names. When I tried to start the md

Re: Oops when starting md multipath on a 2.4 kernel

2005-07-14 Thread Lars Marowsky-Bree
On 2005-07-14T11:09:32, James Pearson [EMAIL PROTECTED] wrote: Thanks - that patch applies OK to more recent 2.4 kernels and appears to 'fix' this problem. However, if you have a cut down patch that fixes just this problem, then I would appreciate it if you could make it available.

Re: RAID-5 streaming read performance

2005-07-14 Thread Ming Zhang
On Wed, 2005-07-13 at 23:58 -0400, Dan Christensen wrote: David Greaves [EMAIL PROTECTED] writes: In my setup I get component partitions, e.g. /dev/sda7: 39MB/s raid device /dev/md2: 31MB/s lvm device /dev/main/media: 53MB/s (oldish system - but note that

Re: RAID-5 streaming read performance

2005-07-14 Thread Ming Zhang
my problem here. this only apply to sdX not mdX. pls ignore this. ming On Thu, 2005-07-14 at 08:30 -0400, Ming Zhang wrote: Also, is there a way to disable caching of reads? Having to clear the cache by reading 900M each time slows down testing. I guess I could reboot with mem=100M, but

Re: RAID-5 streaming read performance

2005-07-14 Thread Dan Christensen
Mark Hahn [EMAIL PROTECTED] writes: Is there a way for me to simulate readahead in userspace, i.e. can I do lots of sequential asynchronous reads in parallel? there is async IO, but I don't think this is going to help you much. Also, is there a way to disable caching of reads? Having to

Re: disk failed, operator error: Now can't use RAID

2005-07-14 Thread Hank Barta
On 7/14/05, Neil Brown [EMAIL PROTECTED] wrote: On Wednesday July 13, [EMAIL PROTECTED] wrote: I would very much appreciate suggestions on how to get the raid running again. Remove the devices=/dev/hde1,/dev/sdd1,/dev/sdc1,/dev/sdb1,/dev/sda1 line from mdadm.conf (it is wrong and

Re: RAID-5 streaming read performance

2005-07-14 Thread Mark Hahn
i also want a way to clear part of the whole page cache by file id. :) understandably, kernel developers are don't high-prioritize this sort of not-useful-for-normal-work feature. i also want a way to tell the cache distribution, how many for file A and B, you should probably try

Raid5 Failure

2005-07-14 Thread David M. Strang
Hello - I'm currently stuck in a moderately awkward predicament. I have a 28 disk software RAID5; at the time I created it I was using EVMS - this was because mdadm 1.x didn't support superblock v1 and mdadm 2.x wouldn't compile on my system. Everything was working great; until I had an

Re: Raid5 Failure

2005-07-14 Thread Neil Brown
On Thursday July 14, [EMAIL PROTECTED] wrote: It looks like the first 'segment of discs' sda-sdm are all marked clean; while sdn-sdab are marked active. What can I do to resolve this issue? Any assistance would be greatly appreciated. Apply the following patch to mdadm-2.0-devel2 (it

Re: Re[2]: Bugreport mdadm-2.0-devel-1

2005-07-14 Thread Neil Brown
On Saturday July 9, [EMAIL PROTECTED] wrote: On Thursday July 7, [EMAIL PROTECTED] wrote: Hi Neil! Thanks much for your help, array creation using devel-2 just works, however, the array can't be assembled again after it's stopped:( Hmm, yeh, nor it can :-( I'm not sure when I'll have

Re: RAID-5 streaming read performance

2005-07-14 Thread Dan Christensen
Ming Zhang [EMAIL PROTECTED] writes: On Thu, 2005-07-14 at 19:29 -0400, Mark Hahn wrote: i also want a way to clear part of the whole page cache by file id. :) understandably, kernel developers are don't high-prioritize this sort of not-useful-for-normal-work feature. agree. Clearing

Re: Raid5 Failure

2005-07-14 Thread David M. Strang
Neil - You are the man; the array went w/o force - and is rebuilding now! -([EMAIL PROTECTED])-(/)- # mdadm --detail /dev/md0 /dev/md0: Version : 01.00.01 Creation Time : Wed Dec 31 19:00:00 1969 Raid Level : raid5 Array Size : 1935556992 (1845.89 GiB 1982.01 GB) Device Size