I am creating a RAID 10 array over four iSCSI targets. I want to control everything manually though so I can run it through heartbeat. I've unlinked the open-iscsi and mdadm scripts from /etc/rc#.d/ but the raid array is still recreated on boot up. Once the server boots up I have to do a mdadm –stop /dev/md0 and then /etc/init.d/mdadm stop to make sure it doesn't fire it up again. I commented out my array from /etc/mdadm/mdadm.conf but it just created a new one later. How can I put mdadm into a manual process so it only attempts to start or rebuild the array when I tell it to?
mdadm – How to Disable Automatic Startup
mdadmraid
Related Topic
- Ubuntu – What tells initramfs or the Ubuntu Server boot process how to assemble RAID arrays
- Linux – Odd mdadm output: –examine shows array state failed, –detail shows everything clean
- Fix apt-get Update mdadm Scary Warnings in Debian
- Move an existing RAID 5 array from Ubuntu to Gentoo
- Linux – Unable to remove the software raid-1 array when it is in degraded state
- MDADM – Manually Build RAID Array Every Boot and Cannot Add Third Drive
Best Answer
/etc/mdadm/mdadm.conf
what about scan something like /dev/null ? I mean some devices without superblocks. So mdadm cant find arrays.