Cachefilesd for Network filesystems

10 GB Cache

dd if=/dev/zero of=/var/cache/loopback.img bs=1M count=10000
mkfs.ext3 -m 0 /var/cache/loopback.img

/etc/fstab entry

/var/cache/loopback.img  /var/cache/fscache  ext3  loop,auto,defaults,user_xattr  0  0

Afterwards

mount -a

Install cache-fs daemon

apt-get install cachefilesd

/etc/default/cachefilesd should have “RUN=yes” uncommented.

Now start cachefilesd

service cachefilesd start
/var/customers/webs/cw01/wiki/data/pages/filesystems/cachefilesd.txt · Last modified: 2015/04/27 15:34 by wadmin
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Noncommercial-Share Alike 3.0 Unported
Recent changes RSS feed Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki