WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: SD card corruption  (Read 112 times)

Offline polikuo

  • Full Member
  • ***
  • Posts: 192
SD card corruption
« on: August 10, 2017, 10:55:03 PM »
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: 9519
Re: SD card corruption
« Reply #1 on: August 10, 2017, 11:53:45 PM »
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

  • Full Member
  • ***
  • Posts: 192
Re: SD card corruption
« Reply #2 on: August 11, 2017, 12: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.
:-\