Re: USB Backup Fails on Raid in recent builds.

David W Studeman <[email protected]> Fri, 10 Jan 2014 18:32:20 -0800
Newsgroups gmane.comp.security.ipcop.devel
Message-ID <[email protected]>
Olaf wrote:

> 
> 
>> I just tried an experiment. With no other changes I simply moved the two
>> udev raid rules files that the latest mdadm gives us and in their place I
>> put the old single raid rules file and it worked perfectly. I have my
>> disk by label and the root links to md0 and varlog_comp (since this is
>> flash) links to md1 as it should. So now there are three ways to fix
>> this. Patch the existing udev, update udev or simply substitute the old
>> single rules file in lieu of the two new rules files that come with
>> mdadm.
>>
>> I just tried this successfully on a second machine and it works
>> perfectly.
> 
> Thanks Dave.
> 
> I'll go with the patch.
> 
> Olaf
> 
It would appear that the patch is not enough to make the existing udev work 
with the new mdadm rules as I had hoped it would. It does however at least 
point the disk by id to the proper md arrays this time around.

The patch I referenced earlier seems to be geared for > udev-171-r8.

At this point I honestly don't know exactly what it would take to make udev 
166 work with mdadm 3.3 udev raid rules as there are many differences in the 
newer udev compared to 166. To be clear, It was the old mdadm udev rules 
that made it work thus far in my tests with the existing udev. 
-- 
Dave Studeman
http://www.raqcop.com 



------------------------------------------------------------------------------
CenturyLink Cloud: The Leader in Enterprise Cloud Services.
Learn Why More Businesses Are Choosing CenturyLink Cloud For
Critical Workloads, Development Environments & Everything In Between.
Get a Quote or Start a Free Trial Today. 
http://pubads.g.doubleclick.net/gampad/clk?id=119420431&iu=/4140/ostg.clktrk