Skip to content

Status file get's corrupted on restart #9

@TheMeaningfulEngineer

Description

@TheMeaningfulEngineer

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:

/usr/bin/stressdisk -statsfile /home/root/status  -logfile /home/root/stress-log-sd -duration 48h0m0s -stats 1m0s -s 500000 cycle /data/senic-hub/logs

I need to delete the /home/root/status every time before running it otherwise I end up with a failed start 2018/06/25 16:26:44 error reading statsfile: EOF

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions