Re: [PATCH 00/19] Hardware Accelerated MD RAID5: Introduction

2006-09-14 Thread Jakob Oestergaard
On Wed, Sep 13, 2006 at 12:17:55PM -0700, Dan Williams wrote: ... Out of curiosity; how does accelerated compare to non-accelerated? One quick example: 4-disk SATA array rebuild on iop321 without acceleration - 'top' reports md0_resync and md0_raid5 dueling for the CPU each at ~50%

Re: libata hotplug and md raid?

2006-09-14 Thread Turbo Fredriksson
Tejun == Tejun Heo [EMAIL PROTECTED] writes: Tejun Would it be better for md to listen to Tejun hotplug events and auto-remove dead devices or is it Tejun something which belongs to userland? From my perspective (User+Admin), I'd _very much_ like to have (physically) removed disks

Re: libata hotplug and md raid?

2006-09-14 Thread Leon Woestenberg
Hello all, On 9/13/06, Tejun Heo [EMAIL PROTECTED] wrote: Ric Wheeler wrote: Leon Woestenberg wrote: In short, I use ext3 over /dev/md0 over 4 SATA drives /dev/sd[a-d] each driven by libata ahci. I unplug then replug the drive that is rebuilding in RAID-5. When I unplug a drive, /dev/sda

Re: access *exisiting* array from knoppix

2006-09-14 Thread Tuomas Leikola
mdadm --assemble /dev/md0 /dev/hda1 /dev/hdb1 # i think, man mdadm Not what I meant: there already exists an array on a file server that was created from the server os, I want to boot that server from knoppix instead and access the array. exactly what --assemble does. looks at disks, finds

Re: access *exisiting* array from knoppix

2006-09-14 Thread Dexter Filmore
Am Donnerstag, 14. September 2006 17:58 schrieb Tuomas Leikola: mdadm --assemble /dev/md0 /dev/hda1 /dev/hdb1 # i think, man mdadm Not what I meant: there already exists an array on a file server that was created from the server os, I want to boot that server from knoppix instead and

Re: Correct way to create multiple RAID volumes with hot-spare?

2006-09-14 Thread Steve Cousins
Ruth Ivimey-Cook wrote: Steve, The recent Messed up creating new array... thread has someone who started by using the whole drives but she now wants to use partitions because the array is not starting automatically on boot (I think that was the symptom). I'm guessing this is because

Re: access *exisiting* array from knoppix

2006-09-14 Thread Tuomas Leikola
On 9/14/06, Dexter Filmore [EMAIL PROTECTED] wrote: How about you read the rest of the thread, wisecracker? sorry. mailreader-excuse/ - To unsubscribe from this list: send the line unsubscribe linux-raid in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: Correct way to create multiple RAID volumes with hot-spare?

2006-09-14 Thread Neil Brown
On Thursday September 14, [EMAIL PROTECTED] wrote: Neil (or others), what is the recommended way to have the array start up if you use whole drives instead of partitions? Do you put mdadm -A etc. in rc.local? I would use mdadm -As is rc.local (or /etc/init.d/mdadm or whatever)

Re: raidhotadd works, mdadm --add doesn't

2006-09-14 Thread Bill Davidsen
Leon Avery wrote: I've been using RAID for a long time, but have been using the old raidtools. Having just discovered mdadm, I want to switch, but I'm having trouble. I'm trying to figure out how to use mdadm to replace a failed disk. Here is my /proc/mdstat: Personalities : [linear]

Re: PROBLEM: system crash on AMD64 with 2.6.17.11 while accessing 3TB Software-RAID5

2006-09-14 Thread Bill Davidsen
Ralf Herrmann wrote: Dear Mr. Davidson and Mr. Brown, It certainly is a legitimate question, and marginal power would have been at the end of my list as well... However, if all else fails, try formatting the new drives to use only the size of the old drive capacity (RAID on small

Re: RAID5 producing fake partition table on single drive

2006-09-14 Thread Bill Davidsen
Lem wrote: On Mon, 2006-09-04 at 13:55 -0400, Bill Davidsen wrote: May I belatedly say that this is sort-of a kernel issue, since /proc/partitions reflects invalid data? Perhaps a boot option like nopart=sda,sdb or similar would be in order? Is this an argument to be passed to the

Re: libata hotplug and md raid?

2006-09-14 Thread Greg KH
On Thu, Sep 14, 2006 at 02:24:45PM +0200, Leon Woestenberg wrote: Hello all, On 9/13/06, Tejun Heo [EMAIL PROTECTED] wrote: Ric Wheeler wrote: Leon Woestenberg wrote: In short, I use ext3 over /dev/md0 over 4 SATA drives /dev/sd[a-d] each driven by libata ahci. I unplug then replug the

I think there is a trick to improve performance of md.

2006-09-14 Thread liyiming
blow are some codes in md_do_sync function of md.c in linux-2.6.17.11-rc5/drivers/md 4774: int next = (last_mark+1) % SYNC_MARKS; I have no idea why SYNC_MARKS is set 10. if set SYNC_MARKS to 8 or 16(the power of 2), we can replace the % operation to operation and this trick will