mirror of
https://github.com/007revad/Synology_SMART_info.git
synced 2026-04-25 08:05:48 +03:00
[GH-ISSUE #7] Is it possible to support USB external HDD? #1
Labels
No labels
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/Synology_SMART_info#1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @timmyhbk on GitHub (Jul 20, 2024).
Original GitHub issue: https://github.com/007revad/Synology_SMART_info/issues/7
Is there any chance that the script will be able to support USB external HDD? I originally used
smartctl -a -d sat /dev/usb1to check. But it seems to be not working in the new version of DSM.Thanks!
@007revad commented on GitHub (Jul 21, 2024):
For the USB drives I previously tried smartctl didn't work. These were:
I just checked my script and I already included support for USB drives, I disabled for some reason. Lines 474 to 478 are commented out. I just removed the # in front of those lines and tested with I just an old 2.5 inch Samsung S2 Portable 3 drive and smartctl worked. I also tried connecting the cable from the USB drive to an unpowered USB hub and the drive didn't even power up.
The only issue is it shows as the same Drive number of the previous drive, instead of showing as USB 1. That should an easy fix.
I also need to figure how to avoid USB flash drives as they just cause 6 lines of error messages.
@timmyhbk commented on GitHub (Jul 21, 2024):
I also removed the comments from scripts 474 through 478.
I found that only the external HDD that I am mainly using (Seagate Expansion HDD) are not displayed. A few other external SSDs/HDDs did display correctly.
It seems to be a problem with my device, thank you.