I have problem with mounting fsc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



my system Debian 4.0

i get vanilla kernel 2.6.26-rc1

i pathing this kernel by http://people.redhat.com/~dhowells/fscache/patches/nfs+fscache-38.tar.bz2 and build kernel and boot.

next compile cachefilesd-0.8 and util-linux-2.13-pre6 (http://people.redhat.com/~steved/fscache/util-linux/2.13-0.24.fsc/util-linux-2.13-0.24.fsc.src.rpm)

i using rpmbuild -bp and compile in debian system, next run this

client15:~# mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
tmpfs on /lib/init/rw type tmpfs (rw,nosuid,mode=0755)
proc on /proc type proc (rw,noexec,nosuid,nodev)
sysfs on /sys type sysfs (rw,noexec,nosuid,nodev)
procbususb on /proc/bus/usb type usbfs (rw)
udev on /dev type tmpfs (rw,mode=0755)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev)
devpts on /dev/pts type devpts (rw,noexec,nosuid,gid=5,mode=620)
/dev/sda3 on /var/cache/fscache type ext3 (rw,user_xattr)
rpc_pipefs on /var/lib/nfs/rpc_pipefs type rpc_pipefs (rw)
nfs0:/srv/home on /home type nfs (rw,hard,bg,intr,addr=192.168.0.2)
client15:~# umount /home
client15:~# /etc/init.d/nfs-common stop
Stopping NFS common utilities: idmapd statd.
client15:~# /etc/init.d/portmap stop
Stopping portmap daemon....
client15:~# modprobe cachefiles
client15:~# lsmod |grep cachefiles
cachefiles 48204 0
fscache 51916 2 cachefiles,nfs
client15:~# /usr/src/cachefilesd-0.8/cachefilesd -s -d -f /etc/cachefilesd.conf
About to bind cache
Bound cache
Daemon PID 9650
Daemon Started
Scan complete
client15:~# dmesg -c
[12268.494569] CacheFiles: Loaded
[12356.598883] FS-Cache: Cache "mycache" added (type cachefiles)
[12356.598933] CacheFiles: File cache on 08:03 registered
client15:~# /etc/init.d/portmap start
Starting portmap daemon....
client15:~# /etc/init.d/nfs-common start
Starting NFS common utilities: statd idmapd.
client15:~# mount -o fsc nfs0:/srv/home /home/Refilling cull table
nfs0:/srv/home on /home type nfs (rw,fsc,addr=192.168.0.100)
client15:~# ls /proc/fs/
fscache nfs nfsd nfsfs
client15:~# cat /proc/fs/nfsfs/volumes
NV SERVER PORT DEV FSID FSC
v3 c0a80064 801 0:18 fe00:0 no


cachefiles not working. i need help

PS: I used cachefilesd-0.9 and util-linux-2.13-pre6(fsc patch inc) also

--
Linux-cachefs mailing list
Linux-cachefs@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/linux-cachefs

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]
  Powered by Linux