View previous topic :: View next topic |
Author |
Message |
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
Posted: Fri Nov 05, 2004 4:23 pm Post subject: SMART & hdparm problems on sata |
|
|
Hi all!
I've not clear enough a point...
sda is my sata drive... look:
Code: |
darkstar lavish # hdparm -I /dev/sda
/dev/sda:
HDIO_DRIVE_CMD(identify) failed: Operation not supported
|
Code: | darkstar lavish # hddtemp /dev/sda
/dev/sda: ATA Maxtor 6Y080M0 : /dev/sda: ATA Maxtor 6Y080M0 : S.M.A.R.T. not available
|
Can anyone tell me why and how (if possible) fix this problem?
However, everything is working fine to me, and both hdparm -I /dev/hda and hddtemp /dev/hda have a correct output
Thanks in advance _________________ minimalblue.com | secgroup.github.io/ |
|
Back to top |
|
|
JefPober n00b
Joined: 12 Apr 2004 Posts: 44
|
Posted: Fri Nov 05, 2004 4:52 pm Post subject: |
|
|
because SATA works via the SCSI interface in the kernel (devicename: /dev/sd*) you are unable to hdparm a SATA+drive, or so I was told |
|
Back to top |
|
|
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
|
Back to top |
|
|
flah n00b
Joined: 06 Nov 2004 Posts: 3
|
Posted: Sat Nov 06, 2004 4:00 am Post subject: |
|
|
This is the message I got from smartctl when I tried it with my sata disks:
-----------
smartctl version 5.33 [x86_64-pc-linux-gnu] Copyright (C) 2002-4 Bruce Allen
Home page is http://smartmontools.sourceforge.net/
SATA disks accessed via libata are not currently supported by
smartmontools. When libata is given an ATA pass-thru ioctl() then an
additional '-d libata' device type will be added to smartmontools.
-----------
So I suspect that we'll have to wait until (if) libata gets support for this stuff. |
|
Back to top |
|
|
lavish Bodhisattva
Joined: 13 Sep 2004 Posts: 4296
|
|
Back to top |
|
|
pinguozz n00b
Joined: 07 Oct 2005 Posts: 1
|
Posted: Fri Oct 07, 2005 2:27 pm Post subject: scsi tools |
|
|
Anyway I remember toolkit to monitor scsi disk or raids, but i have lost the name.... |
|
Back to top |
|
|
sfragis Tux's lil' helper
Joined: 24 Mar 2005 Posts: 95 Location: RE < IT < Europe
|
Posted: Sat Oct 08, 2005 9:39 am Post subject: |
|
|
If you need to test devices then hdparm -tT /dev/sdX is still useful (even if it ends up with a "HDIO_DRIVE_CMD(null) (wait for flush complete) failed: Inappropriate ioctl for device").
Maybe what you need is sdparm: http://sg.torque.net/sg/sdparm.html. |
|
Back to top |
|
|
crazycat l33t
Joined: 26 Aug 2003 Posts: 838 Location: Hamburg, Germany
|
Posted: Sat Oct 08, 2005 5:59 pm Post subject: |
|
|
sdparm wont show anything, cause sata are not completely scsi , you just need latest libata patches. Check the nitro thread in "unsupportet software" forum , I saw someone talking about that there. |
|
Back to top |
|
|
|