<div>I just figured out , mdadm --auto=yes , will autocreate /dev/md2 if does not exists.</div>
<div> </div>
<div>Regards,</div>
<div> </div>
<div>D.<br></div>
<div class="gmail_quote">On Fri, Apr 18, 2008 at 6:10 PM, S.Tindall <<a href="mailto:tindalls.gr9x@osccc.com">tindalls.gr9x@osccc.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px; BORDER-LEFT: #ccc 1px solid">David Hlácik" wrote on Friday, April 18, 2008 11:40 AM:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px; BORDER-LEFT: #ccc 1px solid">Hi , currently i have 2 raid devices /dev/md0 and /dev/md1 , i have added 2<br>new disks, fdisked , created 2 primary partitions with type fd (linux raid autodetect)<br>
Now i want to create raid from them<br><br>root@vmhost1 ~]# mdadm --create --verbose /dev/md2 --level=1 /dev/sdc1<br>/dev/sdd1<br>mdadm: error opening /dev/md2: No such file or directory<br><br>will return that error, what shouldi do?<br>
</blockquote><br>Not familiar with that error, but try specifying the number of devices:<br><br># mdadm -C /dev/md2 -l1 -n2 /dev/sd[cd]1<br><br>Steve Tindall<br></blockquote><br></div>Forgot to ask, does /dev/md2 exists in /dev?<br>
<br>If not, you can still use makedev to generate it:<br><br># cd /dev<br># MAKEDEV md<br><br>Undocumented, but it still works. 
<div>
<div></div>
<div class="Wj3C7c"><br><br>Steve Tindall <br>_______________________________________________<br>CentOS mailing list<br><a href="mailto:CentOS@centos.org" target="_blank">CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div></div></blockquote></div><br>