First of all, hello folks
I have tried to create a raid5 setup for my home server (latest debian) and could really need some help there.
My Setup is as follows: 2x1TB SATA HDD (sdd and sde, most of the time), connected to the board, LVM, Crypt, everything is fine.
3x500GB SATA HDD (sda, sdb, sdc most of the time, but switching), connected to two SATA controllers, with which I'm trying to do raid5. Nothing is fine.
I created the array using mdadm, which created the array and immediately startet rebuild (which took ~5h). Then /dev/md0 was ready, I could mkfs and everything was good...
Until I found out that mdadm is automatically rebuilding the (still empty) array every time I reboot. This is crap since I don't like to wait 4h every time I want to use the server and despite that I don't see the sense in rebuilding a set of disks with no data on it anyway.
mdadm doesn't want me to stop/remove the array as well, as it states "Device or resource busy" (probably because of the running background rebuild) every time I try to mdadm --stop /dev/md0.
What can I do to solve this? I really want the redundancy raid5 offers, but I think I don't need to spend 4 hours of my life every time I boot my server.
Is there any way to prevent mdadm from rebuilding, or just forcing mdadm into believing the disks are synch?
I really don't have any ideas left of what I could do here.
p.s. pardon my (probably) bad English :-)