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

Jean-Pierre 1280574 at bugs.launchpad.net
Mon Feb 17 13:16:20 UTC 2014


I have a few more questions after having read your replies to Anton.

First, I would like to check whether there is a difference from Windows 8 in processing the "fast restart mode". Please turn this feature back on, then log off Windows (to be ready for a fast restart), boot into Ubuntu and show the result of :
sudo head -c 30 'Win/$LogFile' | tail -c 4 | od -t x2

Then please provide information about your storage and SSD cacheing. I have a computer on which I had to disable the SSD cacheing, because it is used differently by Windows and Linux. I applied the procedure under "Remove fake raid" on
http://askubuntu.com/questions/159645/dual-boot-installation-of-ubuntu-12-04-lts-on-hp-ultrabook-envy-4-1002tx
The "sudo lspci -v" output related to your storage controller may also be useful.

I interpret the "change tracking features" mentioned by Anton as a
configuration in which your storage is backed up on some external server
(such as a mirror on the cloud).

Finally, for providing a metadata image, better select a partition with the smallest number of files, otherwise the image might be too big. You may also prefer a partition hosting files whose names are not confidential.
You can built such an image by (replace sdxx by relevant partition id, it must not be mounted, and bzip2 would be better than gzip, but it is much slower) :
sudo ntfsclone -mst -O - /dev/sdxx | gzip > sdxx.image.gz
The resulting file is probably too big for being attached to this issue tracker or sent by mail. Uploading to a public server may be required.

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