When using a 3ware SATA/RAID card is there a way to associate the disk serial # with the /dev/daN device? I can get serial numbers by using "smartctl -d 3ware,0 /dev/twa0 -i", but I don't know if "twa0" directly corresponds to "da0". smartctl -a /dev/da0 just tells me that I need to use -d 3ware,N so I can't get the information directly that way.
The FreeNAS GUI does show the serial numbers of the disks once they are in a volume, so there should be some way of doing it beforehand. I need the device/serial mappings before I create the pool though because I want to make sure to mirror the disks across two 3ware sata cards. I'd also like to be able to map physical slot locations to serial numbers and device names to make replacing drives easier in the future.
I'm running FreeBSD 8.2 (FreeNAS 8.0 RC5)