LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Need to disable CIFS cache (https://www.linuxquestions.org/questions/linux-server-73/need-to-disable-cifs-cache-4175582569/)

HariharanV 06-18-2016 09:09 AM

Need to disable CIFS cache
 
Hi All,

In my suse 11 sp3 linux server need to disable the CIFS cache.

I have used the below command and modified the /etc/fstab entry with forcedirectio option.

echo "0" > /proc/fs/cifs/LookupCacheEnable

Need to make a change the LookupCacheEnable permanently to 0, after reboot as well.

Kindly help me on this.

Thanks,
Hariharan V

TB0ne 06-19-2016 04:56 PM

Quote:

Originally Posted by HariharanV (Post 5562919)
Hi All,
In my suse 11 sp3 linux server need to disable the CIFS cache. I have used the below command and modified the /etc/fstab entry with forcedirectio option.

echo "0" > /proc/fs/cifs/LookupCacheEnable

Need to make a change the LookupCacheEnable permanently to 0, after reboot as well.

First, have you contacted Oracle support??? SLES11 is a COMMERCIAL, PAY-FOR distribution...you are paying for support, and you should use it.

Secondly, I suggest you read the man page on the mount.cifs command. Pay particular attention to the "cache=" option.

jlliagre 06-19-2016 07:15 PM

Quote:

Originally Posted by TB0ne (Post 5563372)
First, have you contacted Oracle support???

I guess you really mean "Have you contacted Suse support?" as Oracle doesn't provide, as far as I know, support to Suse Linux. It definitely does for Oracle Linux and Oracle Solaris though.


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