[lvm-devel] master - RAID: Make "raid1" the default mirror segment type
Brassow Jonathan
jbrassow at redhat.com
Wed Aug 7 16:42:44 UTC 2013
On Aug 7, 2013, at 9:35 AM, Peter Rajnoha wrote:
> On 08/07/2013 04:03 PM, Brassow Jonathan wrote:
>>
>> On Aug 7, 2013, at 4:21 AM, Zdenek Kabelac wrote:
>>
>>>
>>> We need fallback here - since if the user doesn't have dm-raid - then he needs to manually configure defaults.
>>>
>>> As a result automated tests on systems without dm raid fails.
>>>
>>> Also we need to update all tests which were supposed to test mirrors,
>>> to really test mirrors - otherwise we are checking raid code twice
>>> (and even without checking dm-raid version presence)
>>
>> I'll fix-up all the mirror tests today.
>>
>> Not sure about what to do regarding a user on an old system with fresh LVM. The commands should complain about not having RAID kernel support. Do we overwrite their current lvm.conf when installing? I don't think so...
>>
>
> We do have a patch attached to RHEL5 already that removes some RAID stuff from lvm.conf
> (the mirror_segtype_default setting):
>
> http://pkgs.devel.redhat.com/cgit/rpms/lvm2/tree/lvm2-rhel5.patch?h=rhel-5.9
>
> We can change that if needed...
We will definitely need to do that - and for RHEL6 now too. RAID1/10 should only become the default upstream and in RHEL7.
I think Zdenek was talking mostly about users who compile their own LVM on machines with older kernels though.
brassow
More information about the lvm-devel
mailing list