Re: Superblock V 1.2

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

 



On 07/11/2010 21:08, Martin Cracauer wrote:
Thanks, Leslie,

Leslie Rhorer wrote on Sun, Nov 07, 2010 at 03:03:39PM -0600:

Can I read that array if I ever connect the machine to an older
kernel/mdadm?

	That depends on just how old.  The new superblocks have been
supported for quite some time.  Worst case you will need to upgrade the old
kernel to a newer one.

Is mdadm actually involved? If I have a new enough kernel but an old
mdadm, will the kernel code alone be enough to start the array?

I guess it should since it can start the arrays at boot time with no
mdadm involved.

That's the other difference between 0.90 and 1.x metadata. In-kernel auto-assembly is only available for 0.90, and Neil Brown has made it clear that there will never be in-kernel auto-assembly for 1.x, and explained at length why. You need mdadm to start 1.x arrays, in your initrd if your root filesystem is on such an array. All modern distros create suitable initrds automatically. We are moving towards having array assembly handled by udev invoking mdadm as devices are discovered.

Cheers,

John.

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