[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gfarm-discuss:05483] Re: gfarm-fuse & freebsd 6.1
- From: Kulikov Andrei <avk@xxxxxxxxxxxxxxx>
- Date: Wed, 22 Nov 2006 09:41:02 +0300
> Hi!
> I'am trying to use Gfarm 1.4 with gfuse 1.3.1 on Freebsd 6.1.
> Gfarm was built from source. Fuse was installed from ports and "hello" test works fine.
> I had some troubles with configure while installing gfuse. But setup completed and seems that all is ok.
>
> with gfreg:
> $gfreg test.txt gfarm:test.txt
> $gfls gfarm:test.txt
> gfarm:test.txt
>
> mount gfarm with gfuse:
> $gfarmfs /tmp/fuse
> $ls /tmp/fuse
> test.txt
>
> file exist. but when i tried to create another file in /tmp/fuse with touch, it got error:
> $cd /tmp/fuse
> $touch file
> touch: file: No such file or directory
> Also cp,cat,mv got the same error.
> But mkdir command goes well.
problem was solved. I replaced the string -DFUSE_USE_VERSION=22 with -DFUSE_USE_VERSION=25 in Makefile and recompiled Gfarmfs.
Configure skript is buggy?
btw, freebsd uses the include file <sys/mount.h> instead of <sys/statfs.h>.
check it:
#ifdef USE_GFS_STATFSNODE
#ifndef __FreeBSD__
#include <sys/statfs.h>
#else
#include <sys/param.h>
#include <sys/mount.h>
#endif
#endif
heh, but df -h doesn't show bytes. why? :(
[root@c10:/tmp/fuse]#df -h
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1a 496M 325M 131M 71% /
devfs 1.0K 1.0K 0B 100% /dev
/dev/ad0s1g 58G 3.7G 50G 7% /home
/dev/ad0s1d 989M 143M 767M 16% /tmp
/dev/ad0s1f 9.5G 3.3G 5.4G 37% /usr
/dev/ad0s1e 1.9G 99M 1.7G 5% /var
unix.sk:/usr/ports 48G 37G 7.7G 83% /usr/ports
unix.sk:/usr/ftp 48G 37G 7.7G 83% /mnt/ftp
/dev/fuse0 0B 0B 0B 4% /tmp/fuse
--
Kulikov Andrei