meta data for this page
  •  

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
linux:remotefs:cachefilesd [2024/10/27 12:19] niziaklinux:remotefs:cachefilesd [2024/12/03 10:22] (current) niziak
Line 54: Line 54:
  
 Modify mount option for NFS and add ''-o fsc''. Mount it again. Modify mount option for NFS and add ''-o fsc''. Mount it again.
 +
 +==== issues ====
 +
 +=== errno 95 (Operation not supported) ===
 +
 +<code>
 +About to bind cache
 +CacheFiles bind failed: errno 95 (Operation not supported)
 +</code>
 +
 +When ''/var/cache/fscache'' is located on ZFS. See" [[https://github.com/openzfs/zfs/issues/10473|Missing features w/ cachefilesd & zfs-0.8.4 on ubuntu/post 20.04, getting EBADF & EOPNOTSUPP #10473]]
 +
 +Workaround1: put in on different FS.
 +
 +No possibility to use ''tmpfs'' because: [[https://askubuntu.com/questions/1361461/running-cachefilesd-cache-on-ramdisk-tmpfs-for-pxe-nfs-boot|Running cachefilesd cache on ramdisk (tmpfs) for PXE NFS boot]]
 +
 +<code bash>
 +zfs create 
 +zfs create -V 5gb ssdpool/var/cache/fscache
 +mkfs.ext4 /dev/zvol/ssdpool/var/cache/fscache
 +blkid /dev/zvol/ssdpool/var/cache/fscache
 +
 +/dev/zvol/ssdpool/var/cache/fscache: UUID="1924bc34-6503-40bd-b32f-359191f62c6a" BLOCK_SIZE="4096" TYPE="ext4"
 +</code>
 +
 +<file init /etc/fstab>
 +UUID=1924bc34-6503-40bd-b32f-359191f62c6a  /var/cache/fscache ext4 errors=remount-ro,relatime 0       0
 +</file>
 +
 +
 +
 +