[CentOS] Lost mdadm.conf

Luciano Rocha

strange at nsk.no-ip.org
Fri Jan 1 00:26:05 UTC 2010


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...


-- 
lfr
0/0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.centos.org/pipermail/centos/attachments/20100101/1d3c8aa6/attachment.sig>


More information about the CentOS mailing list