Missed this post. And haven't been here much lately. Are you still having issues?
What is the goal of your setup? Do you want RAID1 or RAID0? I recommend using the stock firmware to configure your drives with the Buffalo Webinterface.
And the array rebuild is something that I have to explain
Let me quote my own guide first:
# Here is the trick. It takes around 980 minutes to sync RAID1. If I had to wait 980 minutes each time I
# bricked my NAS, it would've taken me YEARS. So, we are going to interrupt the sync process:
# Make sure the RAID is configured (The orange LED is blinking indicating it is rebuilding the array)
# * Turn off the NAS using the switch on the back
# * Remove drive 2
# * Turn on the NAS using the powerswitch
# The NAS will boot, the red error light will blink and the red bay light will turn on. This is good,
# once we have the NAS up and running we will use mdadm to add the second drive back to the array and
# let it rebuild.
I bricked my NAS perhaps 40-50 times before I finally got the whole thing up and running. So each time the NAS would crash, I took out the drives, formatted them, put them back, flashed stock firmware, and used the interface to configure the RAID array again. It takes 980 minutes to rebuild the array! I didn't want to wait for that..
So one time, again the NAS failed and I had to wait the whole 980 minutes before I could start over. I did some researching, and found out that I could start an array degraded
. This way, it wouldn't need to resync the drives (there was only one drive) but I already created the /dev/md0 device. So now I could try it 4-5 times per evening.
Naturally, once everything worked I wanted to have the RAID capabilities. This is where you start reading the rebuild array
guide. You correctly stated I am already starting off with one drive, which is why
Of course, you can install debian with any configuration you want and change it afterwards.
edit: I'm no mdadm expert, but have a look at this: http://www.ducea.com/2009/03/08/mdadm-cheat-sheet/
The way I see things, you completely stop the array with --stop. If you look at 3.
you have to --fail the raid to remove a drive. After you have done that, you can use parted to configure that drive. Then use mdadm to create a degraded array
. Once the new RAID is up and running, stop and delete the first array, add the drive to the new array and let it sync. Don't forget to update fstab, or you can start over