fsc option is ignored when trying to use cachefilesd on ubuntu 18.04
Solution 1:
I ran into the same issue. Accidentally ran into something that worked for me.
It looks like there is something with the default rsize that prevents fsc option to take effect. If I provide a rsize value of 524288 (instead of the default 1048576), the fsc option takes effect.
sudo mount -t nfs4 hex:/mnt/hexhd /mnt/hexhd -o fsc,rsize=524288
nfsstat -m
/mnt/hexhd from hex:/mnt/hexhd
Flags: rw,relatime,vers=4.2,rsize=524288,wsize=1048576,namlen=255,hard,proto=tcp,timeo=600,retrans=2,sec=sys,clientaddr=192.168.50.216,fsc,local_lock=none,addr=192.168.50.185
uname -a
Linux tri 5.4.0-72-generic #80-Ubuntu SMP Mon Apr 12 17:35:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux