LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-04-2009, 06:16 AM   #1
3ttt
LQ Newbie
 
Registered: May 2007
Posts: 18

Rep: Reputation: 0
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

Last edited by 3ttt; 07-04-2009 at 06:17 AM.
 
Old 07-04-2009, 08:58 AM   #2
gael
Member
 
Registered: Aug 2008
Posts: 41

Rep: Reputation: 15
Quote:
Originally Posted by 3ttt View Post
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 View Post
- 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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB Flash Drive, write protect, and flash file system questions storkus Linux - Hardware 4 12-01-2008 05:32 AM
How to setup write back cache on a USB Flash Drive during Disk spinning down? 3ttt Linux - General 1 08-30-2008 07:51 AM
fedora 7: autofs is not mounting USB flash drive or DVD ROM drive Hewson Linux - General 3 05-12-2008 09:58 AM
cannot delete drive from root desktop - cannot mount usb flash drive - openSuSE 10.2 bluecog6 Linux - General 6 01-29-2007 04:18 PM
Cannot enable data=writeback on root buddhahat Linux - Newbie 2 11-07-2003 06:20 PM


All times are GMT -5. The time now is 01:02 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration