NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Scouser
Jan 19, 2012Aspirant
Write-cache problems
Is there a way to disable disk write-cache permanently until such time that I might want to turn it back on again. I need to do this manually via some configuration file or command line utility and N...
Scouser
Jan 20, 2012Aspirant
I discovered that the following truns write cache-off:
# hdparm -W0 /dev/sdd
/dev/sdd:
setting drive write-caching to 0 (off)
write-caching = 0 (off)
# hdparm -W0 /dev/sde
/dev/sde:
setting drive write-caching to 0 (off)
write-caching = 0 (off)
Use -W0 turn it off and -W1 to turn it on. (see /frontview/bin/diskcache for more detail).
But I am trying to understand /etc/default/hdparm and /etc/hdparm.conf
I think the answer lies with these files.
# hdparm -W0 /dev/sdd
/dev/sdd:
setting drive write-caching to 0 (off)
write-caching = 0 (off)
# hdparm -W0 /dev/sde
/dev/sde:
setting drive write-caching to 0 (off)
write-caching = 0 (off)
Use -W0 turn it off and -W1 to turn it on. (see /frontview/bin/diskcache for more detail).
But I am trying to understand /etc/default/hdparm and /etc/hdparm.conf
I think the answer lies with these files.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!