Raspberry Pi 2 RASPBIAN Killing my drives?
Posted: Wed Mar 18, 2015 6:50 am
Raspberry Pi 2 RASPBIAN
Linux raspberrypi 3.18.9-v7+ #768 SMP PREEMPT Sun Mar 15 19:41:56 GMT 2015 armv7l GNU/Linux
Mar 16 2015 19:38:52
Copyright (c) 2012 Broadcom
version 51ab816b505d1b745130562908d866915c836056 (clean) (release)
I have two Intel SSD's that I wanted to set up external storage on using a Apricorn usb/sata adapter.
I used the same process of formatting and mounting for both drives.
1. Attached drive (RPI sees as sda in fdisk -l)
2. fdisk /dev/sda1, o, n, p, 1, d,d,d,c,w. (exits with no error).
3. mkfs.vfat /dev/sda1
4. vim /etc/fstab "/dev/sda1 /var/multimedia vfat users,umask=1000,rw,auto 0 0"
5. reboot
Upon rebooting I see an error that sda1 is not a block device in the logs.
And no SD* in fdisk -l.
Dmesg shows the drive connecting then disconnecting in a loop:
I plug Drive 1 into my Mac and it is mounted automatically.
In osx I re-partition the drive and reformat as exfat.
I Plug Drive 1 back in the RPI2 and get the sda connect/disconnect loop.
OK Maybe something is wrong with Drive 1.
Try Drive 2. Re-flash my SD card and repeat steps 1-5.
And get connect/disconnect loop with the new drive.
Now I am lost. The only thing I have not tried is using an 2nd SD card with another distro, which I am working on now.
Anyone experience anything similar?
Linux raspberrypi 3.18.9-v7+ #768 SMP PREEMPT Sun Mar 15 19:41:56 GMT 2015 armv7l GNU/Linux
Mar 16 2015 19:38:52
Copyright (c) 2012 Broadcom
version 51ab816b505d1b745130562908d866915c836056 (clean) (release)
I have two Intel SSD's that I wanted to set up external storage on using a Apricorn usb/sata adapter.
I used the same process of formatting and mounting for both drives.
1. Attached drive (RPI sees as sda in fdisk -l)
2. fdisk /dev/sda1, o, n, p, 1, d,d,d,c,w. (exits with no error).
3. mkfs.vfat /dev/sda1
4. vim /etc/fstab "/dev/sda1 /var/multimedia vfat users,umask=1000,rw,auto 0 0"
5. reboot
Upon rebooting I see an error that sda1 is not a block device in the logs.
And no SD* in fdisk -l.
Dmesg shows the drive connecting then disconnecting in a loop:
Code: Select all
root@raspberrypi:/home/pi# tail -f /var/log/messages
Mar 18 06:35:10 raspberrypi kernel: [ 1605.527364] sd 331:0:0:0: [sda] Sense not available.
Mar 18 06:35:10 raspberrypi kernel: [ 1605.527540] sd 331:0:0:0: [sda] Attached SCSI disk
Mar 18 06:35:13 raspberrypi kernel: [ 1608.476186] usb 1-1.4: new high-speed USB device number 94 using dwc_otg
Mar 18 06:35:13 raspberrypi kernel: [ 1608.577343] usb 1-1.4: New USB device found, idVendor=0984, idProduct=0040
Mar 18 06:35:13 raspberrypi kernel: [ 1608.577372] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Mar 18 06:35:13 raspberrypi kernel: [ 1608.577391] usb 1-1.4: Product: SATAWire
Mar 18 06:35:13 raspberrypi kernel: [ 1608.577408] usb 1-1.4: Manufacturer: Apricorn
Mar 18 06:35:13 raspberrypi kernel: [ 1608.577426] usb 1-1.4: SerialNumber: 4356504F3030333230305750
Mar 18 06:35:13 raspberrypi kernel: [ 1608.578533] usb-storage 1-1.4:1.0: USB Mass Storage device detected
Mar 18 06:35:13 raspberrypi kernel: [ 1608.579022] scsi host332: usb-storage 1-1.4:1.0
Mar 18 06:35:14 raspberrypi kernel: [ 1609.576982] scsi 332:0:0:0: Direct-Access Apricorn SATAWire 1.08 PQ: 0 ANSI: 4
Mar 18 06:35:14 raspberrypi kernel: [ 1609.578285] sd 332:0:0:0: Attached scsi generic sg0 type 0
Mar 18 06:35:14 raspberrypi kernel: [ 1609.578661] sd 332:0:0:0: [sda] 312581808 512-byte logical blocks: (160 GB/149 GiB)
Mar 18 06:35:14 raspberrypi kernel: [ 1609.579195] sd 332:0:0:0: [sda] Write Protect is off
Mar 18 06:35:14 raspberrypi kernel: [ 1609.597402] usb 1-1.4: USB disconnect, device number 94
Mar 18 06:35:14 raspberrypi kernel: [ 1609.616162] sd 332:0:0:0: [sda]
Mar 18 06:35:14 raspberrypi kernel: [ 1609.616192] Result: hostbyte=0x01 driverbyte=0x00
Mar 18 06:35:14 raspberrypi kernel: [ 1609.616210] sd 332:0:0:0: [sda] CDB:
Mar 18 06:35:14 raspberrypi kernel: [ 1609.616223] cdb[0]=0x28: 28 00 00 00 00 08 00 00 08 00
Mar 18 06:35:14 raspberrypi kernel: [ 1609.616479] sda: unknown partition table
Mar 18 06:35:14 raspberrypi kernel: [ 1609.617481] sd 332:0:0:0: [sda] READ CAPACITY failed
Mar 18 06:35:14 raspberrypi kernel: [ 1609.617508] sd 332:0:0:0: [sda]
Mar 18 06:35:14 raspberrypi kernel: [ 1609.617523] Result: hostbyte=0x01 driverbyte=0x00
Mar 18 06:35:14 raspberrypi kernel: [ 1609.617539] sd 332:0:0:0: [sda] Sense not available.
Mar 18 06:35:14 raspberrypi kernel: [ 1609.617738] sd 332:0:0:0: [sda] Attached SCSI disk
In osx I re-partition the drive and reformat as exfat.
I Plug Drive 1 back in the RPI2 and get the sda connect/disconnect loop.
OK Maybe something is wrong with Drive 1.
Try Drive 2. Re-flash my SD card and repeat steps 1-5.
And get connect/disconnect loop with the new drive.
Now I am lost. The only thing I have not tried is using an 2nd SD card with another distro, which I am working on now.
Anyone experience anything similar?