LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to enable/setup Writeback on USB Flash Drive? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-enable-setup-writeback-on-usb-flash-drive-737675/)

3ttt 07-04-2009 05:16 AM

How to enable/setup Writeback on USB Flash Drive?
 
Currentyly I have Linux SuSe 2.6.22.19, I format a USB flash drive in EXT3 and mount it with the option of data=writeback. But when I use dmesg, it shows: "[sdb] Assuming drive cache: write through".

The questions are:
- Is it possible to enable writeback on USB Drive? How to setup and enable it?
- Are there any different writeback meanings between in mount option and in virtual memory?
- Can the writeback parameters in /proc/sys/vm/ folder like dirty_writeback_centisecs, dirty_expire_centisecs, control writeback on USB drive?

3TTT

gael 07-04-2009 07:58 AM

Quote:

Originally Posted by 3ttt (Post 3596339)
The questions are:
- Is it possible to enable writeback on USB Drive? How to setup and enable it?

Hi,

I do not think you can enable write back on USB drive as write back is supposed to have a local cache with a battery so when there is a power outage, the data are not lost as they are in the write-back cache and when the power comes back, the drives commit the change on disk from the cache.

And I do not think USB flash have any battery.
Quote:

Originally Posted by 3ttt (Post 3596339)
- Are there any different writeback meanings between in mount option and in virtual memory?
- Can the writeback parameters in /proc/sys/vm/ folder like dirty_writeback_centisecs, dirty_expire_centisecs, control writeback on USB drive?

3TTT

I am not really sure to understand the questions.

HTH
G.


All times are GMT -5. The time now is 11:44 AM.