1833497 Members
2675 Online
110052 Solutions
New Discussion

Re: CacheFS

 
Debu Dasgupta
New Member

CacheFS

We are in the process of evaluating CacheFS. This is the entry in the fstab file:

server7:/usr/oracle/ocommon /usr/oracle/ocommon/cache_test cachefs backfstype=nfs,demandconst,cachedir=/cache_test/cache 0 0

On trying to mount, I get an error saying "mount failed, options do not match.". If I take out the demandconst, it works fine. If I replace demandconst with noconst, I get the same error.

How do I get demandconst to work on this filesystem in cachefs ? The export out of Server7 is rw. The same problem happenned when the export was ro.

Please help.
3 REPLIES 3
Cheryl Griffin
Honored Contributor

Re: CacheFS

mount_cachefs: mount failed, options do not match.

The mount options supplied on the mount command are not compatible with the mount options currently set for the cache. This occurs when there are multiple mount points for one cache. All mount points must have the same options.
"Downtime is a Crime."
Cheryl Griffin
Honored Contributor

Re: CacheFS

Debu Dasgupta
New Member

Re: CacheFS

Cheryl,

Thank you for responding. I went trhough the same man pages and followed the same advice. I even updated nfsconf to tcp only and restarted both nfs client and nfs server on BOTH nodes.

What options are different ? I have only one mount point /usr/oracle/ocommon/cache_test on the client. The only options are the backfstype (which is mandatory), the actual cahe directory location (which is also mandatory), and ONE other option that I want the refresh to occur not automatically but on demand.

Which options are conflicting ?

Thanks.

Debu