[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: USB memory stick in Etch



2008/10/10 Sven Joachim <svenjoac@gmx.de>
On 2008-10-09 18:03 +0200, J.H.Kim wrote:

> frog@frog1120:/media/USB DISK$ df /media/USB*
> Filesystem           1K-blocks      Used Available Use% Mounted on
> /dev/sdb1               976996    945752     31244  97% /media/USB DISK
>
> frog@frog1120:/media/USB DISK$ du -s
> 443576  .
>
> frog@frog1120:/media/USB DISK$ du -sm
> 434     .
>
> frog@frog1120:/media/USB DISK$ ls -altR
> .:
> total 443580
> drwx------ 2 frog frog      4096 2008-10-09 23:59 .
> -rw------- 1 frog frog 454215680 2008-10-09 23:58 test.tar
> drwxr-xr-x 5 root root      4096 2008-10-09 23:40 ..

I suspect the filesystem is corrupt, please run dosfsck on it.  FAT32
stores the amount of free space in a special place, and that value is
apparently incorrect.


dosfsck made my usb stick works fine~
Thank you.

The following message was the result of "dosfsck /dev/sdb1" :

frog1120:/home/frog# dosfsck -a /dev/sdb1

dosfsck 2.11, 12 Mar 2005, FAT32, LFN
There are differences between boot sector and its backup.
Differences: (offset:original/backup)
  65:01/00
  Not automatically fixing this.
Free cluster summary wrong (97616 vs. really 223160)
  Auto-correcting.
Performing changes.
/dev/sdb1: 362 files, 21089/244249 clusters


Reply to: