On Jul 2, 2009, at 12:42 PM, Goswin von Brederlow wrote:
Marek <mlf.conv@xxxxxxxxx> writes:3. Is it possible to use 0xDA with 0.9 superblock and omit autodetectwith mdadm 2.6.x? I couldn't find any information regarding this sincemost RAID related sources either still suggest 0xFD and autodetect(even with mdadm 3.0 by using -e 0.9 option) or they do not state which version of mdadm to use in case of 1.x superblocks. Sinceautodetect is deprecated, is there a safe way(without losing any data)to convert from autodetect + 0xFD in the future?If you have raid build as module then the kernel does no autodetect. Otherwise you can give some kernel commandline option, see docs.
Most (if not all) sane distributions have not used raid autodetect in quite a while. They use mdadm in the initrd and later during the init script sequence to start raid arrays instead. Mdadm doesn't care what the partition type is. I regularly use 0x83 for older raid devices, and 0xda on newer ones, with no ill effects.
-- Doug Ledford <dledford@xxxxxxxxxx> GPG KeyID: CFBFF194 http://people.redhat.com/dledford InfiniBand Specific RPMS http://people.redhat.com/dledford/Infiniband
Attachment:
PGP.sig
Description: This is a digitally signed message part