0

My SD card died a few months ago and I didn't have a spare so i just installed & booted from a USB drive.

However since then I've noticed that the Raspberry Pi freezes every 24-48 hours requiring a hard reset.

I set up the watchdog service to fix in the meantime but I'd really like to get this solved correctly.

I noticed in the logs what appear to be read errors (but I can't be certain this is truly related):

[2022-10-07T01:46:54,575] <db-server> INFO  db     - 2022-10-07T01:46:54.575+0000 E STORAGE  [initandlisten] WiredTiger error (-31802) [1665107214:575223][46269:0xffffb0908960], file:WiredTiger.wt, WT_CURSOR.insert: __wt_block_read_off, 302: WiredTiger.wt: fatal read error: WT_ERROR: non-specific WiredTiger error Raw: [1665107214:575223][46269:0xffffb0908960], file:WiredTiger.wt, WT_CURSOR.insert: __wt_block_read_off, 302: WiredTiger.wt: fatal read error: WT_ERROR: non-specific WiredTiger error

Useful info:

ubuntu@raspberrypi:~$ uname -a
Linux raspberrypi 5.15.0-1017-raspi #19-Ubuntu SMP PREEMPT Fri Oct 14 08:22:47 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

ubuntu@raspberrypi:~$ apt policy rpi-eeprom 
rpi-eeprom:
  Installed: 13.12-1ubuntu1
  Candidate: 13.12-1ubuntu1
  Version table:
 *** 13.12-1ubuntu1 500
        500 http://ports.ubuntu.com/ubuntu-ports jammy/main arm64 Packages
        100 /var/lib/dpkg/status

ubuntu@raspberrypi:~$ lsusb
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 1058:2620 Western Digital Technologies, Inc. Elements 2620
Bus 001 Device 003: ID 0bc2:ab24 Seagate RSS LLC Backup Plus Portable Drive
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

ubuntu@raspberrypi:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINTS
loop0    7:0    0    59M  1 loop /snap/core20/1627
loop1    7:1    0    59M  1 loop /snap/core20/1699
loop2    7:2    0  71.8M  1 loop /snap/lxd/22927
loop3    7:3    0   102M  1 loop /snap/lxd/23545
loop4    7:4    0  41.5M  1 loop /snap/snapd/17339
loop5    7:5    0    43M  1 loop /snap/snapd/17579
sda      8:0    0 223.6G  0 disk 
├─sda1   8:1    0   256M  0 part /boot/firmware
└─sda2   8:2    0 223.3G  0 part /
sdb      8:16   0   4.5T  0 disk /mnt/drive1

ubuntu@raspberrypi:~$ sudo smartctl -i /dev/sda
smartctl 7.2 2020-12-30 r5155 [aarch64-linux-5.15.0-1017-raspi] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error unsupported field in scsi command

A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
ubuntu@raspberrypi:~$ sudo smartctl -i /dev/sdb
smartctl 7.2 2020-12-30 r5155 [aarch64-linux-5.15.0-1017-raspi] (local build)
Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Western Digital Elements / My Passport (USB, AF)
Device Model:     WDC WD50NDZW-11A8JS1
Serial Number:    WD-WXQ2E607ZV13
LU WWN Device Id: 5 0014ee 2bdf477e7
Firmware Version: 01.01A01
User Capacity:    5,000,947,523,584 bytes [5.00 TB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    5400 rpm
Form Factor:      2.5 inches
TRIM Command:     Available, deterministic
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ACS-3 T13/2161-D revision 5
SATA Version is:  SATA 3.1, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:    Fri Nov 18 18:54:03 2022 UTC
SMART support is: Available - device has SMART capability.
SMART support is: Enabled

I have 2x external disks connected, one is the WDC WD50NDZW-11A8JS1 mentioned above, the other is a Sandisk SDSSDA-240G inside the Seagate RSS LLC Backup Plus Portable Drive case (original drive died and was shucked). the WDC drive is connected with additional power using this: https://www.amazon.com/gp/product/B00ZUE6PVE/ref=ppx_yo_dt_b_search_asin_title?ie=UTF8&psc=1

Recently I ran sudo apt-get install rpi-eeprom && sudo rpi-eeprom-update -a in order to fix this and now I'm in a worse position than i was before.

  1. the drive won't boot from the usb3 ports anymore at all
  2. the wdc drive randomly doesn't show up on reboot
  3. afaics no drives can be connected to the usb3 ports at all

In the end i can get a new SD card but I'm on a mission to not buy any more storage since i already have way too many USB drives & external HDDs.

Plus this seems like something that could be fixed.

Any input appreciated.

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.