📄 todo
字号:
TODO list for smartmontools:$Id: TODO,v 1.64 2007/09/03 19:36:58 chrfranke Exp $SATA devices under Linux------------------------These work OK if you use the standard IDe drivers in drivers/ide.The situation is more complicated if you use libata.Prior to Linux kernel version 2.6.15-rc1, libata does not support theHDIO_DRIVE_TASK, HDIO_DRIVE_CMD, and HDIO_DRIVE_TASKFILE ioctl()s thatare needed by smartmontools. Support for HDIO_DRIVE_TASK andHDIO_DRIVE_CMD was added into libata by Jeff Garzik starting withLinux kernel version 2.6.15-rc1. Starting with this version, you canuse all the smartmontools commands apart from initiating selectiveself-tests (which also requires HDIO_DRIVE_TASKFILE). A typicalcommand line might look like this: smartctl -a -d ata /dev/sdaThe '-d ata' is required, since otherwise smartmontools will assumethat the device is SCSI, not ATA/SATA. Similar syntax will work withsmartd.You may be able to patch earlier versions of libata. Please search theLinux Kernel Mailing list to find this patch, or look at the thread:http://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%3D3To use this, just use (for example) 'smartctl -a -d ata /dev/sda'.Since this looks like this patch will become standard, we need to add somethingto smartmontools to automatically recognize the libata, and add the '-d ata'automatically.USB devices under Linux-----------------------Some USB devices can hang smartctl or smartd. This is because thesedevices fail to comply with SCSI specifications for their packetcommand sets. Work on improving the detection and bail-out proceduresfor these flawed devices, so that the user sees an informative errormessage and smartd/smartctl don't hang.ATA-4 (no kidding!)-------------------smartctl: add another -t TESTTYPE option to accomodate old-style ATA-4IBM disks (ATA-4 has no self-test commands). See IBM S25L-2426-02 OEMHARD DISK DRIVE SPECIFICATIONS for DBCA-203240/204860/206480 2.5-InchHard Disk Drive with ATA Interface Revision (1.0)http://www.hgst.com/tech/techlib.nsf/techdocs/85256AB8006A31E587256A7D00642A1D/$file/dbca_sp.pdfsection 12.30.1.5 for details. These disks offer no self-test option,and the -t offline command only tests a small part of the disk (a'segment'). We need a -t multioffline that: (1) issues auto offline immediate command (tests ONE segment) (2) waits until estimated completion time (3) tests if off-line data collection status is set to 0x02 (all segments completed) (4) if not, return to (1)ATA-6/7-------Support extended error logsSupport extended self-test logssmartctl/smartd---------------Add additional -v options (corresponding to comments inatacmds.c:ataPrintSmartAttribName().Add interface to Megaraid ATA RAID controllers (Erik)smartctl: ---------Add command line option to issue SMART SAVE ATTRIBUTE VALUES commandFeature Register value ATA_SMART_SAVE 0xd3Perhaps modify the -q option (quiet mode) so that it only warns of ATAerrors if they have (say) taken place in the last 168 hours (week).Parse and print additional Attribute flag meanings (IBM ones, egperformance etc). These are now documented in atacmds.h -- we justneed to modify the format of the Attribute table.Modify the SMART self-test log table printing so that we ALSO printthe value of the self-test failure checkpoint byte, if it's one of therecognized values. See routine SelfTestFailureCodeName anddocumentation in atacmds.h.smartd:-------Perhaps change <nomailer> special argument to -m to have also<nomailer_fork> which would actually work with -M exec to run theexecutable/script in the background rather than in the foreground.But let's wait for someone to request this. At that point we shouldprobably use fork/exec rather than system().Add ability to monitor "worst" value from attributes (sometimes itgets larger!) and to monitor the threshold value (sometimes itchanges!).Add command line option that scans devices then WRITES/etc/smartd.conf, perhaps as /etc/smartd.conf.output, just for devicesthat can be monitored.Packaging---------Under freebsd and solaris, the following are wrong:smartd.conf: has linux device pathssmart*.in : man pages have (mostly) linux device paths
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -