On Saturday June 30, [EMAIL PROTECTED] wrote: > Quoting Alasdair G Kergon <[EMAIL PROTECTED]>: > > > On Thu, Jun 28, 2007 at 11:02:39PM +0200, Turbo Fredriksson wrote: > >> 2. How do I move a VG/PV/LV from PPC to x86? > > > > The on-disk LVM2 metadata should be accessible from both > > architectures. > > Well, when I move the disks, the intel machine say that one of > the disks don't have a partition table and that the other don't > have any MD superblock...
Version 0.90 MD superblocks (still the default) uses host-endian values so you cannot move between architectures directly. However isn't too hard to make it work. Firstly, use mdadm --examine --metadata=0.swap /dev/DEVICE to check that you have the right devices. Then mdadm --assemble /dev/md0 --update=byteorder /dev/DEV0 /dev/DEV1 .... That should assemble the array and update the superblocks so that they are in the right byteorder and will assemble easily in future. NeilBrown - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/