Re: Bigendian issue with mdadm

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

 



On Tuesday February 21, bluca@xxxxxxxxxx wrote:
> On Tue, Feb 21, 2006 at 10:44:22AM +1100, Neil Brown wrote:
> >On Monday February 20, francois.barre@xxxxxxxxx wrote:
> >> Hi All,
> >> 
> >> Please, Help !
> >> 
> >> I've created a raid5 array on a x86 platform, and now wish to use it
> >> on a mac mini (g4 based). But the problem is : the first is
> >> little-endian, the second big-endian...
> >> And it seams like md superblock disk format is hostendian, so how
> >> should I say mdadm to use a endianness ?
> >> 
> >
> >Read the man page several times?
> >
> >Look for "--update=byteorder"
> >
> >You need mdadm-2.0 or later.
> >
> besides IIRC version 1 super block is always little-endan.
> 

True.  v1 is little-endian, not host-endian so this issue won't appear
if using v1 metadata.  However the default is 0.90, and I'm still
finding occasional bugs with the v1 code, so I'm not likely to change
the default soon any time soon... probably not for 1 year after I'm as
confident of v1 code as of v0.90.

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