On 01.04.2011 01:13, Liontos Aristotelis wrote: > I guess you mean dd if=/dev/mapper/ananias-root of=first64K bs=1024 > count=64 (partition ? on an raid + lvm config ?) > > I have to retest the config because grub-pc is updated to 1.99~rc1-8 > and grub-probe -t abstraction -d /dev/mapper/ananias-root gives me a > different error > root@ananias:~# grub-probe -t abstraction -d /dev/mapper/ananias-root > error: unknown LVM metadata header. > raid mdraid1x lvm > Yes, this indicates that it should work now. However, it also seems that original bugreport is because one corrupted volume (like your leftover) stopped LVM scanning altogether (probably some race condition made it either first or last scanned). Attached patch will fix it. Note: error message is legitimate and won't go away with this patch. To fix the basic problem you need to clear the stale signature but it's potentially dangerous operation and with the fix the effects should be reduced to a single error message. > thnx > > > _______________________________________________ > Pkg-grub-devel mailing list > pkg-grub-de...@lists.alioth.debian.org > http://lists.alioth.debian.org/mailman/listinfo/pkg-grub-devel
-- Regards Vladimir 'φ-coder/phcoder' Serbinenko
=== modified file 'grub-core/disk/lvm.c' --- grub-core/disk/lvm.c 2011-03-30 11:02:39 +0000 +++ grub-core/disk/lvm.c 2011-04-01 11:27:30 +0000 @@ -838,6 +838,7 @@ grub_lvm_scan_device (const char *name) grub_disk_close (disk); if (grub_errno == GRUB_ERR_OUT_OF_RANGE) grub_errno = GRUB_ERR_NONE; + grub_print_error (); return 0; }
signature.asc
Description: OpenPGP digital signature