Skip to content

data corruption? #119

@folkertvanheusden

Description

@folkertvanheusden

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions