WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: SD card corruption  (Read 1472 times)

Offline polikuo

  • Hero Member
  • *****
  • Posts: 719
SD card corruption
« on: August 11, 2017, 02:55:03 AM »
I was test compiling some stuffs, nothing special, really.

When I reboot the machine it just halt.
(The screen displayed 4 raspberry logo, I'm using Pi3)

I've run fsck several times from another TC computer but it always returned with no error.

After backing up all my files, I cleaned the card and re-burnt it.

Now everything is running smoothly as if nothing ever happens.

Is it OK to keep the card ?

Or should I just buy a new one ?  ???

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: SD card corruption
« Reply #1 on: August 11, 2017, 03:53:45 AM »
Better get a new card. Fsck can only detect corruption in the filesystem structures, if it was inside a file fsck wouldn't say anything.

Some filesystems can detect file corruption too: zfs, btrfs, and I remember seeing patches for ext4 that would enable checksums too. But the boot partition must be fat32 IIRC, no such safeties there.
The only barriers that can stop you are the ones you create yourself.

Offline polikuo

  • Hero Member
  • *****
  • Posts: 719
Re: SD card corruption
« Reply #2 on: August 11, 2017, 04:15:09 AM »
Better get a new card. Fsck can only detect corruption in the filesystem structures, if it was inside a file fsck wouldn't say anything.

At first, I only reformat the fat32 partition and copy the files (via M$)
Still it won't boot, so I end up clearing the entire card.
Guess I'll have to buy a new one.
:-\