[CentOS] permanently add md device

Fri May 28 16:05:40 UTC 2010
Wessel | Postoffice <wessel at postoffice.nl>

That did the trick! i was breaking my head over this for hours, thanks a lot guys.



Wessel


Ensure your partition type is set to 'fd'. You may also need to add this to your /etc/mdadm.conf.

--Tim
_______________________________________________
CentOS mailing list
CentOS at centos.org
http://lists.centos.org/mailman/listinfo/centos
On May 28, 2010, at 4:39 PM, Theo Band wrote:

> Wessel | Postoffice wrote:
>> Hi All
>> 
>> Currently i'm setting up a 5.4 server and try to create a 3rd raid device, when i run:
>> $mdadm  --create /dev/md2 -v  --raid-devices=15 --chunk=32 --level=raid6 /dev/sdc /dev/sdd /dev/sde /dev/sdf /dev/sdg /dev/sdh /dev/sdi /dev/sdj /dev/sdk /dev/sdl /dev/sdm /dev/sdn /dev/sdo /dev/sdp /dev/sdq
>> 
>> the device file "md2" is created and the raid is being configured. but somehow /dev/md2 is flushed when i reboot the system , same story if i create the file by mknod or MAKEDEV.
>> does anyone know a way to solve this issue and permanently add md2 to devices?
>> 
>> 
> I think it helps if you set the disk flag to raid auto detect (fd =
> Linux raid auto). Can be done with parted or fdisk (option t).
> 
> Theo
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.centos.org/pipermail/centos/attachments/20100528/314507cf/attachment-0005.html>