From: Robert Heller on 12 Feb 2010 22:14 At Fri, 12 Feb 2010 23:16:16 +0100 J G Miller <miller(a)yoyo.ORG> wrote: > > On Fri, 12 Feb 2010 21:58:42 +0000, Harold Johanssen wrote: > > > Actually, I have no clue. > > You should be able to get a clue from the dmesg output when > you connect your drive to the USB cable. > > For example -- > > [ 9.995550] usb-storage: device scan complete > [ 10.024553] scsi 6:0:0:0: Direct-Access WD 10EAVS > External 1.75 PQ: 0 ANSI: 4 > [ 10.025467] sd 6:0:0:0: Attached scsi generic sg5 type 0 > > You can then do a Web Search on any model number which is reported > to try and get more information about the drive. > > > This is what I get: > > Okay, fair enough. That does seem to indicate that your drive does > not have the capablities needed for hdparm to work. > > > /dev/sde: > > SG_IO: bad/missing ATA_16 sense data:: > > I would be a little bit worried about that line. > > Does your drive have SMART capabilities? > > Does smartctl -H /dev/sde give any meaningful information? It is unlikely that SMART works with *USB* drives. The typical USB <=> ATA (PATA or SATA) interface does NOT pass through things like SMART -- I have a 2.5" SATA disk w/ a USB enclosure. The disk had some sector read errors and smartcrl -a gave me nothing. When I pulled the drive from he USB enclosure and put in a 2.5" SATA hot-swap bay, smartctl gave the usual information. -- Robert Heller -- 978-544-6933 Deepwoods Software -- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows heller(a)deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/
From: Robert Nichols on 13 Feb 2010 10:55 In article <QfWdnTrmZNeHhOvWnZ2dnUVZ_oednZ2d(a)posted.localnet>, Robert Heller <heller(a)deepsoft.com> wrote: :At Fri, 12 Feb 2010 23:16:16 +0100 J G Miller <miller(a)yoyo.ORG> wrote: : :> :> On Fri, 12 Feb 2010 21:58:42 +0000, Harold Johanssen wrote: :> :> > Actually, I have no clue. :> :> You should be able to get a clue from the dmesg output when :> you connect your drive to the USB cable. :> :> For example -- :> :> [ 9.995550] usb-storage: device scan complete :> [ 10.024553] scsi 6:0:0:0: Direct-Access WD 10EAVS :> External 1.75 PQ: 0 ANSI: 4 :> [ 10.025467] sd 6:0:0:0: Attached scsi generic sg5 type 0 :> :> You can then do a Web Search on any model number which is reported :> to try and get more information about the drive. :> :> > This is what I get: :> :> Okay, fair enough. That does seem to indicate that your drive does :> not have the capablities needed for hdparm to work. :> :> > /dev/sde: :> > SG_IO: bad/missing ATA_16 sense data:: :> :> I would be a little bit worried about that line. :> :> Does your drive have SMART capabilities? :> :> Does smartctl -H /dev/sde give any meaningful information? : :It is unlikely that SMART works with *USB* drives. The typical USB <=> :ATA (PATA or SATA) interface does NOT pass through things like SMART -- That depends on the USB<=>ATA bridge chip and the version of smartctl. Recent versons of smartctl can detect and use quite a few different bridge chips to pass the needed commands to the drive. You can run smartctl with the "-d help" option to get a list of the interfaces it supports. Some enclosures I bought recently (Acomdata Tango) for 2.5" SATA drives work just fine with smartctl version 5.39 ("Device type of 'usbsunplus' [ATA] detected"), though not with version 5.38. Those enclosures also provide an eSATA interface, but smartctl 5.39 will work with either the USB or eSATA connection. -- Bob Nichols AT comcast.net I am "RNichols42"
From: J G Miller on 13 Feb 2010 14:00 On Sat, 13 Feb 2010 09:55:05 -0600, Robert Nichols wrote: > In article <QfWdnTrmZNeHhOvWnZ2dnUVZ_oednZ2d(a)posted.localnet>, Robert > Heller <heller(a)deepsoft.com> wrote: :At Fri, 12 Feb 2010 23:16:16 +0100 > J G Miller <miller(a)yoyo.ORG> wrote: : > :> Does smartctl -H /dev/sde give any meaningful information? : > :It is unlikely that SMART works with *USB* drives. The typical USB <=> > :ATA (PATA or SATA) interface does NOT pass through things like SMART -- > > That depends on the USB<=>ATA bridge chip and the version of smartctl. Thanks for the further clarification. Because when I try to use smartctl with the aforementioned USB disk, I do get some response -- smartctl -H /dev/sdd smartctl version 5.38 [i686-pc-linux-gnu] Copyright (C) 2002-8 Bruce Allen Home page is http://smartmontools.sourceforge.net/ SMART Health Status: OK but other command line flag tests result in Terminate command early due to bad response to IEC mode page
From: Robert Heller on 13 Feb 2010 16:38 At Sat, 13 Feb 2010 20:00:19 +0100 J G Miller <miller(a)yoyo.ORG> wrote: > > On Sat, 13 Feb 2010 09:55:05 -0600, Robert Nichols wrote: > > > In article <QfWdnTrmZNeHhOvWnZ2dnUVZ_oednZ2d(a)posted.localnet>, Robert > > Heller <heller(a)deepsoft.com> wrote: :At Fri, 12 Feb 2010 23:16:16 +0100 > > J G Miller <miller(a)yoyo.ORG> wrote: : > > :> Does smartctl -H /dev/sde give any meaningful information? : > > :It is unlikely that SMART works with *USB* drives. The typical USB <=> > > :ATA (PATA or SATA) interface does NOT pass through things like SMART -- > > > > That depends on the USB<=>ATA bridge chip and the version of smartctl. > > Thanks for the further clarification. > > Because when I try to use smartctl with the aforementioned USB disk, > I do get some response -- > > smartctl -H /dev/sdd > > smartctl version 5.38 [i686-pc-linux-gnu] > Copyright (C) 2002-8 Bruce Allen > Home page is http://smartmontools.sourceforge.net/ > > SMART Health Status: OK > > but other command line flag tests result in > > Terminate command early due to bad response to IEC mode page What does 'smarctl -a /dev/sdd' give you? The '-a' option should be drive techology netural, that is it, like -H, is not specific to SCSI or ATA disks and should display all basic info available, depending on the type of drive and what info it has available. > -- Robert Heller -- 978-544-6933 Deepwoods Software -- Download the Model Railroad System http://www.deepsoft.com/ -- Binaries for Linux and MS-Windows heller(a)deepsoft.com -- http://www.deepsoft.com/ModelRailroadSystem/
From: J G Miller on 13 Feb 2010 17:04
On Sat, 13 Feb 2010 15:38:27 -0600, Robert Heller asked: > What does 'smarctl -a /dev/sdd' give you? Sadly, not very much, but it does give details of two features which are not supported. smartctl -a /dev/sdd Device: WD 10EAVS External Version: 1.75 scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0 >> Terminate command early due to bad response to IEC mode page A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options. smartctl -a -T verypermissive /dev/sdd Device: WD 10EAVS External Version: 1.75 scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0 >> Terminate command early due to bad response to IEC mode page Error Counter logging not supported scsiModePageOffset: response length too short, resp_len=4 offset=4 bd_len=0 Device does not support Self Test logging |