OS: CentOS 6.3
Step 1:
> yum install cachefilesd
Step 2:
> vi /etc/cachefilesd.conf
(I choose the default values and change nothing)
Step 3:
> /etc/init.d/cachefilesd restart
Step 3:
>mount -t nfs -o fsc 192.168.1.1:/home/nfs /mnt/nfs
in my case
>mount -t nfs -o rw,bg,fsc 192.168.1.1:/nfs /nfs
PS.
1. I still don't figure out how to setup the limitation for the cache files.
I would check it out later
2. Sometimes, the process 'gvfsd-metadata' may occupy 100% CPU performance
sol:
> kill -9 'UID of "gvfsd-metadata" '
> rm -fr ~/.local/share/gvfs-metadata
[ref]
1. http://www.cyberciti.biz/faq/centos-redhat-install-configure-cachefilesd-for-nfs/
沒有留言:
張貼留言