Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 3869

Beginners • Can't blacklist Seagate drives for use w/ SmartMon

$
0
0
So, first of, thanks for the help. I had this exact setup working fine on my Pi4 and SmartMon worked fine. Bought a Pi5 and am transferring over my external Seagate drives and it doesn't see them. Here is some output to help. I know just enough to be dangerous so I appreciate any help and time anyone could lend.

Regular SMART output

Code:

sudo smartctl --health -d sat /dev/sdasmartctl 7.3 2022-02-28 r5338 [aarch64-linux-6.1.0-rpi8-rpi-2712] (local build)Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.orgRead Device Identity failed: scsi error unsupported field in scsi commandIf this is a USB connected device, look at the various --device=TYPE variantsA mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
SMART output w/ permissive option

Code:

pi@raspberrypi5:~ $ sudo smartctl --health -d sat /dev/sda -T permissivesmartctl 7.3 2022-02-28 r5338 [aarch64-linux-6.1.0-rpi8-rpi-2712] (local build)Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.orgRead Device Identity failed: scsi error unsupported field in scsi commandIf this is a USB connected device, look at the various --device=TYPE variantsSMART support is: Ambiguous - ATA IDENTIFY DEVICE words 82-83 don't show if SMART supported.SMART support is: Ambiguous - ATA IDENTIFY DEVICE words 85-87 don't show if SMART is enabled.A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.
lsusb output. The top 4 seagate drives are what I'm trying to monitor

Code:

pi@raspberrypi5:~ $ lsusbBus 004 Device 006: ID 0bc2:2344 Seagate RSS LLC PortableBus 004 Device 005: ID 0bc2:2344 Seagate RSS LLC PortableBus 004 Device 004: ID 0bc2:2344 Seagate RSS LLC PortableBus 004 Device 007: ID 0bc2:2344 Seagate RSS LLC PortableBus 004 Device 003: ID 045b:0210 Hitachi, LtdBus 004 Device 002: ID 045b:0210 Hitachi, LtdBus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 003 Device 003: ID 045b:0209 Hitachi, LtdBus 003 Device 002: ID 045b:0209 Hitachi, LtdBus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hubBus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubBus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
What I've tried:

Added quirks to the following file. Tried with and without the "u" on the end of the string. I then ran

Code:

sudo update-initramfs -u
and rebooted.

Code:

pi@raspberrypi5:/etc/modprobe.d $ cat usb-storage-quirks.configoptions usb-storage quirks=0bc2:2344:
I have also tried added the following to the /boot/firmware/cmdline.txt with a reboot following. This resulted in a no boot situation. I had to fix the cmdline.txt by mounting the filesystem on my mac and deleting the line. Booted fine after that. Note that the /boot/cmdline.txt seems to be deprecated.

Code:

usb-storage.quirks=0bc2:2344:u
After a reboot w/ the cmdline.txt empty and the usb-storage-quirks.config populated, this is the result of dmesg. Seeming it just ignores the quirks.

Code:

pi@raspberrypi5:/etc/modprobe.d $ dmesg | grep usb-storage[    0.372084] usbcore: registered new interface driver usb-storage
OS info:

Code:

pi@raspberrypi5:/etc/modprobe.d $ cat /etc/os-releasePRETTY_NAME="Debian GNU/Linux 12 (bookworm)"NAME="Debian GNU/Linux"VERSION_ID="12"VERSION="12 (bookworm)"VERSION_CODENAME=bookwormID=debianHOME_URL="https://www.debian.org/"SUPPORT_URL="https://www.debian.org/support"BUG_REPORT_URL="https://bugs.debian.org/"

Statistics: Posted by m3master — Sun Mar 03, 2024 5:12 pm



Viewing all articles
Browse latest Browse all 3869

Trending Articles