Re: permanently add md device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxx
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@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux