check disk integrity

Nils Kassube kassube at gmx.net
Wed Apr 22 05:26:39 UTC 2015


Bob wrote:
> It appears fsck will not work in this case.

> bob1 at Jupiter:~$ sudo fsck -t fat32 /dev/sdb5
> fsck from util-linux 2.25.1
> fsck.fat 3.0.26 (2014-03-07)
> 0x41: Dirty bit is set. Fs was not properly unmounted and some data
> may be corrupt.
> 1) Remove dirty bit
> 2) No action
> ? 1

> Reclaimed 25 unused clusters (204800 bytes).
> Free cluster summary wrong (1274821 vs. really 1274846)
> 1) Correct
> 2) Don't correct
> ? 1
> Leaving filesystem unchanged.
> /dev/sdb5: 6 files, 6/1274852 clusters

>From "man fsck.fat:
| Note: If -a and -r are absent, the filesystem is only checked, but not
| repaired.

So it seems you should run the command with one of the options mentioned 
above.

Other than that, you could grab your old Windows machine and use the 
checkdisk option of Windows.


Nils




More information about the ubuntu-users mailing list