On 01/08/2011 05:08 AM, Matthew Gabeler-Lee wrote: > On Fri, 7 Jan 2011, Vladimir 'φ-coder/phcoder' Serbinenko wrote: > >> I believe it to be a problem with raid5. Could you try the latest >> upstream? If problem persists I would need following dumps: >> dd if=/dev/sd[abcd]3 of=[abcd].img bs=1024 count=64 >> dd if=/dev/md2 of=2.img bs=1024 count=64 >> grub-fstest -c 4 /dev/sda3 /dev/sdb3 /dev/sdc3 /dev/sdd3 hex -l >> '(md2)+128' > g2.img > > OK, built grub from latest bzr trunk. > > From my past workarounds, I effectively have a list of all the > invocations of grub-probe that grub-install/grub-setup runs on my > system. Most of those work fine now. The only thing that isn't fine > is that most invocations spit out a message "error: found two disks > with the number 0" but give a correct answer and exit successfully. > Then I guess the problem was in raid5_recover. > If I run grub-probe with enough --verbose arguments, then that message > gets this context: > > grub-core/disk/raid.c:699: Scanning for RAID devices on disk hd2 > grub-core/kern/disk.c:245: Opening `hd2'... > ./grub-probe: info: the size of hd2 is 1465149168. > error: found two disks with the number 0. > grub-core/kern/disk.c:330: Closing `hd2'. > There may be a problem in RAID assembling. Are any of the devices marked as faulty or spare? > So, it seems maybe you're right that there's something funky with the > raid5. The outputs you requested are attached. The grub-fstest > invocation complained that -l is not a valid option, I hope the output > without it is still what you want / need. I included the full output > of one of the complaining grub-probe invocations too, on the guess > that it might be helpful. > it's ls -- -l / for now, will be fixed later. > FWIW, the raid5 array in question has had every disk swapped at least > once in its life span, including from growing from 3 to 4 disks, and > from smaller to larger disks, not to mention one or two disk failures > along the way. > Is the size of md2 correctly 3 times the size of a single disk?
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
signature.asc
Description: OpenPGP digital signature