-
-
Notifications
You must be signed in to change notification settings - Fork 27
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
Status file get's corrupted on restart #9
Comments
@TheMeaningfulEngineer wrote:
I love it!
Is the status file empty? If so why? Disk Full? Do you think it is to do with the power outages or something like that? Can you see if the status file appears empty when it is running? |
Don't know why. It does end up being empty while there is still space on the disk.
When it's running it's filling it correctly.
Possibly. Could be the file ends up corrupted or something. Don't know. I think I might have misunderstood from the docs.
Does that mean the stats file is mandatory or not? |
It allows stressdisk to carry on accumulating stats over restarts. It isn't essential but it will always be used. If you want not to use it then it could use detect an empty file string and disable the use of the stats file? |
I'm doing a long term test to wear out an SD card by writing together with a combination of periodic power outages.
Have set
stressdisc
as a systemd sctipt that runs on startup:I need to delete the
/home/root/status
every time before running it otherwise I end up with a failed start2018/06/25 16:26:44 error reading statsfile: EOF
The text was updated successfully, but these errors were encountered: