]> git.proxmox.com Git - mirror_smartmontools-debian.git/blame - TODO
bump standards version
[mirror_smartmontools-debian.git] / TODO
CommitLineData
832b75ed
GG
1TODO list for smartmontools:
2
a37e7145 3$Id: TODO,v 1.64 2007/09/03 19:36:58 chrfranke Exp $
832b75ed
GG
4
5SATA devices under Linux
6------------------------
7These work OK if you use the standard IDe drivers in drivers/ide.
8
9The situation is more complicated if you use libata.
10
11Prior to Linux kernel version 2.6.15-rc1, libata does not support the
12HDIO_DRIVE_TASK, HDIO_DRIVE_CMD, and HDIO_DRIVE_TASKFILE ioctl()s that
13are needed by smartmontools. Support for HDIO_DRIVE_TASK and
14HDIO_DRIVE_CMD was added into libata by Jeff Garzik starting with
15Linux kernel version 2.6.15-rc1. Starting with this version, you can
16use all the smartmontools commands apart from initiating selective
17self-tests (which also requires HDIO_DRIVE_TASKFILE). A typical
18command line might look like this:
19 smartctl -a -d ata /dev/sda
20The '-d ata' is required, since otherwise smartmontools will assume
21that the device is SCSI, not ATA/SATA. Similar syntax will work with
22smartd.
23
24You may be able to patch earlier versions of libata. Please search the
25Linux Kernel Mailing list to find this patch, or look at the thread:
26http://groups.google.de/groups?hl=en&lr=&ie=UTF-8&threadm=2yYBY-4HB-55%40gated-at.bofh.it&rnum=3&prev=/groups%3Fq%3Dsmartmontools%26hl%3Den%26lr%3D%26ie%3DUTF-8%26scoring%3Dd%26selm%3D2yYBY-4HB-55%2540gated-at.bofh.it%26rnum%3D3
27To use this, just use (for example) 'smartctl -a -d ata /dev/sda'.
28
29Since this looks like this patch will become standard, we need to add something
30to smartmontools to automatically recognize the libata, and add the '-d ata'
31automatically.
32
832b75ed
GG
33USB devices under Linux
34-----------------------
35Some USB devices can hang smartctl or smartd. This is because these
36devices fail to comply with SCSI specifications for their packet
37command sets. Work on improving the detection and bail-out procedures
38for these flawed devices, so that the user sees an informative error
39message and smartd/smartctl don't hang.
40
41ATA-4 (no kidding!)
42-------------------
43smartctl: add another -t TESTTYPE option to accomodate old-style ATA-4
44IBM disks (ATA-4 has no self-test commands). See IBM S25L-2426-02 OEM
45HARD DISK DRIVE SPECIFICATIONS for DBCA-203240/204860/206480 2.5-Inch
46Hard Disk Drive with ATA Interface Revision (1.0)
47http://www.hgst.com/tech/techlib.nsf/techdocs/85256AB8006A31E587256A7D00642A1D/$file/dbca_sp.pdf
48section 12.30.1.5 for details. These disks offer no self-test option,
49and the -t offline command only tests a small part of the disk (a
50'segment'). We need a -t multioffline that:
51 (1) issues auto offline immediate command (tests ONE segment)
52 (2) waits until estimated completion time
53 (3) tests if off-line data collection status is set to 0x02 (all
54 segments completed)
55 (4) if not, return to (1)
56
57ATA-6/7
58-------
59Support extended error logs
60Support extended self-test logs
61
62smartctl/smartd
63---------------
64Add additional -v options (corresponding to comments in
65atacmds.c:ataPrintSmartAttribName().
66
67Add interface to Megaraid ATA RAID controllers (Erik)
68
69smartctl:
70---------
71Add command line option to issue SMART SAVE ATTRIBUTE VALUES command
72Feature Register value ATA_SMART_SAVE 0xd3
73
74Perhaps modify the -q option (quiet mode) so that it only warns of ATA
75errors if they have (say) taken place in the last 168 hours (week).
76
77Parse and print additional Attribute flag meanings (IBM ones, eg
78performance etc). These are now documented in atacmds.h -- we just
79need to modify the format of the Attribute table.
80
81Modify the SMART self-test log table printing so that we ALSO print
82the value of the self-test failure checkpoint byte, if it's one of the
83recognized values. See routine SelfTestFailureCodeName and
84documentation in atacmds.h.
85
86smartd:
87-------
88Perhaps change <nomailer> special argument to -m to have also
89<nomailer_fork> which would actually work with -M exec to run the
90executable/script in the background rather than in the foreground.
91But let's wait for someone to request this. At that point we should
92probably use fork/exec rather than system().
93
832b75ed
GG
94Add ability to monitor "worst" value from attributes (sometimes it
95gets larger!) and to monitor the threshold value (sometimes it
96changes!).
97
98Add command line option that scans devices then WRITES
99/etc/smartd.conf, perhaps as /etc/smartd.conf.output, just for devices
100that can be monitored.
101
832b75ed
GG
102Packaging
103---------
104Under freebsd and solaris, the following are wrong:
105smartd.conf: has linux device paths
106smart*.in : man pages have (mostly) linux device paths