From: Justin P. <jp...@lu...> - 2007-06-12 14:09:04
|
On Tue, 12 Jun 2007, Adam Funk wrote: > I just did an Ubuntu upgrade from edgy to feisty and now I can't get > smartctl or most of the output from smartd to work any more; the > smartmontools version changed from 5.36-6ubuntu2 to 5.36-8ubuntu2, > which sounds like a small difference to me. ;-) > > I've tried various commands to enable SMART. > > These fail with the "unsupported field in scsi command" error, as I'd > expect for a SATA drive: > > $ sudo smartctl -s on /dev/sda > $ sudo smartctl -s on -F samsung /dev/sda > $ sudo smartctl -s on -F samsung2 /dev/sda > > These sometimes fail with "A mandatory SMART command failed: > exiting. To continue, add one or more '-T permissive' options." but > sometimes they say "SMART Enabled." but I don't think they mean it. > The first one is the one that used to work: > > $ sudo smartctl -s on -d ata /dev/sda > $ sudo smartctl -s on -d ata -F samsung /dev/sda > $ sudo smartctl -s on -d ata -F samsung2 /dev/sda > > Adding -T permissive doesn't seem to make any difference. > > > This is a typical bit of `grep smartd /var/log/syslog` now: > > Jun 12 11:33:06 bunsen smartd[950]: Device: /dev/sda, not capable of SMART self-check > Jun 12 12:03:06 bunsen smartd[950]: Device: /dev/sda, not capable of SMART self-check > Jun 12 12:33:06 bunsen smartd[950]: Device: /dev/sda, not capable of SMART self-check > Jun 12 13:03:07 bunsen smartd[950]: Device: /dev/sda, not capable of SMART self-check > Jun 12 13:33:06 bunsen smartd[950]: Device: /dev/sda, not capable of SMART self-check > Jun 12 14:03:06 bunsen smartd[950]: Device: /dev/sda, not capable of SMART self-check > Jun 12 14:03:06 bunsen smartd[950]: Device: /dev/sda, SMART Usage Attribute: 190 Unknown_Attribute changed from 154 [Raw 28] to 151 [Raw 29] > Jun 12 14:03:06 bunsen smartd[950]: Device: /dev/sda, SMART Usage Attribute: 194 Temperature_Celsius changed from 154 [Raw 28] to 151 [Raw 29] > Jun 12 14:33:06 bunsen smartd[950]: Device: /dev/sda, not capable of SMART self-check > > I'm still using this line in /etc/smartd.conf: > > /dev/sda -a -d ata -R 194 -R 190 > > > > I'd be grateful for any ideas on how to get this working again. > > Thanks, > Adam > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by DB2 Express > Download DB2 Express C - the FREE version of DB2 express and take > control of your XML. No limits. Just data. Click to get it now. > http://sourceforge.net/powerbar/db2/ > _______________________________________________ > Smartmontools-support mailing list > Sma...@li... > https://lists.sourceforge.net/lists/listinfo/smartmontools-support > What kernel? You need 2.6.15 or higher for SMART pass-thru over SATA. Justin. |