• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[gelöst] Externe ATA hängt am USB. Die auslesen.

Hallo!
Ich habe hier eine externe ATA Festplatte die am USB Bus hängt.
Die FP ist in einem Gehäuse in dem auch der ATA-USB Adapter (keine Ahnung wie das Ding heißt richtig) eingebaut ist.
Die FP hat eine Primäre Partition mit FAT32 und eine Erweiterte Partition.
Auf der Erweiterte sind 2 Partitionen, eine FAT32 und eine Ext4.

mount | grep -i sde
Code:
/dev/sde1 on /run/media/bbb/MAXTOR_FP type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
/dev/sde1 on /var/run/media/bbb/MAXTOR_FP type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro)
/dev/sde5 on /run/media/bbb/MAXTOR_2 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro,uhelper=udisks2)
/dev/sde5 on /var/run/media/bbb/MAXTOR_2 type vfat (rw,nosuid,nodev,relatime,uid=1000,gid=100,fmask=0022,dmask=0077,codepage=cp437,iocharset=iso8859-1,shortname=mixed,showexec,utf8,flush,errors=remount-ro)
/dev/sde6 on /run/media/bbb/MAXTOR_R type ext4 (rw,nosuid,nodev,relatime,data=ordered,uhelper=udisks2)
/dev/sde6 on /var/run/media/bbb/MAXTOR_R type ext4 (rw,nosuid,nodev,relatime,data=ordered)
Ich möchte die FP mit smartctl auslesen aber es klappt nicht.

Hat jemand eine Idee?


Hier meine Versuche;
smartctl -a /dev/sde1
Code:
smartctl 6.0 2012-10-10 r3643 [i686-linux-3.7.10-1.28-default] (SUSE RPM)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org

Vendor:               Maxtor 6
Product:              L160P0          
Revision:             BAJ4
User Capacity:        163.928.605.184 bytes [163 GB]
Logical block size:   512 bytes
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 /dev/sde1
Code:
smartctl 6.0 2012-10-10 r3643 [i686-linux-3.7.10-1.28-default] (SUSE RPM)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, http://www.smartmontools.org

Vendor:               Maxtor 6
Product:              L160P0          
Revision:             BAJ4
User Capacity:        163.928.605.184 bytes [163 GB]
Logical block size:   512 bytes
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.

Danke im Voraus für Eure Hilfe

Grüße Heinz-Peter
 
OP
Heinz-Peter
Sauerland schrieb:
Nur die Festplatte, keine Partitionen.
smartctl -a /dev/sde
Code:
smartctl 6.0 2012-10-10 r3643 [i686-linux-3.7.10-1.28-default] (SUSE RPM)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org

/dev/sde: Unsupported USB bridge [0x067b:0x3507 (0x100)]
Please specify device type with the -d option.

Use smartctl -h to get a usage summary
leider klappt nicht.
 
OP
Heinz-Peter
towo schrieb:
Und da steht auch, warum das nicht klappt.
Kannst etwas genauer?

Meinst das hier?
smartctl -d usbcypress /dev/sde
Code:
smartctl 6.0 2012-10-10 r3643 [i686-linux-3.7.10-1.28-default] (SUSE RPM)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, http://www.smartmontools.org

Read Device Identity failed: Unknown error

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

EDIT: Ich glaube mit smart geht das nicht, siehe Link1, http://kefk.org/blog/2010/09/23/smart_werte_ueber_usb_auslesen Link2 :?
 
OP
Heinz-Peter
lsusb -v -d 067b:0x3507 liefert die Ausgabe:
Code:
Bus 001 Device 009: ID 067b:3507 Prolific Technology, Inc. PL3507 ATAPI6 Bridge
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x067b Prolific Technology, Inc.
  idProduct          0x3507 PL3507 ATAPI6 Bridge
  bcdDevice            1.00
  iManufacturer           1 Prolific Technology Inc.
  iProduct                2 Mass Storage Device
  iSerial                 3 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk-Only
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0000
  (Bus Powered)
Ich habe dann die Seite besucht: http://sourceforge.net/apps/trac/smartmontools/wiki/USB

und versucht mit : smartctl -d usbjmicron,0 /dev/sde
Code:
smartctl 6.0 2012-10-10 r3643 [i686-linux-3.7.10-1.28-default] (SUSE RPM)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org

ATA device successfully opened

Use 'smartctl -a' (or '-x') to print SMART (and more) information

und mit: smartctl -d usbjmicron,0 -a /dev/sde
Code:
smartctl 6.0 2012-10-10 r3643 [i686-linux-3.7.10-1.28-default] (SUSE RPM)
Copyright (C) 2002-12, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error unsupported scsi opcode

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
leider ohne Erfolg. Hat jemand eine Idee?

Grüße Heinz-Peter
 
OP
Heinz-Peter
towo schrieb:
Ja, vergiss es einfach, SMART Daten von einem USB Device bekommen zu wollen, dafür ist SMART nicht gedacht.
Schade, ich mache auf der FP Backup und möchte gerne schon wissen wann soll ich wieder eine neue besorgen. Es bleibt also nur eins, die FP am Mainboard Port zu testen, Schade. :(
Ich markiere den Thread als gelöst, manche Sachen muss man akzeptieren.

Danke an Alle für die Hilfe!!!

Grüße Heinz-Peter
 

josef-wien

Ultimate Guru
... oder ein Gehäuse zulegen, dessen Protokollkonverter die entsprechenden Befehle unterstützt.

... oder einen Wechselrahmen einbauen, damit die Platte direkt angeschlossen werden kann.

towo schrieb:
dafür ist SMART nicht gedacht
Die Entwickler sind da anderer Ansicht. (Ich habe übrigens seit knapp einem Jahr zwei USB-Sticks, bei denen SMART-Auswertung und self-test funktionieren.)
 
Oben