[Gluster-users] HELP : Files lost after DHT expansion

eagleeyes eagleeyes at 126.com
Mon Jul 6 01:22:20 UTC 2009


gfs1:~ # cat /etc/glusterfs/glusterfsd-sever.vol 
volume posix1
  type storage/posix                   # POSIX FS translator
  option directory /data/data1        # Export this directory
end-volume
volume posix2
  type storage/posix                   # POSIX FS translator
  option directory /data/data2        # Export this directory
end-volume
volume posix3
  type storage/posix                   # POSIX FS translator
  option directory /data/data3        # Export this directory
end-volume
volume posix4
  type storage/posix                   # POSIX FS translator
  option directory /data/data4        # Export this directory
end-volume
volume posix5
  type storage/posix                   # POSIX FS translator
  option directory /data/data5        # Export this directory
end-volume
volume posix6
  type storage/posix                   # POSIX FS translator
  option directory /data/data6        # Export this directory
end-volume
volume posix7
  type storage/posix                   # POSIX FS translator
  option directory /data/data7        # Export this directory
end-volume
volume posix8
  type storage/posix                   # POSIX FS translator
  option directory /data/data8        # Export this directory
end-volume
volume brick1
  type features/posix-locks
  option mandatory-locks on          # enables mandatory locking on all files
  subvolumes posix1
end-volume
volume brick2
  type features/posix-locks
  option mandatory-locks on          # enables mandatory locking on all files
  subvolumes posix2
end-volume
volume brick3
  type features/posix-locks
  option mandatory-locks on          # enables mandatory locking on all files
  subvolumes posix3
end-volume
volume brick4
  type features/posix-locks
  option mandatory-locks on          # enables mandatory locking on all files
  subvolumes posix4
end-volume
### Add network serving capability to above brick.
volume server
  type protocol/server
  option transport-type tcp
  option transport.socket.bind-address 172.20.92.240     # Default is to listen on all interfaces
  option transport.socket.listen-port 6996              # Default is 6996
  subvolumes brick1 brick2 brick3 brick4  
  option auth.addr.brick1.allow * # Allow access to "brick" volume
  option auth.addr.brick2.allow * # Allow access to "brick" volume
  option auth.addr.brick3.allow * # Allow access to "brick" volume
  option auth.addr.brick4.allow * # Allow access to "brick" volume
end-volume


2009-07-06 



eagleeyes 



发件人: Sachidananda 
发送时间: 2009-07-04  11:39:03 
收件人: eagleeyes 
抄送: gluster-users 
主题: Re: [Gluster-users] HELP : Files lost after DHT expansion 
 
Hi,
eagleeyes wrote:
 > When i  update to gluster2.0.3 ,after dht expansion ,double  directorys
 > appear in the gluster directory ,why ?
 >
 > client configure
 > volume dht
 >   type cluster/dht
 >   option lookup-unhashed yes
 >   option min-free-disk 10%
 >   subvolumes client1 client2  client3 client4 client5 client6 client7 
client8
 >   #subvolumes client1 client2  client3 client4
 > end-volume
 >
 >
Can you please send us your server/client volume files?
--
Sachidananda.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090706/a9b2d514/attachment.html>


More information about the Gluster-users mailing list