[Bug 1280574] Re: Files modified on NTFS partition are seen as corrupted files in Windows

Jean-Pierre 1280574 at bugs.launchpad.net
Tue Feb 18 11:21:14 UTC 2014


First, what is the model of your hard disk ? The backup boot
sector is located at a place unusual for a 512-sector disk.

Then, you have built the image after having started chkdsk twice,
nevertheless when I start chkdsk on the image, it still finds an
error. The error is about directory Django/GSWD/projects/old_microblog
which is just named microblog in the parent directory. This appears
to be a directory created on Windows as microblog, which you renamed
as old_microblog on Linux. I am surprised this was not fixed by
chkdsk on your computer.

The missing clusters found by chkdsk on your computer are related
to some earlier fixing of files created on Ubuntu. The first one
is about found.001/dir_00000000.chk which was obviously created
by Windows. The last three ones are related to git files such as
found.001/dir_00000000.chk/.git/objects/f9/cf35626bdb4bcbbb5....
but other files apparently created by the same process were not
flagged (such as found.001/dir_00000000.chk/microblog/settings.pyc)

It looks like Windows and Ubuntu do not read the same data.

Can you create on Windows a file a bit over 4096 bytes (for
example 5000 bytes), then switch to Ubuntu and *append* a few
bytes (for example "echo more data >> testfile"). Do not use
a text editor which would relocate the file after updating.
Check the time stamp of the file while on Ubuntu. Then switch
back to Windows. Is the file visible ? Has it been moved to a
quarantine directory (found.001) ? What is its time stamp, what
contents ?
(better use a partition different from the one for which you
sent the metadata, so that it remains meaningful).

> The notebook specs says that, and Gparted listing two disks
> of these sizes confirms that.

Can these specs be accessed on-line ?
I assume Gparted does not mention the SSD is used as a cache.

-- 
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