Re: mdadm > 2.2 ver1 superblock regression?

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

 



On Thursday April 6, snitzer@xxxxxxxxx wrote:
> When I try to create a RAID1 array with ver 1.0 superblock using mdadm
> > 2.2 I'm getting:
> WARNING - superblock isn't sized correctly
> 
> Looking at the code (and adding a bit more debugging) it is clear that
> all 3 checks fail in super1.c's calc_sb_1_csum()'s "make sure I can
> count..." test.
> 
> Is this a regression in mdadm 2.4, 2.3.1 and 2.3 (NOTE: mdadm 2.2's
> ver1 sb works!)?

Oh bother and tarnation!!!! (whatever that means).

I've put a 64bit quantity (reshape_position) on a 32bit boundary, not
a 64 bit boundary.  That works fine on x86, but not in some other
places.

Seeing this hasn't made it into a released kernel yet, I might just
change it.  But I'll have to make sure that old mdadm's don't mess
things up ... I wonder how I will do that :-(

Thanks for the report.

NeilBrown

> 
> please advise, thanks.
> Mike
> -
> 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
-
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