A
A
Anton Boyarshinov2016-04-27 19:32:12
linux
Anton Boyarshinov, 2016-04-27 19:32:12

Why does ubuntu corrupt files on ntfs?

The situation is this (I would even say typical): there is a ntfs partition for file storage, which is shared by win7 and ubuntu 16.04.
Problem: we launch a torrent in Ubuntu, download, for example, a gig image for 3. Downloaded, open the folder - everything is in place. I tried to mount even - all the rules. We reboot into Windows, go to the folder and: either it is completely empty, or the image is damaged and cannot be mounted.
We reboot back into ubuntu - the image disappears.
What is interesting: if you run chkdsk D: / f in Windows, it repairs the file and everything works.
I tried to google the problem - it met a few years ago, when ntfs-3g was just being tested. Why now this trouble surfaced with me - xs.
What can be done, where to dig?
PS Yes, I understand that it's easier to overwrite ntfs in general and use the same ext4 ... But alas, I still can't refuse some win-programs, and there's nowhere to transfer files for formatting

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Armenian Radio, 2016-04-27
@gbg

Try the other way around - keep the files on EXT4, and climb to them from the window using IFS Drives - a driver to support EXT in Windows.

C
CityCat4, 2016-04-27
@CityCat4

It must be assumed that bubunta incorrectly creates a file or assigns some attributes to it from the point of view of Windows. Windows fixes them and works. After repairing by Windows, the bubunt also sees it?
If NTFS on the partition is unprincipled, I would suggest changing to FAT32 - there are simply no bindings in the form of streams, rights, and everything else.

Y
Yuri Chudnovsky, 2016-04-28
@Frankenstine

This is not observed for me (everything works correctly in both directions), but I heard out of the corner of my ear that the Linux NTFS driver is not friendly with compressed NTFS files. Check if there is a "compress content to save space" attribute in the Windows disk (or folder) settings - this may be the reason for file corruption.

D
Dmitry, 2016-04-28
@plin2s

Try installing the ntfs-3g driver if you happen to be using a different one.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question