mounting a raid array at startup
I'm using Ubuntu 9.3 on an AMD64.
I have created a software RAID-1 array from two external usb harddisks.
Now, I want to mount the md device automatically when the machine is turned on.
It's amazingly difficult. I have found three options:
1) /etc/fstab (just doesn't work, don't know why)
2) automount, autofs (not realy meant for this purpose)
3) some script that's run at startup
The last option is what I'm currently working on. The problem is, of course, that only root can mount anything which renders a lot of natural places to do this useless. Like /etc/profile, /etc/bash-login and brethren.
Any suggestions, anyone?