#700248 fsck: Fixed free cluster summary may not get written back

Package:
dosfstools
Source:
dosfstools
Description:
utilities for making and checking MS-DOS FAT filesystems
Submitter:
Mateusz Jończyk
Date:
2015-06-04 23:27:04 UTC
Severity:
normal
#700248#5
Date:
2013-02-10 14:52:15 UTC
From:
To:
//Sending to Debian because upstream developer is a Debian maintainer

Hello,
Yesterday I was trying to repair my FAT32 partition with dosfsck.

When I run:
$dosfsck /dev/sda6 -frv
it reported:
-
-----------------------------------------------------------------------------------
[...]
Reclaiming unconnected clusters.
Reclaimed 7 unused clusters (??????) in 2 chains.
Free cluster summary wrong.
Correct? - yes
Leaving FS unchanged.
-
-----------------------------------------------------------------------------------

When I rerun it, it reported the same error.
I was trying different parameters, but neither -av nor -rv solved the
problem.

(I don't have a detailed log of the above, only some notes written on a
piece of paper. I don't know what was in the parentheses, it is also
quite possible that the listing contains results of two separate runs of
dosfsck, with different parameters, separated before "Free cluster
summary wrong" because there I have a line on my piece of paper. It is,
however, certain that I was getting errors complaining about unconnected
clusters and free cluster summary wrong and successive trials did not
correct that.).


I finally run (this time the listing is exact):
-
-----------------------------------------------------------------------------------
$dosfsck /dev/sda6 -wr
dosfsck 3.0.12, 29 Oct 2011, FAT32, LFN
Reclaimed 7 unused clusters (114688 bytes).
Free cluster summary wrong (63571 vs really 63578)
1) Correct
2) Don't correct
?  - 1
Perform changes? (y/n)  - y
/dev/sda6: 183638 files, 2111661/2175239 clusters
-
-----------------------------------------------------------------------------------

/dev/sda6 has a cluster size of 16384 bytes. The file system has been
mounted but is probably unchanged since then.


Detailed system info:
Architecture: i386
Date: Sun Feb 10 15:49:33 2013
Dependencies:
 coreutils 8.13-3ubuntu3.2
 debconf 1.5.42ubuntu1
 dpkg 1.16.1.2ubuntu7.1
 gcc-4.6-base 4.6.3-1ubuntu5
 libacl1 2.2.51-5ubuntu1
 libattr1 1:2.4.46-5ubuntu1
 libbz2-1.0 1.0.6-1
 libc-bin 2.15-0ubuntu10.4
 libc6 2.15-0ubuntu10.4
 libgcc1 1:4.6.3-1ubuntu5
 liblzma5 5.1.1alpha+20110809-3
 libselinux1 2.1.0-4.1ubuntu1
 multiarch-support 2.15-0ubuntu10.4
 perl-base 5.14.2-6ubuntu2.2
 tar 1.26-4ubuntu1
 tzdata 2012e-0ubuntu0.12.04.1
 xz-utils 5.1.1alpha+20110809-3
 zlib1g 1:1.2.3.4.dfsg-3ubuntu4
DistroRelease: Ubuntu 12.04
MarkForUpload: True
Package: dosfstools 3.0.12-1ubuntu1.1
PackageArchitecture: i386
ProcEnviron:
 LC_PAPER=pl_PL.UTF-8
 LC_ADDRESS=pl_PL.UTF-8
 LC_MONETARY=pl_PL.UTF-8
 TERM=xterm
 SHELL=/bin/bash
 LC_NUMERIC=pl_PL.UTF-8
 LC_TELEPHONE=pl_PL.UTF-8
 PATH=(custom, user)
 LC_IDENTIFICATION=pl_PL.UTF-8
 LANG=pl_PL.UTF-8
 LC_MEASUREMENT=pl_PL.UTF-8
 LANGUAGE=pl:en
 LC_TIME=pl_PL.UTF-8
 LC_NAME=pl_PL.UTF-8
ProcVersionSignature: Ubuntu 3.5.0-24.37~precise1-generic 3.5.7.4
SourcePackage: dosfstools
Uname: Linux 3.5.0-24-generic i686


Greetings,
Mateusz Jończyk

#700248#10
Date:
2013-02-10 15:04:55 UTC
From:
To:
Greetings,
Mateusz Jończyk