Files edited under Ubuntu corrupted when saving other files under windows on a shared NTFS partition

Bug #1052566 reported by Alexandre Bousse
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ntfs-3g (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

Hi,

I have a dual boot Windows 8/Ubuntu 12 on a SSD drive and a shared NTFS partition (for data storage) on another hard drive. I noticed that some of the files I edited under Linux (they were Matlab source code file) were corrupted. They actually looked like images that are opened with a text editor. By curiosity, I changed the '.m' extension to '.png', and I noticed they were screenshot of a video game I played (in Windows) just after working on these files in Linux. The games I played as well as the Matlab files were all on the shared NTFS partition. Only recently edited Matlab files were corrupted

Now I do not dare opening my code files, fearing I might lose them again if I boot with Windows.

A similar problem is described here:

http://askubuntu.com/questions/187813/ntfs-corruption-files-created-in-linux-corrupted-when-windows-boots/190153#comment235864_190153

I don't know about the release as I am in office now. All what I can say is that I am using Ubuntu 12 and it is regularly updated

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Freenode.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1052566/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Alexandre Bousse (abousse-deactivatedaccount) wrote :

I have no clue regarding the package. It is a silent bug that do not produce any error message.

affects: ubuntu → ntfs-3g (Ubuntu)
Revision history for this message
Jean-Pierre (jean-pierre-andre) wrote :

Copying what I have just written about report 1043149 :

When the "fast restarting" of Windows 8 is enabled, the ntfs partitions of internal disk (this means including non-Windows system partition) may be left in an inconsistent state, and Windows 8 restarts using a saved copy of the metadata (instead of what is actually on disk), leading to potential data loss. The checks based on the hiberfil.sys cannot be relied on, as this file only exists in the Windows system partition. Also note that the "Shut down" button of Windows 8 does not show the kind of restarting (fast or standard) which is triggered.

The only known way to avoid inconsistencies and data losses is to disable the fast restart and hibernation. See :
http://jp-andre.pagesperso-orange.fr/advanced-ntfs-3g.html#windows8

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in ntfs-3g (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.