Better supporting drives behind RAID cards...

Bug #1102309 reported by Oren Maxximix
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
smartmontools (Ubuntu)
New
Undecided
Unassigned

Bug Description

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

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.