install glustefs2.02 on freebsd

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

 



who is useing glusterfs 2.02 on freebsd 7.3? 
I install glusterfs2.0.2 on freebsd 7.3

make -C /usr/ports/sysutils/fusefs-kmod install clean
make -C /usr/ports/devel/bison install clean
make -C  /usr/ports/databases/db47/  install clean
echo 'fusefs_enable="YES"'>>/etc/rc.conf 
bash
export CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" 
export CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"
export LDFLAGS=?-L/usr/local/lib -liconv?
export CFLAGS=?-I/usr/local/include/?
./configure --enable-fuse-client --enable-bdb --enable-libglusterfsclient  --prefix=/usr/local/glusterfs
/*
GlusterFS configure summary
===========================
FUSE client        : yes
Infiniband verbs   : no
epoll IO multiplex : no
Berkeley-DB        : no
libglusterfsclient : no
mod_glusterfs      : no (2.0)
argp-standalone    : yes
*/
make
make install
ln -s /usr/local/glusterfs/sbin/glusterfs* /bin/


glusterfs -f www-c-photo.vol /mnt/ 

# df -h /mnt/
Filesystem    Size    Used   Avail Capacity  Mounted on
/dev/fuse0    6.4T    2.6T    3.8T    41%    /mnt

# ls
ls: .: Socket is not connected
# pwd
/mnt

the glusterfs server is centos4.6 and  this www-c-photo.vol useing on centos 4.6 is  ok

what's wrong?



# cat www-c-photo.vol 
################client41
volume client41-ns
type protocol/client
option transport-type tcp/client
option remote-host 10.15.184.141 # IP address of the remote brick 
option remote-port 6990 # default server port is 6996 
option remote-subvolume brick
option ping-timeout 240
end-volume
volume client41-1
type protocol/client
option transport-type tcp/client
option remote-host 10.15.184.141 # IP address of the remote brick 
option remote-port 6991 # default server port is 6996 
option remote-subvolume brick
option ping-timeout 240
end-volume
volume client41-2
type protocol/client
option transport-type tcp/client
option remote-host 10.15.184.141 # IP address of the remote brick 
option remote-port 6992 # default server port is 6996 
option remote-subvolume brick
option ping-timeout 240
end-volume
volume client41-3
type protocol/client
option transport-type tcp/client
option remote-host 10.15.184.141 # IP address of the remote brick 
option remote-port 6993 # default server port is 6996 
option remote-subvolume brick
option ping-timeout 240
end-volume
volume client41-4
type protocol/client
option transport-type tcp/client
option remote-host 10.15.184.141 # IP address of the remote brick 
option remote-port 6994 # default server port is 6996 
option remote-subvolume brick
option ping-timeout 240
end-volume
volume client41-5
type protocol/client
option transport-type tcp/client
option remote-host 10.15.184.141 # IP address of the remote brick
option remote-port 6995 # default server port is 6996
option remote-subvolume brick
option ping-timeout 240
end-volume
volume client41-6
type protocol/client
option transport-type tcp/client
option remote-host 10.15.184.141 # IP address of the remote brick
option remote-port 6996 # default server port is 6996
option remote-subvolume brick
option ping-timeout 240
end-volume
volume client41-7
type protocol/client
option transport-type tcp/client
option remote-host 10.15.184.141 # IP address of the remote brick
option remote-port 6997 # default server port is 6996
option remote-subvolume brick
option ping-timeout 240
end-volume
################client64 
volume client64-ns
type protocol/client
option transport-type tcp/client
option remote-host 10.15.184.164 # IP address of the remote brick
option remote-port 6990 # default server port is 6996
option remote-subvolume brick
option ping-timeout 240
end-volume
volume client64-1
type protocol/client
option transport-type tcp/client
option remote-host 10.15.184.164 # IP address of the remote brick
option remote-port 6991 # default server port is 6996
option remote-subvolume brick
option ping-timeout 240
end-volume
volume client64-2
type protocol/client
option transport-type tcp/client
option remote-host 10.15.184.164 # IP address of the remote brick
option remote-port 6992 # default server port is 6996
option remote-subvolume brick
option ping-timeout 240
end-volume
volume client64-3
type protocol/client
option transport-type tcp/client
option remote-host 10.15.184.164 # IP address of the remote brick
option remote-port 6993 # default server port is 6996
option remote-subvolume brick
option ping-timeout 240
end-volume
volume client64-4
type protocol/client
option transport-type tcp/client
option remote-host 10.15.184.164 # IP address of the remote brick
option remote-port 6994 # default server port is 6996
option remote-subvolume brick
option ping-timeout 240
end-volume
volume client64-5
type protocol/client
option transport-type tcp/client
option remote-host 10.15.184.164 # IP address of the remote brick
option remote-port 6995 # default server port is 6996
option remote-subvolume brick
option ping-timeout 240
end-volume
volume client64-6
type protocol/client
option transport-type tcp/client
option remote-host 10.15.184.164 # IP address of the remote brick
option remote-port 6996 # default server port is 6996
option remote-subvolume brick
option ping-timeout 240
end-volume
volume client64-7
type protocol/client
option transport-type tcp/client
option remote-host 10.15.184.164 # IP address of the remote brick
option remote-port 6997 # default server port is 6996
option remote-subvolume brick
option ping-timeout 240
end-volume
#
volume replicate-ns
type cluster/replicate
subvolumes client41-ns  client64-ns
end-volume
volume replicate1
type cluster/replicate
subvolumes client41-1  client64-1
end-volume
volume replicate2
type cluster/replicate
subvolumes client41-2  client64-2
end-volume
volume replicate3
type cluster/replicate
subvolumes client41-3  client64-3
end-volume
volume replicate4
type cluster/replicate
subvolumes client41-4  client64-4
end-volume
volume replicate5
type cluster/replicate
subvolumes client41-5  client64-5
end-volume
volume replicate6
type cluster/replicate
subvolumes client41-6  client64-6
end-volume
volume replicate7
type cluster/replicate
subvolumes client41-7  client64-7
end-volume
#volume bdb  
#type storage/bdb
#option directory /tmp/bdb-export
##option transaction off   # default is on  
#option cache on
#option access-mode btree # default will be hash  
#option checkpoint-timeout 10 # default is 30seconds  
##option file-mode 0644  # default is 0644  
##option dir-mode 0755   # default is 0755  
#option ru-limit 200    # default is 100  
##option errfile /tmp/bdberrlog # default is /dev/null?  
##option logdir /tmp/dbd-logdir # default is <dir> in 'option directory <dir>'
#end-volume
volume unifys 
type cluster/unify
subvolumes replicate1 replicate2 replicate3 replicate4  replicate5  replicate6  replicate7
#option self-heal off
option scheduler alu 
option scheduler.alu.order disk-usage:read-usage:write-usage:open-files-usage:disk-speed-usage
option scheduler.limits.min-free-disk  5%
option scheduler.refresh-interval 600sec
option namespace replicate-ns
end-volume
#volume iot
#type performance/io-threads
#subvolumes unifys 
#option thread-count 16
#end-volume
#volume ra
#type performance/read-ahead
#subvolumes iot 
#end-volume
volume cache
type performance/io-cache
option cache-size 512MB
subvolumes unifys
end-volume
volume fixed
 type features/filter
 option fixed-uid 48 
 option fixed-gid 48 
 subvolumes cache
end-volume
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zresearch.com/pipermail/gluster-users/attachments/20090625/6e0f58b9/attachment-0001.htm>


[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux