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

Implement a write test #27

Open
baruch opened this issue Oct 26, 2013 · 2 comments
Open

Implement a write test #27

baruch opened this issue Oct 26, 2013 · 2 comments

Comments

@baruch
Copy link
Owner

baruch commented Oct 26, 2013

A write test needs to be implemented for the rare occasion when writes fail.

possibly do a read after the write to verify the write.

@baruch baruch modified the milestones: Near, Vesion 0.14 Sep 17, 2015
@baruch baruch modified the milestones: Near, Version 0.16 Oct 9, 2015
@baruch baruch modified the milestones: Version 0.18, Version 0.50 Oct 26, 2015
@baruch
Copy link
Owner Author

baruch commented Nov 13, 2015

Would be useful to include full media verification in the sense that we generate a unique 512 block for each sector and then when reading verify that it is all the same so there is no data corruption. This can be useful to check for fake SD cards or completely unstable media.

@Stoatwblr
Copy link

Suggestion:

If you're going to write-test to deal with sector problems then it would make sense to call hdparm's --repair-sector option and make that a prerequisite for diskscan

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants