I try to connect a harddrive via a SATA to USB3 adapter to my raspberry (The adapter is externally powered, so there cannot be a power problem).
The adapter gets detected and shows up under /dev/sda
but there is no /dev/sda1
(There is one partition on the drive).
Following you see some commands and their output:
Before connecting:
root@raspberrypi:~# lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Afer connecting:
root@raspberrypi:~# lsusb
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 007: ID 174c:55aa ASMedia Technology Inc.
New log messages after connecting:
root@raspberrypi:~# tail -f /var/log/messages
Jun 9 22:48:24 raspberrypi kernel: [ 1551.505821] usb 1-1.3: new high-speed USB device number 9 using dwc_otg
Jun 9 22:48:25 raspberrypi kernel: [ 1552.447820] usb 1-1.3: New USB device found, idVendor=174c, idProduct=55aa
Jun 9 22:48:25 raspberrypi kernel: [ 1552.447858] usb 1-1.3: New USB device strings: Mfr=2, Product=3, SerialNumber=1
Jun 9 22:48:25 raspberrypi kernel: [ 1552.447881] usb 1-1.3: Product: ASMT1051
Jun 9 22:48:25 raspberrypi kernel: [ 1552.447898] usb 1-1.3: Manufacturer: asmedia
Jun 9 22:48:25 raspberrypi kernel: [ 1552.447915] usb 1-1.3: SerialNumber: 123456789012
Jun 9 22:48:25 raspberrypi kernel: [ 1552.459682] usb-storage 1-1.3:1.0: USB Mass Storage device detected
Jun 9 22:48:25 raspberrypi kernel: [ 1552.460159] usb-storage 1-1.3:1.0: Quirks match for vid 174c pid 55aa: 400000
Jun 9 22:48:25 raspberrypi kernel: [ 1552.462992] scsi host5: usb-storage 1-1.3:1.0
Jun 9 22:48:26 raspberrypi kernel: [ 1553.457014] scsi 5:0:0:0: Direct-Access ASMT 2105 0 PQ: 0 ANSI: 6
Jun 9 22:48:26 raspberrypi kernel: [ 1553.461797] sd 5:0:0:0: [sda] Attached SCSI removable disk
Jun 9 22:48:26 raspberrypi kernel: [ 1553.462393] sd 5:0:0:0: Attached scsi generic sg0 type 0
With the adapter connected:
root@raspberrypi:~# ls -l /dev/sd*
brw-rw---T 1 root floppy 8, 0 Jun 9 22:48 /dev/sda
root@raspberrypi:~# parted /dev/sda
Error: Error opening /dev/sda: No medium found
Retry/Cancel?
The same adapter connected to my pc:
:~> sudo parted /dev/sdb print
Model: ASMT 2105 (scsi)
Disk /dev/sdb: 320GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 320GB 320GB primary ntfs boot, type=07
I have Openmediavault(based on debian) installed.
What could be wrong? What can I do to get maybe more information or even get it running?
EDIT:
I want to add, that the HDD is not even spinning.
EDIT 2:
As requested in one of the comments here are the kernel versions of the Raspberry Pi and my PC.
Raspberrypi:
root@raspberrypi:~# uname -a
Linux raspberrypi 4.1.19+ #858 Tue Mar 15 15:52:03 GMT 2016 armv6l GNU/Linux
My PC:
:~> uname -a
Linux linux-l5eu 4.1.21-14-default #1 SMP PREEMPT Sun Apr 17 07:27:45 UTC 2016 (fc187c1) x86_64 x86_64 x86_64 GNU/Linux
So both shouldn't be too old, right?
And I have the Raspberry Pi model B(compare here):
root@raspberrypi:~# cat /proc/cpuinfo | grep "Revision"
Revision : 0002