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-23-2008, 06:18 AM   #1
tenkay
LQ Newbie
 
Registered: May 2008
Posts: 3

Rep: Reputation: 0
Assuming drive cache: write through


Can anyone tell me what this message means. I am running Opensuse 10.3.

Jul 23 09:29:17 hplinuxserver kernel: sd 8:0:0:0: [sda] Assuming drive cache: write through
Jul 23 09:29:17 hplinuxserver kernel: sd 8:0:0:0: [sda] Assuming drive cache: write through
Jul 23 11:05:13 hplinuxserver kernel: sd 9:0:0:0: [sda] Assuming drive cache: write through
Jul 23 11:05:13 hplinuxserver kernel: sd 9:0:0:0: [sda] Assuming drive cache: write through

It's from my Warn Logfile and I would like to fix it before the server goes live.
 
Old 05-20-2010, 10:17 AM   #2
hunter3740
LQ Newbie
 
Registered: Mar 2010
Location: Pittsburgh
Distribution: Debian 6
Posts: 28

Rep: Reputation: 17
up and running for 3 years, so how bad could it be?

Better late than never (i.e. almost two years later), but since this came up second in a Google search...

...I worried myself, especially since I had a bout with my machine: freezing on reboot (getting error "could not stat the resume device file"), but not on a hard boot. Uninstalling uswsusp helped my case, but I still have the "Assuming drive cache: write through" (and "Write Protect is off"), but I don't seem to have any issues. My machine is up and running for three years, if that helps.

Considered "dd if=/dev/urandom of=/dev/sdx" or "fdisk /dev/sdx" (and redo (all) the partition(s) and "reboot" and "mkfs.ext3 /dev/sdx"), but since working, didn't rock the boat.

I do have a Dell and found this link on another forum:
http://lists.us.dell.com/fom-serve/cache/110.html

But this also happens for a firewire (or USB) attached external 8TB drive (that is not attached to that RAID controller), yet that drive registers a "Attached SCSI disk"; so, linux sees all disks as SCSI and can't handle some identifier on any disk to help it "know" and not "assume"?! Guess I could get some experience and install Linux on a machine that would definitely have /dev/hdx (and not /dev/sdx).

Bottom line: I have no idea, but have been living with the message (which could just be information) and all is fine (but I'm with you on the nagging feeling that all should be in harmony for a production machine).
 
Old 01-06-2011, 03:54 AM   #3
Orangutanklaus
Member
 
Registered: May 2006
Posts: 89

Rep: Reputation: 15
Cool

This thread won't die!

I'm currently cleaning a hard disk drive and besides I'm checking an USB pendrive. I know this message and I was never worried about this. But what I don't understand - when the kernel assumes a cache why does it use the write through method? The assumption and the behaviour doesn't make sense in my optinion.
  • don't assuming write cache : write through <- sounds sensible
  • assuming write cache : anyway, write through <- that's still all right
  • assuming write cache : write back <- perfect
  • assuming write cache : write trough <- isn't a logical conclusion
 
  


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
CF problem: assuming drive cache: ... phantom_cyph Linux - Hardware 1 06-12-2008 02:46 PM
[sda] Write cache: enabled, read cache: enabled, doesn't support DPO seskissinger Linux - Software 3 05-16-2008 02:17 PM
read and write to L1 cache ritesh_nitt Linux - Hardware 2 12-06-2007 09:44 AM
IDE drive reads slower with write cache disabled tothzp Linux - Hardware 0 11-29-2007 11:21 AM
Flash drive write cache ilikejam Linux - Hardware 5 05-22-2004 12:07 PM


All times are GMT -5. The time now is 04:44 PM.

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