Re: RAID 6 grow problem

2007-06-10 Thread Iain Rauch
Piszcz Subject: Re: RAID 6 grow problem raid6 reshape wasn't added until 2.6.21. Before that only raid5 was supported. You also need to ensure that CONFIG_MD_RAID5_RESHAPE=y. I don't see that in the config. Should I add it? Then reboot? Don't know how I missed it first time

RE: RAID 6 grow problem

2007-06-06 Thread Daniel Korstad
From: Neil Brown Subject: RE: RAID 6 grow problem On Tuesday June 5, [EMAIL PROTECTED] wrote: I have an EPoX 570SLI motherboard with 3 SATAII drives, all 320GiB: one Hitachi, one Samsung, one Seagate. I built a RAID5 out of a partition carved from each. I can issue a 'check' command

RE: RAID 6 grow problem

2007-06-06 Thread Jon Nelson
On Wed, 6 Jun 2007, Daniel Korstad wrote: You say you have a RAID with three drive (I assume RAID5) with a read performance of 133MB/s. There are lots of variables, file system type, cache tuning, but that sounds very reasonable to me. I just did the math quickly - assuming each drive can

RE: RAID 6 grow problem

2007-06-06 Thread Neil Brown
On Wednesday June 6, [EMAIL PROTECTED] wrote: A question posed by a friend is this: assuming 64K blocks, if I read a single stripe from a raid (128K, right?) then two drives will be used (say, drive A and drive B). If I want the next 128K then which drives are most likely to be used?

RAID 6 grow problem

2007-06-02 Thread Iain Rauch
Hello, when I run: mdadm /dev/md1 --grow --raid-devices 16 --backup-file=/md1backup I get: mdadm: Need to backup 1792K of critical section.. mdadm: Cannot set device size/shape for /dev/md1: Invalid argument Any help? Iain - To unsubscribe from this list: send the line unsubscribe

Re: RAID 6 grow problem

2007-06-02 Thread Justin Piszcz
On Sat, 2 Jun 2007, Iain Rauch wrote: Hello, when I run: mdadm /dev/md1 --grow --raid-devices 16 --backup-file=/md1backup I get: mdadm: Need to backup 1792K of critical section.. mdadm: Cannot set device size/shape for /dev/md1: Invalid argument Any help? Iain - To unsubscribe from

Re: RAID 6 grow problem

2007-06-02 Thread Iain Rauch
For the critical section part, it may be your syntax.. When I had the problem, Neil showed me the path! :) I don't think it is incorrect, before I thought it was supposted to specify an actual file so I 'touch'ed one and it says file exists. For your issue, do you have raid5/6 GROW support

Re: RAID 6 grow problem

2007-06-02 Thread Justin Piszcz
On Sat, 2 Jun 2007, Iain Rauch wrote: For the critical section part, it may be your syntax.. When I had the problem, Neil showed me the path! :) I don't think it is incorrect, before I thought it was supposted to specify an actual file so I 'touch'ed one and it says file exists. For your

Re: RAID 6 grow problem

2007-06-02 Thread Neil Brown
On Saturday June 2, [EMAIL PROTECTED] wrote: For the critical section part, it may be your syntax.. When I had the problem, Neil showed me the path! :) I don't think it is incorrect, before I thought it was supposted to specify an actual file so I 'touch'ed one and it says file exists.

Re: RAID 6 grow problem

2007-06-02 Thread Iain Rauch
raid6 reshape wasn't added until 2.6.21. Before that only raid5 was supported. You also need to ensure that CONFIG_MD_RAID5_RESHAPE=y. I don't see that in the config. Should I add it? Then reboot? I used apt-get install mdadm to first install it, which gave me 2.5.x then I downloaded the new

Re: RAID 6 grow problem

2007-06-02 Thread Neil Brown
On Saturday June 2, [EMAIL PROTECTED] wrote: raid6 reshape wasn't added until 2.6.21. Before that only raid5 was supported. You also need to ensure that CONFIG_MD_RAID5_RESHAPE=y. I don't see that in the config. Should I add it? Then reboot? You reported that you were running a 2.6.20