grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] Bug fix for LVM


From: Bean
Subject: Re: [PATCH] Bug fix for LVM
Date: Tue, 28 Jul 2009 23:15:09 +0800

Hi,

BTW, I found a regression on r2421 that cause raid5rec to fail:

http://svn.savannah.gnu.org/viewvc/trunk/grub2/disk/raid6_recover.c?root=grub&r1=2197&r2=2421

buf and buf2 are two different variable.

This new patch include the revert raid5_recover.c to r1828.

On Tue, Jul 28, 2009 at 9:57 PM, Bean<address@hidden> wrote:
> Hi,
>
> Oh, I've found the problem. The abstraction is ok, but now partmap is
> wrong. The original code assumes at most one level of abstraction when
> detecting partmap, and it doesn't work on two level abstraction like
> LVM on RAID. If you add module minicmd, you can use lsmod and see pc
> module is missing.
>
> I also make some improvement to the patch. Now it also detect the raid
> level, and add raid5rec or raid6rec accordingly.
>
> --
> Bean
>



-- 
Bean

Attachment: lvm_3.diff
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]