That did it... I can now mount it. Only thing is that (1) fuse is really slow -- even more slow that usual and (2) lots of functions seem like they are not implimented.

Is there somewhere I can receive a list of the limitations of kfs fuse? (Or a TODO or something like that)

Thanks so much,
Jordan

On Fri, Apr 11, 2008 at 9:07 PM, Sriram Rao <sriramsrao@gmail.com> wrote:
HI,

kfs_fuse is looking for a file "kfs.prp" in the current directory (see
src/cc/fuse/kfs_fuse_main.cc : fuse_init() method). The properties
file should have the following entries:

metaServer.name = <location of the metaserver>
metaServer.port = <port at which the metaserver accepts connections>

Can you create the file with these entries and see what gives?

Sriram

On Fri, Apr 11, 2008 at 8:36 PM, Jordan Mendler <jmendler@ucla.edu> wrote:
> Hi all,
>
> I installed KFS and it seems to work across two nodes, but I can't get Fuse
> to work.
>
> From either node I can do a KfsPing and get the following results:
> [root@storage-0-01 kfs_JMM]# ./build/bin/tools/KfsPing -m -s storage-0-02 -p
> 20000
>  s=storage-0-01, p=30000, total=10000(GB), used=0(GB), util=0%
> s=storage-0-02, p=30000, total=10000(GB), used=0(GB), util=0%
>
>
> When I try mounting with FUSE using debugging the following happens:
> [root@storage-0-02 bin]# ./kfs_fuse -d /kfs/
>  unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
> INIT: 7.8
> flags=0x00000003
> max_readahead=0x00020000
> Properties::loadProperties() Could not open the file:./kfs.prp
>    INIT: 7.8
>    flags=0x00000000
>     max_readahead=0x00020000
>    max_write=0x00020000
>    unique: 1, error: 0 (Success), outsize: 40
> unique: 2, opcode: STATFS (17), nodeid: 1, insize: 40
>    unique: 2, error: 0 (Success), outsize: 96
>
>
>  I can then see it mounted when i do a 'mount' command:
> fuse on /kfs type fuse (rw,nosuid,nodev)
>
>
> if I try to do an ls, cp, etc however I get an error:
> [root@storage-0-02 ~]# cp -av /root/dist/kfs-0.1.2.tar.gz /kfs
>  cp: accessing `/kfs': Transport endpoint is not connected
> [root@storage-0-02 ~]# ls /kfs
> ls: /kfs: Transport endpoint is not connected
> [root@storage-0-02 ~]#
>
>
> Does anyone know what is happening here and how I can solve this problem?
>
> Thanks so much,
> Jordan
>
> -------------------------------------------------------------------------
>  This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
>  Don't miss this year's exciting event. There's still time to save $100.
>  Use priority code J8TL2D2.
>
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
>  Kosmosfs-users mailing list
>  Kosmosfs-users@lists.sourceforge.net
>  https://lists.sourceforge.net/lists/listinfo/kosmosfs-users
>
>