Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatic "re-read data" when it fails to read smart info of USB external disks. #50

Open
HubKing opened this issue Jul 13, 2023 · 1 comment
Assignees
Labels
enhancement New feature or request needs info Needs more information

Comments

@HubKing
Copy link

HubKing commented Jul 13, 2023

Version and Environment

  • GSmartControl version: [Are you using the latest released version or git?] 1.1.4
  • OS: [e.g. openSUSE Linux 15.4] Manjaro

Is your feature request related to a problem? Please describe.
If I leave a USB external WD disk attached for a while and then try to see its smart info, it shows a message box saying that it is getting the info, and then it fails and show the following:

image

If I click the left button, it says

smartctl 7.3 2022-02-28 r5338 [x86_64-linux-6.1.31-2-MANJARO] (local build)
Copyright (C) 2002-22, Bruce Allen, Christian Franke, www.smartmontools.org

Read Device Identity failed: scsi error device will be ready soon

If this is a USB connected device, look at the various --device=TYPE variants
A mandatory SMART command failed: exiting. To continue, add one or more '-T permissive' options.

It only works if I right-click the drive and select "re-read data".

Describe the solution you'd like
When it fails to retrieve the info, maybe GsmartControl can automatically try re-read the data?

@HubKing HubKing added the enhancement New feature or request label Jul 13, 2023
@ashaduri
Copy link
Owner

Hi,
Can you please try to run smartctl manually when the drive is asleep, and re-run it immediately a few times to see how long it takes for the drive to wake up?
You can check which commands GSmartControl executes in Exection Log.

@ashaduri ashaduri added the needs info Needs more information label Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request needs info Needs more information
Projects
None yet
Development

No branches or pull requests

2 participants