I use my RaspberryPI 3B+ with the system installed on USB storage sticks (no SD card at all). Raspbian is installed in server mode, with Apache, MySQL, FTP, ... I use it mainly as web server with an RSS feed reader (similar to Tiny Tiny RSS) and as webcast player.
One month ago, the USB stick I was using from about one year suddenly stopped working. Apache was still running but replied with errors, and the HDMI output showed nothing (no prompt).
I tested the USB stick in a computer, and the device appeared as an empty storage container (no usable space, Windows sees it as "Removable" with "No media"). I concluded the USB stick was dead, at started a fresh install on another USB key (Intenso USB2 8GB).
But now, one month later, the new stik is also dead, with the same symptoms.
fdisk -l
does not show the disk. Same for df
.
lsusb
sees it though.
How can I try and find out more about the cause?
Addition of Goldilocks' suggested commands' results:
gwen@gwen-VirtualBox:~/Bureau$ sudo dd if=~/MBR.img of=/dev/sdb dd: impossible d'ouvrir '/dev/sdb': Aucun support trouvé gwen@gwen-VirtualBox:~/Bureau$ tail -n 50 /var/log/syslog ... May 15 18:49:07 gwen-VirtualBox kernel: [63155.293199] usb 1-2: new full-speed USB device number 20 using ohci-pci May 15 18:49:08 gwen-VirtualBox kernel: [63156.436565] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x81 has invalid maxpacket 512, setting to 64 May 15 18:49:08 gwen-VirtualBox kernel: [63156.436568] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x2 has invalid maxpacket 512, setting to 64 May 15 18:49:08 gwen-VirtualBox kernel: [63156.454264] usb 1-2: New USB device found, idVendor=090c, idProduct=3000, bcdDevice= 1.00 May 15 18:49:08 gwen-VirtualBox kernel: [63156.454267] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 May 15 18:49:08 gwen-VirtualBox kernel: [63156.454268] usb 1-2: Product: SM3255AA MEMORY BAR May 15 18:49:08 gwen-VirtualBox kernel: [63156.454269] usb 1-2: Manufacturer: Silicon Motion,Inc. May 15 18:49:08 gwen-VirtualBox kernel: [63156.459052] usb-storage 1-2:1.0: USB Mass Storage device detected May 15 18:49:08 gwen-VirtualBox kernel: [63156.459554] scsi host3: usb-storage 1-2:1.0 May 15 18:49:09 gwen-VirtualBox mtp-probe: checking bus 1, device 20: "/sys/devices/pci0000:00/0000:00:06.0/usb1/1-2" May 15 18:49:09 gwen-VirtualBox mtp-probe: bus: 1, device: 20 was not an MTP device May 15 18:49:09 gwen-VirtualBox upowerd[1133]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:06.0/usb1/1-2/1-2:1.0 May 15 18:49:09 gwen-VirtualBox upowerd[1133]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:06.0/usb1/1-2 May 15 18:49:09 gwen-VirtualBox kernel: [63157.496855] scsi 3:0:0:0: Direct-Access USB MEMORY BAR 1000 PQ: 0 ANSI: 0 CCS May 15 18:49:09 gwen-VirtualBox kernel: [63157.500254] sd 3:0:0:0: Attached scsi generic sg2 type 0 May 15 18:49:09 gwen-VirtualBox kernel: [63157.550989] sd 3:0:0:0: [sdb] Attached SCSI removable disk May 15 18:51:10 gwen-VirtualBox kernel: [63277.664604] usb 1-2: reset full-speed USB device number 20 using ohci-pci gwen@gwen-VirtualBox:~/Bureau$ dmesg | tail -n 50 ... [63155.293199] usb 1-2: new full-speed USB device number 20 using ohci-pci [63156.436565] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x81 has invalid maxpacket 512, setting to 64 [63156.436568] usb 1-2: config 1 interface 0 altsetting 0 endpoint 0x2 has invalid maxpacket 512, setting to 64 [63156.454264] usb 1-2: New USB device found, idVendor=090c, idProduct=3000, bcdDevice= 1.00 [63156.454267] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0 [63156.454268] usb 1-2: Product: SM3255AA MEMORY BAR [63156.454269] usb 1-2: Manufacturer: Silicon Motion,Inc. [63156.459052] usb-storage 1-2:1.0: USB Mass Storage device detected [63156.459554] scsi host3: usb-storage 1-2:1.0 [63157.496855] scsi 3:0:0:0: Direct-Access USB MEMORY BAR 1000 PQ: 0 ANSI: 0 CCS [63157.500254] sd 3:0:0:0: Attached scsi generic sg2 type 0 [63157.550989] sd 3:0:0:0: [sdb] Attached SCSI removable disk [63277.664604] usb 1-2: reset full-speed USB device number 20 using ohci-pci