Suddenly disk is corrupted

Hello there,
I have a strange problems on my raspberry:

  1. If I change something on my system after reboot these changes disappear.
  2. After few days of good work, I receive a lot of errors, corruptions and so on. Resolv.conf contains strange characters preventing dns resolution.

I put 1 in /etc/fstab and rebooted machine. After this the 1 disappeared and the check seemed to be working, but then this is happening again like in a loop.

Someone knows what the hell is going on there?

Thanks
Gianni

Provide full logs with grab-logs -A

But here are three possibilities without knowing your specific setup:

  1. Your power supply is not up to the task
  2. Your SD Card is broken
  3. You have a Kingston SD Card

Hello, thanks for the fast response…I started to have this problem when an osmc update went wrong; from that point on I can’t update my system anymore. My microSD is a Sandisk, I don’t know how to check if it is broken, I also copied over an old snapshot I did because of those errors. The supply till now has always worked well.

Link REMOVED

Sounds like your SD card is faulty. I would try another card.

To test your card you could use this tool I think: H2testw 1.4 – Gold Standard In Detecting USB Counterfeit Drives « SOSFakeFlash

Ok, thanks I think I have a problem on microSD:

Warning: Only 219 of 239 MByte tested.
The media is likely to be defective.
0 KByte OK (0 sectors)
219 MByte DATA LOST (448512 sectors)
Details:0 KByte overwritten (0 sectors)
0 KByte slightly changed (< 8 bit/sector, 0 sectors)
219 MByte corrupted (448512 sectors)
0 KByte aliased memory (0 sectors)
First error at offset: 0x0000000000000000
Expected: 0x0000000000000000
Found: 0xe3800a05e3c00201
H2testw version 1.3
Writing speed: 17.6 MByte/s
Reading speed: 12.9 MByte/s
H2testw v1.4

I can’t even format it…