Re: endianness of Linux kernel RAID

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

 



--- Neil Brown <neilb@xxxxxxxxxxxxxxx> wrote:

> Not really....  The kernel reads the superblocks to
> find out the
> details of the array.  If it cannot read them, it
> won't assemble the
> array.
> 
> Depending on the type of array, you could --build
> the array instead.
> This allows for arrays that deliberately don't have
> superblocks.
> It should work for raid0, might work for linear,
> could work for raid1,
> but no for anything else.
> 
> If you want to try it, send me the --examine output.
> and I'll suggest
> a command.
> 

My array is raid5, so I decided to overwrite the
big-endian superblocks and assemble the array.  Your
patch worked as expected and the array is functioning
properly.  Thanks for the help.

Is there a simple way convert the superblocks back to
big-endian while the drives are connected to the
little-endian machine?

-Brent

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-
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