Public bug reported: Regarding the smartmontools in Ubuntu 12.04.01 LTS (x64, though I doubt x86 behaves differently):
I've made a simple patch to the service script for smartmontools to add support for options to be passed via /etc/default/smartmontools to smartctl. Options for smartd are already provided. Please see: http://pastebin.com/54M4dGXW Also, if the maintainers could give a thought about how to more succintly express devices located behind RAID cards, that would be appreciated. The mechanism at the moment assumes a simplistically/directly attached as /dev/[hs]dX model. Currently, I'm hacking it together by using this script as above and adding the /dev/twaX device as a "static" parametre to smartctl via the smartctl_opt. Like so in /etc/default/smartmontools: enable_smart="--device=3ware,0 --device=3ware,1 --device=3ware,2 --device=3ware,3 \ --device=3ware,4 --device=3ware,5 --device=3ware,6 --device=3ware,7 \ --device=3ware,8 --device=3ware,9 --device=3ware,10 --device=3ware,11 \ --device=3ware,12 --device=3ware,13 --device=3ware,14 --device=3ware,15" smartctl_opts="/dev/twa0 -o on -S on" Thanks, Oren ** Affects: smartmontools (Ubuntu) Importance: Undecided Status: New ** Tags: raid smartmontools -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1102309 Title: Better supporting drives behind RAID cards... To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/smartmontools/+bug/1102309/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
