-
Notifications
You must be signed in to change notification settings - Fork 29
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
Diskscan hangs on Fedora 25 #58
Comments
What drive is this? It looks like some diagnostics command didn't return from the drive. |
No idea why it got hanged like that but I probably should set the timeout to a lower value in any case to avoid it hanging. |
Use 5 seconds for diagnostic IOs (read cap, ata identify, etc.) Use 1 minute for data IOs, should be long enough to be safe for media errors and not too long to bore the user when there are many errors. Related to #58
In addition to the requested information from above, can you please try the head of the master branch? I reduced the timeout for the stuck IO to 5 seconds but I have no way to test it locally. |
Hi Baruch, The hanging issue only happens when the drive is connected to a LSI SAS HBA, when I connect the drive to an on-board SATA port diskscan works fine. I will try your timeout change later today and report back to you. The HDD information as below: |
Hi Baruch,
|
can we have a setting to set our own time out even pkill -9 did not do much to finish it |
I can add a command line option to set the timeout but a too low timeout will mean that it will be impossible to scan bad disks. I'll also try to think about what else can be done in such cases. |
When I try to run diskscan /dev/sdc, it hangs at "I: Validating path /dev/sdc"
The strace log as below:
The text was updated successfully, but these errors were encountered: