Re: raid5 endian question....

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

 



Aaron Botsis wrote:
I'm attempting to move a raid5 array from a big endian ppc machine to a little endian x86.

Upon trying to import the array, I get:
mdadm: No super block found on /dev/hde1 (Expected magic a92b4efc, got fc4e2ba9)

I assume this to be an endianess issue...

Yes.

Is this a bug? Is just the magic number whacked? or are the superblock data structures too?

The version 0.90 superblock is not "endian agnostic". It records data in whatever endian order the host machine is (Version 1 superblocks, by the way, fix this, but are not available unless you have the latest 2.6 kernel and mdadm).

what's the best way to fix this?

Unfortunately, I don't think there's an easy way. But, if you can get the array back up on the original machine and copy down all the information (or if you already have it) then you can re-create the array on the x86 machine using "mdadm -C", but be careful... :)

--
Paul
-
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