<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML xmlns:o = "urn:schemas-microsoft-com:office:office"><HEAD>
<META content="text/html; charset=gb2312" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18783"><LINK rel=stylesheet
href="BLOCKQUOTE{margin-Top: 0px; margin-Bottom: 0px; margin-Left: 2em}"></HEAD>
<BODY
style="MARGIN-TOP: 10px; FONT-FAMILY: verdana; MARGIN-LEFT: 10px; FONT-SIZE: 10pt; MARGIN-RIGHT: 10px">
<DIV>who is useing glusterfs 2.02 on freebsd 7.3? </DIV>
<DIV>I install glusterfs2.0.2 on freebsd 7.3</DIV>
<DIV> </DIV>
<DIV>
<DIV>make -C /usr/ports/sysutils/fusefs-kmod install clean</DIV>
<DIV>make -C /usr/ports/devel/bison install clean</DIV>
<DIV>make -C /usr/ports/databases/db47/ install clean</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>echo 'fusefs_enable="YES"'>>/etc/rc.conf </DIV>
<DIV></DIV>
<DIV>bash</DIV>
<DIV></DIV>
<DIV>export CFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer" </DIV>
<DIV>export CXXFLAGS="-march=nocona -O2 -pipe -fomit-frame-pointer"</DIV>
<DIV>export LDFLAGS=ˇ±-L/usr/local/lib -liconvˇ±</DIV>
<DIV>export CFLAGS=ˇ±-I/usr/local/include/ˇ±</DIV>
<DIV></DIV>
<DIV>./configure --enable-fuse-client --enable-bdb --enable-libglusterfsclient --prefix=/usr/local/glusterfs</DIV>
<DIV>/*</DIV>
<DIV>
<DIV>GlusterFS configure summary</DIV>
<DIV>===========================</DIV>
<DIV>FUSE client : yes</DIV>
<DIV>Infiniband verbs : no</DIV>
<DIV>epoll IO multiplex : no</DIV>
<DIV>Berkeley-DB : no</DIV>
<DIV>libglusterfsclient : no</DIV>
<DIV>mod_glusterfs : no (2.0)</DIV>
<DIV>argp-standalone : yes</DIV></DIV>
<DIV>*/</DIV>
<DIV>make</DIV>
<DIV>make install</DIV>
<DIV>ln -s /usr/local/glusterfs/sbin/glusterfs* /bin/</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>glusterfs -f www-c-photo.vol /mnt/ </DIV>
<DIV> </DIV>
<DIV>
<DIV>
<DIV># df -h /mnt/</DIV>
<DIV>Filesystem Size Used Avail Capacity Mounted on</DIV>
<DIV>/dev/fuse0 6.4T 2.6T 3.8T 41% /mnt</DIV></DIV>
<DIV> </DIV>
<DIV>
<DIV>
<DIV># ls</DIV>
<DIV>ls: .: Socket is not connected</DIV>
<DIV># pwd</DIV>
<DIV>/mnt</DIV>
<DIV> </DIV>
<DIV>the glusterfs server is centos4.6 and this
www-c-photo.vol useing on centos 4.6 is ok</DIV>
<DIV> </DIV>
<DIV>what's wrong?</DIV></DIV></DIV>
<DIV> </DIV></DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV>
<DIV># cat www-c-photo.vol </DIV>
<DIV>################client41</DIV>
<DIV></DIV>
<DIV>volume client41-ns</DIV>
<DIV>type protocol/client</DIV>
<DIV>option transport-type tcp/client</DIV>
<DIV>option remote-host 10.15.184.141 # IP address of the remote brick </DIV>
<DIV>option remote-port 6990 # default server port is 6996 </DIV>
<DIV>option remote-subvolume brick</DIV>
<DIV>option ping-timeout 240</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client41-1</DIV>
<DIV>type protocol/client</DIV>
<DIV>option transport-type tcp/client</DIV>
<DIV>option remote-host 10.15.184.141 # IP address of the remote brick </DIV>
<DIV>option remote-port 6991 # default server port is 6996 </DIV>
<DIV>option remote-subvolume brick</DIV>
<DIV>option ping-timeout 240</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client41-2</DIV>
<DIV>type protocol/client</DIV>
<DIV>option transport-type tcp/client</DIV>
<DIV>option remote-host 10.15.184.141 # IP address of the remote brick </DIV>
<DIV>option remote-port 6992 # default server port is 6996 </DIV>
<DIV>option remote-subvolume brick</DIV>
<DIV>option ping-timeout 240</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client41-3</DIV>
<DIV>type protocol/client</DIV>
<DIV>option transport-type tcp/client</DIV>
<DIV>option remote-host 10.15.184.141 # IP address of the remote brick </DIV>
<DIV>option remote-port 6993 # default server port is 6996 </DIV>
<DIV>option remote-subvolume brick</DIV>
<DIV>option ping-timeout 240</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client41-4</DIV>
<DIV>type protocol/client</DIV>
<DIV>option transport-type tcp/client</DIV>
<DIV>option remote-host 10.15.184.141 # IP address of the remote brick </DIV>
<DIV>option remote-port 6994 # default server port is 6996 </DIV>
<DIV>option remote-subvolume brick</DIV>
<DIV>option ping-timeout 240</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client41-5</DIV>
<DIV>type protocol/client</DIV>
<DIV>option transport-type tcp/client</DIV>
<DIV>option remote-host 10.15.184.141 # IP address of the remote brick</DIV>
<DIV>option remote-port 6995 # default server port is 6996</DIV>
<DIV>option remote-subvolume brick</DIV>
<DIV>option ping-timeout 240</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client41-6</DIV>
<DIV>type protocol/client</DIV>
<DIV>option transport-type tcp/client</DIV>
<DIV>option remote-host 10.15.184.141 # IP address of the remote brick</DIV>
<DIV>option remote-port 6996 # default server port is 6996</DIV>
<DIV>option remote-subvolume brick</DIV>
<DIV>option ping-timeout 240</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client41-7</DIV>
<DIV>type protocol/client</DIV>
<DIV>option transport-type tcp/client</DIV>
<DIV>option remote-host 10.15.184.141 # IP address of the remote brick</DIV>
<DIV>option remote-port 6997 # default server port is 6996</DIV>
<DIV>option remote-subvolume brick</DIV>
<DIV>option ping-timeout 240</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>################client64 </DIV>
<DIV></DIV>
<DIV>volume client64-ns</DIV>
<DIV>type protocol/client</DIV>
<DIV>option transport-type tcp/client</DIV>
<DIV>option remote-host 10.15.184.164 # IP address of the remote brick</DIV>
<DIV>option remote-port 6990 # default server port is 6996</DIV>
<DIV>option remote-subvolume brick</DIV>
<DIV>option ping-timeout 240</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client64-1</DIV>
<DIV>type protocol/client</DIV>
<DIV>option transport-type tcp/client</DIV>
<DIV>option remote-host 10.15.184.164 # IP address of the remote brick</DIV>
<DIV>option remote-port 6991 # default server port is 6996</DIV>
<DIV>option remote-subvolume brick</DIV>
<DIV>option ping-timeout 240</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client64-2</DIV>
<DIV>type protocol/client</DIV>
<DIV>option transport-type tcp/client</DIV>
<DIV>option remote-host 10.15.184.164 # IP address of the remote brick</DIV>
<DIV>option remote-port 6992 # default server port is 6996</DIV>
<DIV>option remote-subvolume brick</DIV>
<DIV>option ping-timeout 240</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client64-3</DIV>
<DIV>type protocol/client</DIV>
<DIV>option transport-type tcp/client</DIV>
<DIV>option remote-host 10.15.184.164 # IP address of the remote brick</DIV>
<DIV>option remote-port 6993 # default server port is 6996</DIV>
<DIV>option remote-subvolume brick</DIV>
<DIV>option ping-timeout 240</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client64-4</DIV>
<DIV>type protocol/client</DIV>
<DIV>option transport-type tcp/client</DIV>
<DIV>option remote-host 10.15.184.164 # IP address of the remote brick</DIV>
<DIV>option remote-port 6994 # default server port is 6996</DIV>
<DIV>option remote-subvolume brick</DIV>
<DIV>option ping-timeout 240</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client64-5</DIV>
<DIV>type protocol/client</DIV>
<DIV>option transport-type tcp/client</DIV>
<DIV>option remote-host 10.15.184.164 # IP address of the remote brick</DIV>
<DIV>option remote-port 6995 # default server port is 6996</DIV>
<DIV>option remote-subvolume brick</DIV>
<DIV>option ping-timeout 240</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client64-6</DIV>
<DIV>type protocol/client</DIV>
<DIV>option transport-type tcp/client</DIV>
<DIV>option remote-host 10.15.184.164 # IP address of the remote brick</DIV>
<DIV>option remote-port 6996 # default server port is 6996</DIV>
<DIV>option remote-subvolume brick</DIV>
<DIV>option ping-timeout 240</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client64-7</DIV>
<DIV>type protocol/client</DIV>
<DIV>option transport-type tcp/client</DIV>
<DIV>option remote-host 10.15.184.164 # IP address of the remote brick</DIV>
<DIV>option remote-port 6997 # default server port is 6996</DIV>
<DIV>option remote-subvolume brick</DIV>
<DIV>option ping-timeout 240</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>#</DIV>
<DIV>volume replicate-ns</DIV>
<DIV>type cluster/replicate</DIV>
<DIV>subvolumes client41-ns client64-ns</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume replicate1</DIV>
<DIV>type cluster/replicate</DIV>
<DIV>subvolumes client41-1 client64-1</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume replicate2</DIV>
<DIV>type cluster/replicate</DIV>
<DIV>subvolumes client41-2 client64-2</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume replicate3</DIV>
<DIV>type cluster/replicate</DIV>
<DIV>subvolumes client41-3 client64-3</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume replicate4</DIV>
<DIV>type cluster/replicate</DIV>
<DIV>subvolumes client41-4 client64-4</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume replicate5</DIV>
<DIV>type cluster/replicate</DIV>
<DIV>subvolumes client41-5 client64-5</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume replicate6</DIV>
<DIV>type cluster/replicate</DIV>
<DIV>subvolumes client41-6 client64-6</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume replicate7</DIV>
<DIV>type cluster/replicate</DIV>
<DIV>subvolumes client41-7 client64-7</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>#volume bdb </DIV>
<DIV>#type storage/bdb</DIV>
<DIV>#option directory /tmp/bdb-export</DIV>
<DIV>##option transaction off # default is on </DIV>
<DIV>#option cache on</DIV>
<DIV>#option access-mode btree # default will be hash </DIV>
<DIV>#option checkpoint-timeout 10 # default is 30seconds </DIV>
<DIV>##option file-mode 0644 # default is 0644 </DIV>
<DIV>##option dir-mode 0755 # default is 0755 </DIV>
<DIV>#option ru-limit 200 # default is 100 </DIV>
<DIV>##option errfile /tmp/bdberrlog # default is /dev/null? </DIV>
<DIV>##option logdir /tmp/dbd-logdir # default is <dir> in 'option directory <dir>'</DIV>
<DIV>#end-volume</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>volume unifys </DIV>
<DIV>type cluster/unify</DIV>
<DIV>subvolumes replicate1 replicate2 replicate3 replicate4 replicate5 replicate6 replicate7</DIV>
<DIV>#option self-heal off</DIV>
<DIV>option scheduler alu </DIV>
<DIV>option scheduler.alu.order disk-usage:read-usage:write-usage:open-files-usage:disk-speed-usage</DIV>
<DIV>option scheduler.limits.min-free-disk 5%</DIV>
<DIV>option scheduler.refresh-interval 600sec</DIV>
<DIV>option namespace replicate-ns</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>#volume iot</DIV>
<DIV>#type performance/io-threads</DIV>
<DIV>#subvolumes unifys </DIV>
<DIV>#option thread-count 16</DIV>
<DIV>#end-volume</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>#volume ra</DIV>
<DIV>#type performance/read-ahead</DIV>
<DIV>#subvolumes iot </DIV>
<DIV>#end-volume</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>volume cache</DIV>
<DIV>type performance/io-cache</DIV>
<DIV>option cache-size 512MB</DIV>
<DIV>subvolumes unifys</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>volume fixed</DIV>
<DIV> type features/filter</DIV>
<DIV> option fixed-uid 48 </DIV>
<DIV> option fixed-gid 48 </DIV>
<DIV> subvolumes cache</DIV>
<DIV>end-volume</DIV></DIV></DIV></BODY></HTML>