Re: raid5 growing question

2007-10-05 Thread Eyal Lebedinsky
Shane, Please take the following with some suspicion. I used raidreconf to add drives to an array, so I assume the grow functionality can at least do the same. I wonder: if you have less than 1TB of data then you can: 1 fail one 320GB disk (array now degraded!) 2 use the port to install 1x1TB a

Re: RAID 5 performance issue.

2007-10-05 Thread Dean S. Messing
Brendan Conoboy wrote: > Is the onboard SATA controller real SATA or just an ATA-SATA > converter? If the latter, you're going to have trouble getting faster > performance than any one disk can give you at a time. The output of > 'lspci' should tell you if the onboard SATA controller is on its

Re: raid5 growing question

2007-10-05 Thread Justin Piszcz
On Fri, 5 Oct 2007, Shane wrote: Hello all, I have a raid5 softraid array using 6x320GB SATA drives. I would like to reconfigure it to be 3x1tb SATA. Is there a way to do this using the grow feature of mdadm. IE by swapping 3 of the 320GB drives out for the 3 1TB drives allowing the resync

Re: RAID 5 performance issue.

2007-10-05 Thread John Stoffel
Andrew> On Fri, 5 Oct 2007 15:02:22 -0400, John Stoffel wrote: >> >> How much memory does this system have? Have you checked the output of Andrew> 2GB >> /proc/mtrr at all? There' have been reports of systems with a bad Andrew> $ cat /proc/mtrr Andrew> reg00: base=0x ( 0MB), size=

Re: RAID 5 performance issue.

2007-10-05 Thread Brendan Conoboy
Andrew Clayton wrote: If anyone has any idea's I'm all ears. Hi Andrew, Are you sure your drives are healthy? Try benchmarking each drive individually and see if there is a dramatic performance difference between any of them. One failing drive can slow down an entire array. Only after yo

Re: RAID 5 performance issue.

2007-10-05 Thread Andrew Clayton
On Fri, 5 Oct 2007 15:02:22 -0400, John Stoffel wrote: > > How much memory does this system have? Have you checked the output of 2GB > /proc/mtrr at all? There' have been reports of systems with a bad $ cat /proc/mtrr reg00: base=0x ( 0MB), size=2048MB: write-back, count=1 > BIOS

Re: RAID 5 performance issue.

2007-10-05 Thread Andrew Clayton
On Fri, 5 Oct 2007 12:16:07 -0400 (EDT), Justin Piszcz wrote: > > Hm, unfortunately at this point I think I am out of ideas you may > need to ask the XFS/linux-raid developers how to run blktrace during > those operations to figure out what is going on. No problem, cheers. > BTW: Last thing I

Re: RAID 5 performance issue.

2007-10-05 Thread John Stoffel
> "Andrew" == Andrew Clayton <[EMAIL PROTECTED]> writes: Andrew> On Thu, 4 Oct 2007 10:10:02 -0400 (EDT), Justin Piszcz wrote: >> Also, did performance just go to crap one day or was it gradual? Andrew> IIRC I just noticed one day that firefox and vim was Andrew> stalling. That was back in

Re: RAID 5 performance issue.

2007-10-05 Thread Justin Piszcz
On Sat, 6 Oct 2007, Richard Scobie wrote: Have you had a look at the smartctl -a outputs of all the drives? Possibly one drive is being slow to respond due to seek errors etc. but I would perhaps expect to be seeing this in the log. If you have a full backup and a spare drive, I would prob

Re: RAID 5 performance issue.

2007-10-05 Thread Richard Scobie
Have you had a look at the smartctl -a outputs of all the drives? Possibly one drive is being slow to respond due to seek errors etc. but I would perhaps expect to be seeing this in the log. If you have a full backup and a spare drive, I would probably rotate it through the array. Regards,

Re: RAID 5 performance issue.

2007-10-05 Thread Justin Piszcz
On Fri, 5 Oct 2007, Andrew Clayton wrote: On Fri, 5 Oct 2007 10:07:47 -0400 (EDT), Justin Piszcz wrote: Yikes, yeah I would get them off the PCI card, what kind of motherboard is it? If you don't have a PCI-e based board it probably won't help THAT much but it still should be better than pl

Re: RAID 5 performance issue.

2007-10-05 Thread Andrew Clayton
On Fri, 5 Oct 2007 10:07:47 -0400 (EDT), Justin Piszcz wrote: > Yikes, yeah I would get them off the PCI card, what kind of > motherboard is it? If you don't have a PCI-e based board it probably > won't help THAT much but it still should be better than placing 3 > drives on a PCI card. Moved the

Re: Journalling filesystem corruption fixed in between?

2007-10-05 Thread Bill Davidsen
Rustedt, Florian wrote: Hello list, some folks reported severe filesystem-crashes with ext3 and reiserfs on mdraid level 1 and 5. Is this safe now? Or should i only use non-journalling-filesystems on software-raid-devices? I have been using swRAID since it was an experimental patch, and ha

Re: RAID 5 performance issue.

2007-10-05 Thread Andrew Clayton
On Fri, 5 Oct 2007 10:07:47 -0400 (EDT), Justin Piszcz wrote: > Yikes, yeah I would get them off the PCI card, what kind of > motherboard is it? If you don't have a PCI-e based board it probably > won't help THAT much but it still should be better than placing 3 > drives on a PCI card. It's a Ty

Re: RAID 5 performance issue.

2007-10-05 Thread Justin Piszcz
On Fri, 5 Oct 2007, Andrew Clayton wrote: On Fri, 5 Oct 2007 13:53:12 +0100, Andrew Clayton wrote: Unfortunately problem remains. I'll try the noop scheduler as I don't think I ever tried that one. Didn't help either, oh well. If I hit the disk in workstation with a big dd then in iostat

Re: RAID 5 performance issue.

2007-10-05 Thread Andrew Clayton
On Fri, 5 Oct 2007 13:53:12 +0100, Andrew Clayton wrote: > Unfortunately problem remains. > > I'll try the noop scheduler as I don't think I ever tried that one. Didn't help either, oh well. If I hit the disk in workstation with a big dd then in iostat I see it maxing out at about 40MB/sec wit

Re: RAID 5 performance issue.

2007-10-05 Thread Justin Piszcz
On Fri, 5 Oct 2007, Andrew Clayton wrote: On Fri, 5 Oct 2007 07:08:51 -0400 (EDT), Justin Piszcz wrote: The mount options are from when the filesystem was made for sunit/swidth I believe. -N Causes the file system parameters to be printed out without really creating the file

Re: RAID 5 performance issue.

2007-10-05 Thread Andrew Clayton
On Fri, 5 Oct 2007 07:08:51 -0400 (EDT), Justin Piszcz wrote: > The mount options are from when the filesystem was made for > sunit/swidth I believe. > > -N Causes the file system parameters to be printed > out without really creating the file system. > > You should be able to ru

Re: RAID 5 performance issue.

2007-10-05 Thread Justin Piszcz
On Fri, 5 Oct 2007, Andrew Clayton wrote: On Fri, 5 Oct 2007 06:25:20 -0400 (EDT), Justin Piszcz wrote: So you have 3 SATA 1 disks: Yeah, 3 of them in the array, there is a fourth standalone disk which contains the root fs from which the system boots.. http://digital-domain.net/kernel/s

Re: RAID 5 performance issue.

2007-10-05 Thread Andrew Clayton
On Fri, 5 Oct 2007 06:25:20 -0400 (EDT), Justin Piszcz wrote: > So you have 3 SATA 1 disks: Yeah, 3 of them in the array, there is a fourth standalone disk which contains the root fs from which the system boots.. > http://digital-domain.net/kernel/sw-raid5-issue/mdadm-D > > Do you compile your

Re: RAID 5 performance issue.

2007-10-05 Thread Justin Piszcz
On Thu, 4 Oct 2007, Andrew Clayton wrote: On Thu, 4 Oct 2007 12:20:25 -0400 (EDT), Justin Piszcz wrote: On Thu, 4 Oct 2007, Andrew Clayton wrote: On Thu, 4 Oct 2007 10:10:02 -0400 (EDT), Justin Piszcz wrote: Also, did performance just go to crap one day or was it gradual? IIRC I jus

Re: RAID 5 performance issue.

2007-10-05 Thread Justin Piszcz
On Thu, 4 Oct 2007, Andrew Clayton wrote: On Thu, 04 Oct 2007 12:46:05 -0400, Steve Cousins wrote: Andrew Clayton wrote: On Thu, 4 Oct 2007 10:39:09 -0400 (EDT), Justin Piszcz wrote: >> What type (make/model) of the drives? > The drives are 250GB Hitachi Deskstar 7K250 series ATA-6