Alright, I did as described and everything appears to work! In fact, the only issue I have is that the script I wrote to rsync my data first mounts the USB drive:
# mount -t msdosfs -o large /dev/da1s1 /usbbackup
before running rsync.
But of course, that USB drive might be da0 (if I boot with it plugged in) or it might be da1 (if I plug it in after the box is up). So I need to modify my script. I figure I'll just:
# ls /dev | grep da1s1a
If da1s1a exists I know that da1 is my RAID 5 drive. If it doesn't, that's my USB drive. My script can proceed from there. (That's probably not very sophisticated, but hey, I've been learning scripting even less time than FreeBSD!)
Thanks again!
|