Re: USB Backup Fails on Raid in recent builds.

David W Studeman <[email protected]> Wed, 08 Jan 2014 05:25:07 -0800
Newsgroups gmane.comp.security.ipcop.devel
Message-ID <[email protected]>
Olaf wrote:

> On 2014-01-06 11:17, David W Studeman wrote:
>> David W Studeman wrote:
>>
>>
>>>
>>> I'm a bit baffled as to what could have changed to cause any of these
>>> things?
>>
>> Update. I see that udev creates the links but the one thing that changed
>> recently is the mdadm upgrade and the udev rules created by it. Mdadm now
>> has two rules sets rather than one from previous versions and there are
>> quite a few differences. This was a major mdadm change from the previous
>> version according to the documentation.
> 
> Yes, the display in status.cgi is related but differently. Fixed in #7203.

Yes, that fixed the display. Thanks!

>> At this point, not having the links by label for root to point to
>> /dev/md0 doesn't seem to matter much in itself. Should the backup config
>> be changed to not look for the root label link in /dev/disk but rather
>> looking at the mounts?
>>
> 
> Using the /dev/disk/by-label/root link is much easier :-)
> I'd have to look, but IIRC it is also used elsewhere. Verifying
> available disk space before update comes to mind.

Well, they are supposed to be there. I should mention that the only thing 
that does show up is the /dev/disk/by-path which points to the first drive 
on the first controller and the name of the link all start with pci.

This only recently started happening. One of my raid test boxes which I had 
a November build running on until last weekend, did not exhibit this 
behavior. I hadn't studied in detail the new udev rules which come with the 
newest mdadm yet. 

-- 
Dave Studeman
http://www.raqcop.com 



------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk