Is this still the recommended approach or is there another recommended way to do this with 9.3?Off the cuff I'm not sure this will work for 9.3 just because there are many routine updates for this new flavor of FreeNAS.
So if you want to use this type of code, create a FreeBSD jail, open the shell for the jail, 'pkg_add-r smartmontools' and add your script. Skip steps 2 and 11 in my original posting.
This is a very quick posting as I have to run. Let me know if this works and I'll update the original posting to reflect 9.3 instructions.
/mnt/pool/scripts/sh esmart.sh /dev/ada0
sh /mnt/pool/scripts/esmart.sh /dev/ada0
Thanks Joe! Really appreciate the effort you put into it.There is nothing wrong with leaving it in the location you have it in however it may not survive a software upgrade. If you find this the case then I'd recommend moving it to the pool instead. That really was the only reason for moving it, because many folks using this found that occasionally they would have to copy the script back after an upgrade.