David Howells schrieb:
Wilhelm Meier <wilhelm.meier@xxxxxxxx> wrote:
I wonder if it is possible to use fs-cache for a system which uses nfs as root
filesystem. nfs-root is only available if I configure nfs-client-support as
compiled-in and then the option for nfs-cache disappeares.
Yes-ish. You probably need to set CONFIG_FSCACHE=y.
Oh, yes ... thanks!
Caching won't take place until you load the CacheFiles module (or compile it
in) and run up cachefilesd. At that point, I think your root fs should start
being cached - but only for the files that are opened _after_ the cache is
brought on line.
You also need to pass the 'fsc' option to the NFS mount for the rootfs.
of course - but if I try to remount witch the fsc-option, it seems not
to be recognized according to /proc/mounts.
Is remounting with fsc not supported?
David
--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs
--
Wilhelm
--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs