md currently uses ->media_changed to make sure rescan_partitions
is call on md array after they are assembled.
However that doesn't happen until the array is opened, which is later
than some people would like.
So use blkdev_ioctl to do the rescan immediately that the
array has been assembled.
T
If CONFIG_NET is not selected, csum_partial is not exported, so
md.ko cannot use it.
We shouldn't really be using csum_partial anyway as it is an
internal-to-networking interface.
So replace it with C code to do the same thing. Speed is not
crucial here, so something simple and correct is best.
"reshape_position" records how much progress has been made on a
"reshape" (adding drives, changing layout or chunksize).
When it is set, the number of drives, layout and chunksize can have
two possible values, an old an a new.
So allow these different values to be visible, and allow both old and
We need to check for internal-consistency of superblock in
load_super. validate_super is for inter-device consistency.
With the test in the wrong place, a badly created array will confuse md
rather an produce sensible errors.
Signed-off-by: Neil Brown <[EMAIL PROTECTED]>
### Diffstat output
.
SLUB doesn't like slashes as it wants to use the cache name
as the name of a directory (or symlink) in sysfs.
Signed-off-by: Neil Brown <[EMAIL PROTECTED]>
### Diffstat output
./drivers/md/raid5.c |4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff .prev/drivers/md/raid5.c ./driv
Following are 5 patches for md suitable for 2.6.22. None are needed for
-stable.
Thanks
NeilBrown
[PATCH 001 of 5] md: Move test for whether level supports bitmap to correct
place.
[PATCH 002 of 5] md: Stop using csum_partial for checksum calculation in md.
[PATCH 003 of 5] md: Remove the s
Bill Davidsen wrote:
> Not worth a repost, since I was way over answering his question...
Erm... and now you made me curios :) Please share your thoughts if it is
not too much trouble. Thank you for your time.
Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the bo
Neil Brown wrote:
On Friday May 4, [EMAIL PROTECTED] wrote:
Peter Rabbitson wrote:
Hi,
I asked this question back in march but received no answers, so here it
goes again. Is it safe to replace raid1 with raid10 where the amount of
disks is equal to the amount of far/near/offset copies?
Sorry for the rookie question, but I'm looking for clarity
with regard to some software RAID terms that different sites
and people seem to confuse with each other. I'm wondering
if I've been using the wrong terms all along?
Are these correct?
Stripe width = number of devices in the RAID array (o
Jeffrey B. Layton wrote:
CentOS 4.2. I've been reading something about raidautorun. Would help in
this case?
Try adding:
DEVICE partitions
to the top of your mdadm.conf and:
auto=part
to the end of your /dev/md1 definition.
eg. ARRAY /dev/md1 level=raid1 num-devices=2
UUID=e235ee6c:415
On Mon, 7 May 2007, Jeffrey B. Layton wrote:
Justin Piszcz wrote:
On Mon, 7 May 2007, Jeffrey B. Layton wrote:
Justin Piszcz wrote:
On Mon, 7 May 2007, Jeffrey B. Layton wrote:
Hello,
I apologize if this is a FAQ question or a typical newbie question,
but by google efforts have yiel
Justin Piszcz wrote:
On Mon, 7 May 2007, Jeffrey B. Layton wrote:
Justin Piszcz wrote:
On Mon, 7 May 2007, Jeffrey B. Layton wrote:
Hello,
I apologize if this is a FAQ question or a typical newbie question,
but by google efforts have yielded anything yet.
I built a RAID-1 using mdadm (
On Mon, 7 May 2007, Jeffrey B. Layton wrote:
Justin Piszcz wrote:
On Mon, 7 May 2007, Jeffrey B. Layton wrote:
Hello,
I apologize if this is a FAQ question or a typical newbie question,
but by google efforts have yielded anything yet.
I built a RAID-1 using mdadm (Centos 4.2 with 2.6.16
Justin Piszcz wrote:
On Mon, 7 May 2007, Jeffrey B. Layton wrote:
Hello,
I apologize if this is a FAQ question or a typical newbie question,
but by google efforts have yielded anything yet.
I built a RAID-1 using mdadm (Centos 4.2 with 2.6.16.19 kernel
and mdadm 1.6.0-2). It's just two SATA
On Mon, 7 May 2007, Jeffrey B. Layton wrote:
Hello,
I apologize if this is a FAQ question or a typical newbie question,
but by google efforts have yielded anything yet.
I built a RAID-1 using mdadm (Centos 4.2 with 2.6.16.19 kernel
and mdadm 1.6.0-2). It's just two SATA drives that I created
Hello,
I apologize if this is a FAQ question or a typical newbie question,
but by google efforts have yielded anything yet.
I built a RAID-1 using mdadm (Centos 4.2 with 2.6.16.19 kernel
and mdadm 1.6.0-2). It's just two SATA drives that I created using:
mdadm --create --verbose /dev/md1 --leve
Hello,
Thank you for the answer. Now I am sure that data corruption is
related to dm-crypt.
I have a few questions:
Could you please let me know if bug fix in kernel 2.6.19 to dm-crypt
over RAID5 is also related to RAID0?
Generally from which kernel version it is safe to use dm-crypt over RAID?
On Monday May 7, [EMAIL PROTECTED] wrote:
> Hi Neil
>
> Just wondering what the status is here - do you need any more from me or is it
> on your stack?
>
> The patch helped but didn't cure.
> After a clean boot it mounted correctly first try.
> Then I unmounted, stopped and re-assembled the array
Hi Neil
Just wondering what the status is here - do you need any more from me or is it
on your stack?
The patch helped but didn't cure.
After a clean boot it mounted correctly first try.
Then I unmounted, stopped and re-assembled the array.
The next mount failed.
The subsequent mount succeeded.
Neil Brown wrote:
> On Monday May 7, [EMAIL PROTECTED] wrote:
>> Neil Brown wrote:
>>> On Friday May 4, [EMAIL PROTECTED] wrote:
Peter Rabbitson wrote:
> Hi,
>
> I asked this question back in march but received no answers, so here it
> goes again. Is it safe to replace raid1 wi
On Monday May 7, [EMAIL PROTECTED] wrote:
> Neil Brown wrote:
> > On Friday May 4, [EMAIL PROTECTED] wrote:
> >> Peter Rabbitson wrote:
> >>> Hi,
> >>>
> >>> I asked this question back in march but received no answers, so here it
> >>> goes again. Is it safe to replace raid1 with raid10 where the a
21 matches
Mail list logo