FAQ SearchLogin
Tuxera Home
View unanswered posts | View active topics It is currently Fri May 14, 2021 07:41



Post new topic Reply to topic  [ 2 posts ] 
how to disable write caching? 
Author Message

Joined: Mon Mar 05, 2012 18:03
Posts: 1
Post how to disable write caching?
We've been experiencing a lot of corrupted $MFT files when using the latest NTFS-3G driver on linux, usually happens when an end-user makes the unfortunate mistake of unplugging a USB drive without properly running safe-removal.

I noticed on many of the Mac forums the solution seems to be to not utilize the write-caching feature, which will degrade performance somewhat but lead to increased stability. On Mac, they can set the option in the console but it isn't clear to me how we'd implement the same on a Linux install. How can we achieve this?

Thanks in advance


Mon Mar 05, 2012 18:07
Profile
NTFS-3G Lead Developer

Joined: Tue Sep 04, 2007 17:22
Posts: 1286
Post Re: how to disable write caching?
Hi,

Quote:
We've been experiencing a lot of corrupted $MFT files when using the latest NTFS-3G driver on linux, usually happens when an end-user makes the unfortunate mistake of unplugging a USB drive without properly running safe-removal.

For USB keys, data written is kept longer in the cache, probably because they are slow and/or to make them last longer. This is unrelated to ntfs-3g, and I am not aware of any recent change.
Quote:
I noticed on many of the Mac forums the solution seems to be to not utilize the write-caching feature, which will degrade performance somewhat but lead to increased stability.

You can mount with option "sync" to bypass the write cache. I normally advise against it, as this will reduce the speed and shorten the life of the device. If your USB keys are automatically mounted after they are plugged in, you will also have to find how to act on default mount options....

Note : you make me notice there is no mention of this option in the manual, but it is available since 2011.1.15.

Regards

Jean-Pierre


Mon Mar 05, 2012 22:43
Profile
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Original forum style by Vjacheslav Trushkin.