CacheFS hung up

From: Dinwiddie, Ron (TIFPC) (RDinwid@templeinland.com)
Date: Tue Aug 20 2002 - 12:37:31 EDT


All,

I have set up CacheFS on several of our remote systems and am having
problems with one of them that I can't shake loose.

On the master server, I have shared the file system as follows:

share -F nfs -o ro=<client server> /filesystem

on the client server, I set up the cached file system as follows:

mkdir /export/cache0
cfsadmin -c /cache/cache0
mkdir /export/mount-point
mount -F cachefs -o backfstype=nfs,cachedir=/cache/cache0,cacheid=data_cache
master:/filesystem /export/mount-point

When I first set this up, it worked fine, and even now everything looks ok
when I do the "share" command on the master and the "mount" on the client,
however:
- when I attempt to access the client directory, nothing happens and it
locks the window - I can't ^c out of the "cd /export/mount-point"
- fuser -cu /export/mount-point (just sits there)
- umount /export/mount-point (hangs)
- umount -f /export/mount-point (hangs)

I've stopped and started nfs.server on the master, nfs.client on the client,
unshared the filesystem on the master and re-shared it. The problem appears
to be on the client side, but I can't delete the cache until I can unmount
it. I can also mount the shared file system from the master to another
mount point and view the files.

Anyone have any ideas on how I might shake this puppy loose so I can unmount
it, delete it, and re-create it without having to reboot? (it's also set up
in the /etc/vfstab to mount at boot, so I know I will need to remove it if I
end up rebooting).

Any thoughts, ideas, or solutions are welcome.

Thanks,
Ron D.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:24:49 EDT