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

Karim Sonbol karim.sonbol279 at gmail.com
Mon Feb 17 17:15:24 UTC 2014


Enabling fast restart back on prevents me from mounting the partitions, giving this error message:
Unable to mount OS
Error mounting /dev/sda4 at /media/karim/OS: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000,dmask=0077,fmask=0177" "/dev/sda4" "/media/karim/OS"' exited with non-zero exit status 14: Windows is hibernated, refused to mount.
Failed to mount '/dev/sda4': Operation not permitted
The NTFS partition is in an unsafe state. Please resume and shutdown
Windows fully (no hibernation or fast restarting), or mount the volume
read-only with the 'ro' mount option.

Output of "sudo lspci -v" is attached in "lspci.txt" file.

> 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"
I hope I can fix this without disabling the SSD caching, but if that's the only solution I will do it !
BTW, is it safe to run the command described "sudo dmraid -E -r /dev/sda" ?

> 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).
My storage isn't backed up on any server. The only thing backed up is the dropbox folder.

I will create the metadata image and get back to you.

** Attachment added: "output of "sudo lspci -v""
   https://bugs.launchpad.net/ubuntu/+source/ntfs-3g/+bug/1280574/+attachment/3984212/+files/lspci.txt

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