<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=utf-8">
<META content="MSHTML 6.00.6000.16850" name=GENERATOR>
<STYLE>@font-face {
        font-family: 宋体;
}
@font-face {
        font-family: Verdana;
}
@font-face {
        font-family: @宋体;
}
@page Section1 {size: 595.3pt 841.9pt; margin: 72.0pt 90.0pt 72.0pt 90.0pt; layout-grid: 15.6pt; }
P.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
LI.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
DIV.MsoNormal {
        TEXT-JUSTIFY: inter-ideograph; FONT-SIZE: 10.5pt; MARGIN: 0cm 0cm 0pt; FONT-FAMILY: "Times New Roman"; TEXT-ALIGN: justify
}
A:link {
        COLOR: blue; TEXT-DECORATION: underline
}
SPAN.MsoHyperlink {
        COLOR: blue; TEXT-DECORATION: underline
}
A:visited {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.MsoHyperlinkFollowed {
        COLOR: purple; TEXT-DECORATION: underline
}
SPAN.EmailStyle17 {
        FONT-WEIGHT: normal; COLOR: windowtext; FONT-STYLE: normal; FONT-FAMILY: Verdana; TEXT-DECORATION: none; mso-style-type: personal-compose
}
DIV.Section1 {
        page: Section1
}
UNKNOWN {
        FONT-SIZE: 10pt
}
BLOCKQUOTE {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
        MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
</STYLE>
</HEAD>
<BODY style="FONT-SIZE: 10pt; MARGIN: 10px; FONT-FAMILY: verdana">
<DIV><FONT face=Verdana color=#000080 size=2>HI</FONT></DIV>
<DIV><FONT color=#000080> I use gluster2.0.3rc1 with fuse 2.8
in kernel
2.6.30(SUSE Linux Enterprise Server 10 SP1 with
kernel 2.6.30 ) . the mount message was :</FONT></DIV>
<DIV><FONT color=#000080> </DIV>
<DIV>/dev/hda4 on /data type reiserfs (rw,user_xattr)</DIV>
<DIV>glusterfs-client.vol.dht on /home type fuse.glusterfs (rw,allow_other,default_permissions,max_read=131072)</DIV>
<DIV> </DIV>
<DIV> </DIV>
<DIV></FONT> </DIV>
<DIV><FONT color=#000080> There was some error when i "touce 111" in
gluster directory ,the error was :</FONT></DIV>
<DIV><FONT
color=#000080> /home: Transport endpoint is not connected </FONT></DIV>
<DIV><FONT color=#000080> </DIV>
<DIV>pending frames:</DIV>
<DIV></DIV>
<DIV>patchset: e0db4ff890b591a58332994e37ce6db2bf430213</DIV>
<DIV>signal received: 11</DIV>
<DIV>configuration details:argp 1</DIV>
<DIV>backtrace 1</DIV>
<DIV>dlfcn 1</DIV>
<DIV>fdatasync 1</DIV>
<DIV>libpthread 1</DIV>
<DIV>llistxattr 1</DIV>
<DIV>setfsid 1</DIV>
<DIV>spinlock 1</DIV>
<DIV>epoll.h 1</DIV>
<DIV>xattr.h 1</DIV>
<DIV>st_atim.tv_nsec 1</DIV>
<DIV>package-string: glusterfs 2.0.3rc1</DIV>
<DIV>[0xffffe400]</DIV>
<DIV>/lib/glusterfs/2.0.3rc1/xlator/mount/fuse.so[0xb75c6288]</DIV>
<DIV>/lib/glusterfs/2.0.3rc1/xlator/performance/write-behind.so(wb_create_cbk+0xa7)[0xb75ccad7]</DIV>
<DIV>/lib/glusterfs/2.0.3rc1/xlator/performance/io-cache.so(ioc_create_cbk+0xde)[0xb7fbe8ae]</DIV>
<DIV>/lib/glusterfs/2.0.3rc1/xlator/performance/read-ahead.so(ra_create_cbk+0x167)[0xb7fc78b7]</DIV>
<DIV>/lib/glusterfs/2.0.3rc1/xlator/cluster/dht.so(dht_create_cbk+0xf7)[0xb75e25b7]</DIV>
<DIV>/lib/glusterfs/2.0.3rc1/xlator/protocol/client.so(client_create_cbk+0x2ad)[0xb76004ad]</DIV>
<DIV>/lib/glusterfs/2.0.3rc1/xlator/protocol/client.so(protocol_client_interpret+0x1ef)[0xb75ef8ff]</DIV>
<DIV>/lib/glusterfs/2.0.3rc1/xlator/protocol/client.so(protocol_client_pollin+0xcf)[0xb75efaef]</DIV>
<DIV>/lib/glusterfs/2.0.3rc1/xlator/protocol/client.so(notify+0x1ec)[0xb75f6ddc]</DIV>
<DIV>/lib/glusterfs/2.0.3rc1/transport/socket.so(socket_event_poll_in+0x3b)[0xb75b775b]</DIV>
<DIV>/lib/glusterfs/2.0.3rc1/transport/socket.so(socket_event_handler+0xae)[0xb75b7b8e]</DIV>
<DIV>/lib/libglusterfs.so.0[0xb7facbda]</DIV>
<DIV>/lib/libglusterfs.so.0(event_dispatch+0x21)[0xb7fabac1]</DIV>
<DIV>glusterfs(main+0xc2e)[0x804b6ae]</DIV>
<DIV>/lib/libc.so.6(__libc_start_main+0xdc)[0xb7e6087c]</DIV>
<DIV>glusterfs[0x8049c11]</DIV>
<DIV>---------</DIV></FONT>
<DIV><FONT face=Verdana color=#000080 size=2></FONT> </DIV>
<DIV><FONT face=Verdana color=#000080 size=2>the server
configuration</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV>
<DIV>gfs1:/ # cat /etc/glusterfs/glusterfsd-sever.vol </DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>volume posix1</DIV>
<DIV> type storage/posix # POSIX FS translator</DIV>
<DIV> option directory /data/data1 # Export this directory</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume posix2</DIV>
<DIV> type storage/posix # POSIX FS translator</DIV>
<DIV> option directory /data/data2 # Export this directory</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume posix3</DIV>
<DIV> type storage/posix # POSIX FS translator</DIV>
<DIV> option directory /data/data3 # Export this directory</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume posix4</DIV>
<DIV> type storage/posix # POSIX FS translator</DIV>
<DIV> option directory /data/data4 # Export this directory</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume posix5</DIV>
<DIV> type storage/posix # POSIX FS translator</DIV>
<DIV> option directory /data/data5 # Export this directory</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume posix6</DIV>
<DIV> type storage/posix # POSIX FS translator</DIV>
<DIV> option directory /data/data6 # Export this directory</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume posix7</DIV>
<DIV> type storage/posix # POSIX FS translator</DIV>
<DIV> option directory /data/data7 # Export this directory</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume posix8</DIV>
<DIV> type storage/posix # POSIX FS translator</DIV>
<DIV> option directory /data/data8 # Export this directory</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume brick1</DIV>
<DIV> type features/posix-locks</DIV>
<DIV> option mandatory-locks on # enables mandatory locking on all files</DIV>
<DIV> subvolumes posix1</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume brick2</DIV>
<DIV> type features/posix-locks</DIV>
<DIV> option mandatory-locks on # enables mandatory locking on all files</DIV>
<DIV> subvolumes posix2</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume brick3</DIV>
<DIV> type features/posix-locks</DIV>
<DIV> option mandatory-locks on # enables mandatory locking on all files</DIV>
<DIV> subvolumes posix3</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume brick4</DIV>
<DIV> type features/posix-locks</DIV>
<DIV> option mandatory-locks on # enables mandatory locking on all files</DIV>
<DIV> subvolumes posix4</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume brick5</DIV>
<DIV> type features/posix-locks</DIV>
<DIV> option mandatory-locks on # enables mandatory locking on all files</DIV>
<DIV> subvolumes posix5</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume brick6</DIV>
<DIV> type features/posix-locks</DIV>
<DIV> option mandatory-locks on # enables mandatory locking on all files</DIV>
<DIV> subvolumes posix6</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume brick7</DIV>
<DIV> type features/posix-locks</DIV>
<DIV> option mandatory-locks on # enables mandatory locking on all files</DIV>
<DIV> subvolumes posix7</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume brick8</DIV>
<DIV> type features/posix-locks</DIV>
<DIV> option mandatory-locks on # enables mandatory locking on all files</DIV>
<DIV> subvolumes posix8</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>### Add network serving capability to above brick.</DIV>
<DIV>volume server</DIV>
<DIV> type protocol/server</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option transport.socket.bind-address 172.20.92.240 # Default is to listen on all interfaces</DIV>
<DIV> option transport.socket.listen-port 6996 # Default is 6996</DIV>
<DIV> subvolumes brick1 brick2 brick3 brick4 </DIV>
<DIV> option auth.addr.brick1.allow * # Allow access to "brick" volume</DIV>
<DIV> option auth.addr.brick2.allow * # Allow access to "brick" volume</DIV>
<DIV> option auth.addr.brick3.allow * # Allow access to "brick" volume</DIV>
<DIV> option auth.addr.brick4.allow * # Allow access to "brick" volume</DIV>
<DIV> option auth.addr.brick5.allow * # Allow access to "brick" volume</DIV>
<DIV> option auth.addr.brick6.allow * # Allow access to "brick" volume</DIV>
<DIV> option auth.addr.brick7.allow * # Allow access to "brick" volume</DIV>
<DIV> option auth.addr.brick8.allow * # Allow access to "brick" volume</DIV>
<DIV>end-volume</DIV>
<DIV> </DIV>
<DIV><FONT color=#000080>the client configuration:</FONT></DIV>
<DIV><FONT color=#000080></FONT> </DIV>
<DIV>
<DIV>gfs1:/ # cat /etc/glusterfs/glusterfs-client.vol.dht </DIV>
<DIV></DIV>
<DIV>volume client1</DIV>
<DIV> type protocol/client</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option remote-host 172.20.92.240 # IP address of the remote brick2</DIV>
<DIV> option remote-port 6996</DIV>
<DIV> option remote-subvolume brick1 # name of the remote volume</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client2</DIV>
<DIV> type protocol/client</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option remote-host 172.20.92.240 # IP address of the remote brick2</DIV>
<DIV> option remote-port 6996</DIV>
<DIV> #option transport-timeout 10 # seconds to wait for a reply</DIV>
<DIV> option remote-subvolume brick2 # name of the remote volume</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client3</DIV>
<DIV> type protocol/client</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option remote-host 172.20.92.240 # IP address of the remote brick2</DIV>
<DIV> option remote-port 6996</DIV>
<DIV> #option transport-timeout 10 # seconds to wait for a reply</DIV>
<DIV> option remote-subvolume brick3 # name of the remote volume</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client4</DIV>
<DIV> type protocol/client</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option remote-host 172.20.92.240 # IP address of the remote brick2</DIV>
<DIV> option remote-port 6996</DIV>
<DIV> #option transport-timeout 10 # seconds to wait for a reply</DIV>
<DIV> option remote-subvolume brick4 # name of the remote volume</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client5</DIV>
<DIV> type protocol/client</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option remote-host 172.20.92.240 # IP address of the remote brick2</DIV>
<DIV> option remote-port 6996</DIV>
<DIV> #option transport-timeout 10 # seconds to wait for a reply</DIV>
<DIV> option remote-subvolume brick1 # name of the remote volume</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client6</DIV>
<DIV> type protocol/client</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option remote-host 172.20.92.240 # IP address of the remote brick2</DIV>
<DIV> option remote-port 6996</DIV>
<DIV> #option transport-timeout 10 # seconds to wait for a reply</DIV>
<DIV> option remote-subvolume brick2 # name of the remote volume</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client7</DIV>
<DIV> type protocol/client</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option remote-host 172.20.92.240 # IP address of the remote brick2</DIV>
<DIV> option remote-port 6996</DIV>
<DIV> #option transport-timeout 10 # seconds to wait for a reply</DIV>
<DIV> option remote-subvolume brick3 # name of the remote volume</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV>volume client8</DIV>
<DIV> type protocol/client</DIV>
<DIV> option transport-type tcp</DIV>
<DIV> option remote-host 172.20.92.240 # IP address of the remote brick2</DIV>
<DIV> option remote-port 6996</DIV>
<DIV> #option transport-timeout 10 # seconds to wait for a reply</DIV>
<DIV> option remote-subvolume brick4 # name of the remote volume</DIV>
<DIV>end-volume</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>#volume afr3</DIV>
<DIV># type cluster/afr</DIV>
<DIV># subvolumes client3 client6</DIV>
<DIV>#end-volume</DIV>
<DIV></DIV>
<DIV></DIV>
<DIV>volume dht </DIV>
<DIV> type cluster/dht</DIV>
<DIV> option lookup-unhashed yes</DIV>
<DIV> subvolumes client1 client2 client3 client4 </DIV>
<DIV>end-volume</DIV>
<DIV> </DIV>
<DIV>Could you help me ?</DIV></DIV></DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2></FONT> </DIV>
<DIV><FONT color=#c0c0c0></FONT> </DIV>
<DIV><FONT color=#c0c0c0></FONT> </DIV>
<DIV><FONT face=Verdana color=#c0c0c0 size=2>2009-07-06 </FONT></DIV><FONT
face=Verdana color=#000080 size=2>
<HR style="WIDTH: 100px" align=left color=#b5c4df SIZE=1>
</FONT>
<DIV><FONT face=Verdana color=#c0c0c0 size=2><SPAN>eagleeyes</SPAN>
</FONT></DIV>
<HR color=#b5c4df SIZE=1>
<DIV><FONT face=Verdana size=2><STRONG>发件人:</STRONG> Sachidananda </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>发送时间:</STRONG> 2009-07-04 11:39:03
</FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>收件人:</STRONG> eagleeyes </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>抄送:</STRONG> gluster-users </FONT></DIV>
<DIV><FONT face=Verdana size=2><STRONG>主题:</STRONG> Re: [Gluster-users] HELP :
Files lost after DHT expansion </FONT></DIV>
<DIV><FONT face=Verdana size=2></FONT> </DIV>
<DIV><FONT face=Verdana size=2>
<DIV>Hi,</DIV>
<DIV></DIV>
<DIV>eagleeyes wrote:</DIV>
<DIV> > When i update to gluster2.0.3 ,after dht expansion ,double directorys</DIV>
<DIV> > appear in the gluster directory ,why ?</DIV>
<DIV> ></DIV>
<DIV> > client configure</DIV>
<DIV> > volume dht</DIV>
<DIV> > type cluster/dht</DIV>
<DIV> > option lookup-unhashed yes</DIV>
<DIV> > option min-free-disk 10%</DIV>
<DIV> > subvolumes client1 client2 client3 client4 client5 client6 client7 </DIV>
<DIV>client8</DIV>
<DIV> > #subvolumes client1 client2 client3 client4</DIV>
<DIV> > end-volume</DIV>
<DIV> ></DIV>
<DIV> ></DIV>
<DIV></DIV>
<DIV>Can you please send us your server/client volume files?</DIV>
<DIV></DIV>
<DIV>--</DIV>
<DIV>Sachidananda.</DIV></FONT></DIV></BODY></HTML>