public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] hdparm and write caching
  @ 2011-03-28  8:35 99% ` Mick
  0 siblings, 0 replies; 1+ results
From: Mick @ 2011-03-28  8:35 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: Text/Plain, Size: 1050 bytes --]

On Monday 28 March 2011 09:11:51 Coert Waagmeester wrote:
> Hello all,
> 
> Running a box with 2x1TB software raid disks.
> A while back I read up about disk write caching and it's pros/cons.
> 
> I then decided to disable it on my box.
> Edited /etc/conf.d/hdparm and added -W0 for sata_all_args.
> And added it to the default runlevel.
> 
> It works, on bootup it turns off write caching.
> But a while later when KDE is up and running and I check with hdparm -W
> /dev/sd? write caching is on again.
> 
> Now, I have two questions,
> How can I find out what turned it back on, and how can I prevent it?
> 
> Is it necessary/prudent to turn it off in the first place?
> 
> At the moment I run a cron job that checks every 10 minutes and turns it
> off if it is enabled. But that feels like a somewhat ugly solution...

Try touch /etc/pm/power.d/harddrive to see if it works.  Also read this thread 
and the bugs mentioned in there:

http://thread.gmane.org/gmane.linux.gentoo.user/232788/focus=233098
-- 
Regards,
Mick

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-03-28  8:11     [gentoo-user] hdparm and write caching Coert Waagmeester
2011-03-28  8:35 99% ` Mick

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox