Disable linux read and write file cache on partition
Posted
by
complistic
on Super User
See other posts from Super User
or by complistic
Published on 2011-02-08T05:38:04Z
Indexed on
2011/02/08
7:27 UTC
Read the original article
Hit count: 835
How do i disable the linux file cache on a xfs partition (both read an write).
We have a xfs partition over a hardware RAID that stores our RAW HD Video. Most of the shoots are 50-300gb each so the linux cache has a hit-rate of 0.001%.
I have tryed the sync option but it still fills up the cache when copinging the files.
( about 30x over per shoot :P )
/etc/fstab:
/dev/sdb1 /video xfs sync,noatime,nodiratime,logbufs=8 0 1
Im running debian lenny if it helps.
© Super User or respective owner