[Linux-cachefs] debian-testing packages for fscache

Holger Kaelberer hkaelber at math.uni-bielefeld.de
Mon Sep 11 15:06:33 UTC 2006


As I finally managed to run fscache on debian I want to share my
debs with you:

http://www.math.uni-bielefeld.de/~hkaelber/fscache/

You need a running debian-etch-system in order to use them. They
consist of 4 parts:

linux-image-2.6.18-rc6-fsc14_custom.1_i386.deb: patched git-commit
10387e5eb45c6e48d67102b88229f5bc6037461c to which patchset14
applies. The config is (if I remember correctly) an oldconfig of a
custom-Debian-kernel with the necessary fsc-options set.

libc6*_2.3.999.2-12_i386.deb: glibc 2.3.999-backport from testing

nfs-utils-mount_1.0.9-6_i386.deb: stolen from the nfs-utils-rpm from
steved's page; I only took the mount-relevant parts

cachefilesd_0.6-1_i386.deb: from cachefilesd-rpm of steved's page,
with (quick-n-dirty) adjusted init-script. There is no
postinst-script, run update-rc.d if needed

You might have problems running this kernel on SATA-machines. I
could not use it there because of:

/---
ata2: SATA max UDMA/133, 156250000 secrots: LBA48 NCQ (depth 0/32)
ata2: port is slow to respond
ata2: SRST failed (status 0xFF)
ata2: SRST failed (err_mask=0x100)
ata2: softreset failed, retrying in 5 sec
---/

Usage:
======

/---
dpkg -i libc6_2.3.999.2-12_i386.deb cachefilesd_0.6-1_i386.deb linux-image-2.6.18-rc6-fsc14_custom.1_i386.deb nfs-utils-mount_1.0.9-6_i386.deb
mkdir /var/fscache
tune2fs -o user_xattr [DEVICE_BELOW_VAR_CACHE]
# update bootloader-conf 
reboot
/etc/init.d/cachefilesd start
# if it "...FAILED" check dmesg
mount -t nfs -o fsc NFS_SERVER:/NFS_VOLUME /mnt/nfs
---/

Thanks to Shaya Potter for the debian hints, to steved for the rpms
(the first version that worked for me) and -- first of all -- to
david and steve for developping! I am watching the list for months.

Holger.




More information about the Linux-cachefs mailing list