I need to work a file format which normally contains, in alternating fashion long-running sequences of 1s (around 10-12 KB long) then short sequences of 0s (around 1-2 KB). And there's some random data (around 100 bytes) sprinkled along borders of sequences of 1s and 0s.
Very rarely, on test machines I find the one of the chains of 0s (including random data) are replaced by chains of 1s in the file. I keep the original files backed up so it's possible for me to compare original and changed content. The file modification time and size doesn't change. I encountered the issue three times till now, all on different setups. Also the files with issue vary from setup to setup and I am sure, I do not modify them deliberately after taking backups.
- Can this be a disk issue (not being able to handle long runs of 1s)?
- Is there any link where similar issue are described or reported?
I can upload the before/after files if requested. Last time I ran bad sector scan and no bad sectors were found. The OS is Windows Server 2008 R2. The friendly name of disk drive is "ST2000DL003-9VT166 ATA Device".
Very rarely, on test machines I find the one of the chains of 0s (including random data) are replaced by chains of 1s in the file. I keep the original files backed up so it's possible for me to compare original and changed content. The file modification time and size doesn't change. I encountered the issue three times till now, all on different setups. Also the files with issue vary from setup to setup and I am sure, I do not modify them deliberately after taking backups.
- Can this be a disk issue (not being able to handle long runs of 1s)?
- Is there any link where similar issue are described or reported?
I can upload the before/after files if requested. Last time I ran bad sector scan and no bad sectors were found. The OS is Windows Server 2008 R2. The friendly name of disk drive is "ST2000DL003-9VT166 ATA Device".