Sunday, April 28, 2024
 Popular · Latest · Hot · Upcoming
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1442  / 2 Years ago, fri, december 31, 2021, 4:25:24

Yesterday I reinstalled Ubuntu 13.04 64-bit on my computer (4GB RAM), and for the first time I decided to use Full Disk Encryption (all default settings).



Today while running backups my computer crashed twice.



Now I continued to work on my backups and when checking the hash of a backup of mine I found out that sha256sum showed a wrong result for a big file.



I skimmed over /var/log/syslog and I did not find any error, and the Disk utility also says that the Disk is OK.



I tried to reproduce that error, and for small files I didn't have this problem, but for big files I do:



$ dd if=/dev/zero of=zeroes bs=1M count=4000 && sha256sum zeroes && sha256sum zeroes
4000+0 records in
4000+0 records out
4194304000 bytes (4,2 GB) copied, 54,0345 s, 77,6 MB/s
ad6637bd22568145039a053da5cbf4c31d3eda5ef95c29646fa66b0cacd15a8c zeroes
8ea0d0c9ad97de182335e98045a1f197456ceee782fa6e801fd3e68bea4d35d3 zeroes

$ md5sum zeroes && md5sum zeroes
8097877e1c991721dae7ffe228ae2f5a zeroes
fbd1e7fcd3861446310c87abf72066bf zeroes


This is really bad if I can't rely on any of my data, so I would really appreciate if somebody could help me out finding out what the problem could be.


More From » ext4

 Answers
5

You're looking at a hardware issue here. Memory in consumer hardware lack integrity checks (ECC), so errors in the memory go mostly undetected at system level. As you noted you were seeing crashes too, and that is to be expected if memory is faulty.



By running a memtest on your system you can verify this. Memtest with Ubuntu 12.04 live CD



You'll now also have to verify all backups as I/O goes through memory it's likely that backups made with this faulty RAM are corrupted too. Note that is can be slightly corrupted and hard to spot.


[#29937] Sunday, January 2, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
piscen

Total Points: 134
Total Questions: 117
Total Answers: 133

Location: Indonesia
Member since Wed, Jul 7, 2021
3 Years ago
;