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

data corruption? #119

Open
folkertvanheusden opened this issue Oct 13, 2024 · 0 comments
Open

data corruption? #119

folkertvanheusden opened this issue Oct 13, 2024 · 0 comments

Comments

@folkertvanheusden
Copy link

folkertvanheusden commented Oct 13, 2024

When I run my simple test-tool which verifies if data written is read ok back later on (also performs unmap-calls), then it warns about wrong data being read back.
test-blockdevice.py

e.g.:

./test-blockdevice.py -d /dev/sda -b 4096 -u 75 -T 10 -n 6

gives:

Sector 11 has unexpected data (b'P\x17\x8a\x0f\xd7\x00q\xbf~\xb5\xa0\xffPJy\xfa'... instead of b'\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00'...
(and more)

I found that this is caused by UNMAP calls of 4 kB: that gives these problems, 512 bytes unmaps are fine.

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

No branches or pull requests

1 participant