[Bug 1280574] Re: Files modified on NTFS partition are seen as corrupted files in Windows
Karim Sonbol
karim.sonbol279 at gmail.com
Tue Feb 18 02:23:31 UTC 2014
I forgot to say that when I first ran the ntfsclone command it gave me the following error (although I logged into Ubuntu after a restart from Windows):
ntfsclone v2013.1.13AR.1 (libntfs-3g)
NTFS volume version: 3.1
Cluster size : 4096 bytes
Current volume size: 229999992832 bytes (230000 MB)
Current device size: 230000000000 bytes (230000 MB)
Scanning volume ...
100.00 percent completed
Accounting clusters ...
Cluster accounting failed at 30036592 (0x1ca5270): extra cluster in $Bitmap
Cluster accounting failed at 30063507 (0x1cabb93): extra cluster in $Bitmap
Cluster accounting failed at 32118944 (0x1ea18a0): missing cluster in $Bitmap
Cluster accounting failed at 32225272 (0x1ebb7f8): missing cluster in $Bitmap
Cluster accounting failed at 32229368 (0x1ebc7f8): missing cluster in $Bitmap
Cluster accounting failed at 32233464 (0x1ebd7f8): missing cluster in $Bitmap
Cluster accounting failed at 32241656 (0x1ebf7f8): missing cluster in $Bitmap
Totally 7 cluster accounting mismatches.
ERROR: Filesystem check failed! Windows wasn't shutdown properly or inconsistent
filesystem. Please run chkdsk /f on Windows then reboot it TWICE.
and running chdsk on Windows as told I got:
C:\Windows\system32>chkdsk /f F:
The type of the file system is NTFS.
Volume label is Work.
Stage 1: Examining basic file system structure ...
98560 file records processed.
File verification completed.
4 large file records processed.
0 bad file records processed.
Stage 2: Examining file name linkage ...
132348 index entries processed.
Index verification completed.
CHKDSK is scanning unindexed files for reconnect to their original directory.
2 unindexed files scanned.
Recovering orphaned file test (98552) into directory file 40399.
CHKDSK is recovering remaining unindexed files.
1 unindexed files recovered.
Stage 3: Examining security descriptors ...
Security descriptor verification completed.
16895 data files processed.
CHKDSK is verifying Usn Journal...
Usn Journal verification completed.
Correcting errors in the master file table's (MFT) BITMAP attribute.
CHKDSK discovered free space marked as allocated in the volume bitmap.
Windows has made corrections to the file system.
No further action is required.
224609368 KB total disk space.
128978408 KB in 81577 files.
31476 KB in 16897 indexes.
0 KB in bad sectors.
171380 KB in use by the system.
65536 KB occupied by the log file.
95428104 KB available on disk.
4096 bytes in each allocation unit.
56152342 total allocation units on disk.
23857026 allocation units available on disk.
then I restarted twice and ran the command and it gave me the image I
attached earlier.
Hope this information helps !
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ntfs-3g in Ubuntu.
https://bugs.launchpad.net/bugs/1280574
Title:
Files modified on NTFS partition are seen as corrupted files in
Windows
Status in “ntfs-3g” package in Ubuntu:
New
Bug description:
I have Ubuntu 13.10 and Windows 8.1 installed, both 64-bit (dual
boot). Whenever I create or copy files to any of the NTFS partitions
from Ubuntu, these files get deleted once I login to Windows. When I
login to Ubuntu again, the files are not there. I shut down Windows
properly and do not hibernate. I have disabled fast startup option in
Windows, and Fastboot from BIOS. So it is not a hibernation problem.
The same problem occurred when using Linux Mint.
I have been able to find the exact event log concerning this issue in
Windows Event Viewer, it says: "The file system structure on volume D:
has now been repaired." and in the details section:
EventData
VolumeIdLength 2
VolumeId D:
RepairDetail 25008: Start repair on 02/05/2014 at 20:53:12:946 25017: Processing repair verb IndexEntry: 0x5000000000005, "$I30", "line-mozart.avi" Flags: 0x32, 0x0 26065: Deleting index entry line-mozart.avi in index 0x5000000000005 of file 0x2000000003498. 25009: End repair on 02/05/2014 at 20:53:12:946
RepairDataLength 152
...
Note: "line-mozart.avi" is the name of the file that got deleted this time.
Since Windows sees the modified files as corrupted files that need
repair, I think Ubuntu does something wrong when saving files to NTFS
partitions, and it is probably a bug in NTFS-3g.
ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: ntfs-3g 1:2013.1.13AR.1-2ubuntu1
ProcVersionSignature: Ubuntu 3.11.0-15.23-generic 3.11.10
Uname: Linux 3.11.0-15-generic x86_64
ApportVersion: 2.12.5-0ubuntu2.2
Architecture: amd64
Date: Sat Feb 15 14:07:58 2014
InstallationDate: Installed on 2014-01-17 (28 days ago)
InstallationMedia: Ubuntu 13.10 "Saucy Salamander" - Release amd64 (20131016.1)
MarkForUpload: True
SourcePackage: ntfs-3g
UpgradeStatus: No upgrade log present (probably fresh install)
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ntfs-3g/+bug/1280574/+subscriptions
More information about the foundations-bugs
mailing list