Hi Guillaume, Thanks a lot for your swift response!
On Sat, 2006-04-29 at 14:08 +0200, guillaume pernot wrote: > hi andree !, > > Le Samedi 29 Avril 2006 09:48, Andree Leidenfrost a écrit : > > First, I noticed your patch explicitly zeroes the superblock in a > > separate step before creating the RAID arrays. I have found that 'mdadm > > --create --force --run' will ignore existing superblocks. Am I missing > > anything here? > > > > Second, you provide scripting for updating the uuid in intird images. I > > can restore and on reboot the RAID arrays are started automatically > > (using a stock 2.6.16 kernel), which is what I would expect. What is the > > uuid update needed for? > > > > I don't remember exactly, but I think both should address the same issue : > the > --zero-superblock step was a lame attempt to fix the issue that is actually > fixed by the initrd stuff. Okidoki, I see, thanks. > my config was : stock debian sarge, stock debian kernel 2.6. boot partition > is > lvm-on-(soft)-raid1. > > in this configuation, the RAID array refused to boot because the uuid is > explicit and hard-encoded in the mdrun step. 'script' file in initrd.img > looks like : > ROOT=/dev/md0 > mdadm -A /dev/md0 -R -u > 6eb547bc:9be35f35:5037390f:1934535e /dev/hda1 /dev/hdc1 > > after a mondo restore, these uuid will have changed... and the array won't > run :( > > if you doesn't need this step, maybe it's because : > - your boot partition is not in an array ; > or That may be it. In fact, that's what I was dreading to hear. I think I'll have to do a reinstall at some stage putting boot on a RAID array. Anyway, thanks to your post-nuke script, I know what to do. > - you tried your restore on the same array (ie, same uuid) ; > or > - i've totaly misundestood what's happening in there ;) ! > > hope this will help ! i'm looking forward to your patches ! :) If you want to have a look at the stuff I attached to your bug report, I'd be very happy incorporate your feedback. Also, I should have said this before: Thanks a lot for submitting your patch in the first place, it was very helpful, indeed! > cheers, > guillaume Best regards, Andree -- Andree Leidenfrost Sydney - Australia
signature.asc
Description: This is a digitally signed message part