RE: Question on RAID-5 using ADMA

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Neil,
 Thanks for the comments. You are right. Whenever there are no dependent
operations things are fine. I mean you do one task at a time. Like
rebuild, IO to disks or rebuild the failed drive etc. Looks like it a
issue in my ADMA driver which failed to run the dependent operations.
And that is causing silent file-system corruptions. 
Thanks and Regards,
Marri


> 
> Working:
> 1. Using pure SW RAID without ADMA  everything works fine.
> 2. Using ADMA normal operations work fine 
> 3. Using ADMA installing file-system works fine while recover
happening.
> 4. Using ADMA with forcing raid(-f option to mdadm) and io to
> file-system 
>    mounted /dev/md0 while recovery happening works fine.
> 5. Using ADMA wait till recovery finishes and then IO to file-system
> mounted /dev/md0 works fine.

None of these operations actually use the parity data that is
created.  They update it but would not notice if it was wrong.

> 
> 
> Not Working:
> 5. Using ADMA(without  -f option to mdadm) and io(dd command) to
> /dev/md0 which is mounted using 
>    ext3 file-system causing file system errors.

This creates the array in degraded mode so reads will often use the
parity block to reconstruct data.

> 6. Using ADMA with forcing (with -f to mdadm) and io to file-system
> mounted /dev/md0 while rebuild happening(forced a disk failure) causes
> file-system errors.

This also involves degraded mode so the parity is needed.

> 7. Sam as no-6 except without forcing(with out -f option to mdadm)
cause
> file-system errors.

And this.

So either the parity is not being calculated correctly, or the process
for reconstructing a block from parity and other data is not working
correctly.
There is a very good chance that it is both as they are essentially
the same operation.

NeilBrown
--
To unsubscribe from this list: send the line "unsubscribe linux-raid" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux RAID Wiki]     [ATA RAID]     [Linux SCSI Target Infrastructure]     [Linux Block]     [Linux IDE]     [Linux SCSI]     [Linux Hams]     [Device Mapper]     [Device Mapper Cryptographics]     [Kernel]     [Linux Admin]     [Linux Net]     [GFS]     [RPM]     [git]     [Yosemite Forum]


  Powered by Linux