Not all USB hard drives support S.M.A.R.T. One of the USB hard drives supports it is WD My Book Studio II. Unfortunately OMV 0.4.1 and earlier aren't able to read S.M.A.R.T. information from it. The failure is the result of smartd and smartctl unable to automatically determine how to communicate with that hard drive. They require a '-d xxx' option to tell them the correct device type.
In order to use S.M.A.R.T. support on WD My Book Studio II, I need to specify '-d sat' option. However, OMV apparently doesn't have any place to let me specify that option for my hard drive. After a little study on the source code, I created this patch (see the attachment) which adds a feature to let you specify S.M.A.R.T. device type option and apply that option to smartd and smartctl.
To use the patch, you need to have OMV 0.4.1 installed. Download and unzip the attachment to your OMV device. Run this command at root directory to check:
If all seem fine, run this command at root directory to apply: (Use it at your own risk.)
Refresh your OMV web interface, and then go to Storage/Physical Disks. Select the hard drive you want and edit its properties. Enter the S.M.A.R.T. device type for your hard drive.
Then go to Storage/S.M.A.R.T./Devices, and select your hard drive. Click either Detail or Information button to see whether S.M.A.R.T. information can be retrieved successfully.
But, how do you know what device type to use'? Most USB hard drives probably need either 'scsi' or 'sat' option. There are other device types you can try with smartctl command. Please read http://linux.die.net/man/8/smartctl for details.