Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SMART & hdparm problems on sata
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Fri Nov 05, 2004 4:23 pm    Post subject: SMART & hdparm problems on sata Reply with quote

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
View user's profile Send private message
JefPober
n00b
n00b


Joined: 12 Apr 2004
Posts: 44

PostPosted: Fri Nov 05, 2004 4:52 pm    Post subject: Reply with quote

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
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Fri Nov 05, 2004 5:47 pm    Post subject: Reply with quote

ah... so I cannot do anything to monitor my HD?
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
flah
n00b
n00b


Joined: 06 Nov 2004
Posts: 3

PostPosted: Sat Nov 06, 2004 4:00 am    Post subject: Reply with quote

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
View user's profile Send private message
lavish
Bodhisattva
Bodhisattva


Joined: 13 Sep 2004
Posts: 4296

PostPosted: Sat Nov 06, 2004 5:25 am    Post subject: Reply with quote

Thx! It's more clear now ;)
_________________
minimalblue.com | secgroup.github.io/
Back to top
View user's profile Send private message
pinguozz
n00b
n00b


Joined: 07 Oct 2005
Posts: 1

PostPosted: Fri Oct 07, 2005 2:27 pm    Post subject: scsi tools Reply with quote

Anyway I remember toolkit to monitor scsi disk or raids, but i have lost the name.... ;-)
Back to top
View user's profile Send private message
sfragis
Tux's lil' helper
Tux's lil' helper


Joined: 24 Mar 2005
Posts: 95
Location: RE < IT < Europe

PostPosted: Sat Oct 08, 2005 9:39 am    Post subject: Reply with quote

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
View user's profile Send private message
crazycat
l33t
l33t


Joined: 26 Aug 2003
Posts: 838
Location: Hamburg, Germany

PostPosted: Sat Oct 08, 2005 5:59 pm    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum