You'll probably want to add the mount to your /etc/fstab file, but resist the temptation. It won't work when you reboot the system. The problem is that USB drives get assigned SCSI devices based on a first come first serve basis, i.e., whichever drive gets detected first will be assigned first. Also, which USB port the drive gets plugged into will affect the SCSI device assignment. Because of this, when Linux boots it will most likely fail to assemble the RAID device because it's looking for the original drives (/dev/sdc) that were used to create the device. So, you'll need to manually assemble the RAID device and than mount it. In one of your startup scripts (I use /etc/rc.d/rc.local) put these two lines:
mdadm --assemble --uuid=9ca2a418:d3eb6dfe:e14f8c51:39f1a438 /dev/md/0
Note that you'll use the UUID value reported by the mdadm --detail -v /dev/md0
command
Lesezeichen