[CentOS] Lost mdadm.conf

James Bensley jwbensley at gmail.com
Fri Jan 1 14:38:03 UTC 2010


2010/1/1 Luciano Rocha <strange at nsk.no-ip.org>:
> On Thu, Dec 31, 2009 at 04:40:56PM +0000, Joseph L. Casale wrote:
>> >Not all rescue environments have MAKEDEV or have it in $PATH, so this should always work. ;)
>>
>> Really, on my hp's as well? I don't have any /dev/hdx or /dev/sdx on the ones with software raid...
>>
>> Nothing is easier than simply:
>> # mdadm --detail --scan --verbose > /etc/mdadm.conf
>>
>> And that actually *does* work in all environments...
>
> Does that create the /dev/md* devices? I mean, a *scan* shouldn't change
> the filesystem, should it? That's the problem that line tries to fix:
> that there's no mdX device in /dev...

I think after adding those details to your mdadm.conf and restarting
your /dev/md* devices would be created?

-- 
Regards,
James ;)

Charles de Gaulle  - "The better I get to know men, the more I find
myself loving dogs." -
http://www.brainyquote.com/quotes/authors/c/charles_de_gaulle.html


More information about the CentOS mailing list