caching NFS reads (fscache)

gbr

Well-Known Member
May 13, 2012
125
2
58
Hi,

I'm doing some testing with fscache and cachefilesd. Everything seems to be running, but the filesystem is never mounted with the cache enabled:

mount -t nfsv4 192.168.50.100:/volume1/Storage tmp -o fsc

I do have run=yes = /etc/default/cachefilesd

/proc/fs/nfsfs/volumes show FSC as no.

The kernel module is also running fine.

Any ideas why it won;t mount with fscache?

Gerald
 
did you check the cachefilesd.conf , is the caching directory defined?

Yup. If I look inside the directory, all the correct subdirs are created

root@proxmox-0:/var/cache/fscache# ls -l
total 24
drwx------ 2 root root 4096 Jun 11 11:57 cache
drwx------ 2 root root 4096 Jun 11 11:57 graveyard
drwx------ 2 root root 16384 Jun 11 11:55 lost+found
root@proxmox-0:/var/cache/fscache#
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!