[Gluster-devel] Problem with namespace with filesize of 0

chris at velocityservers.com.au chris at velocityservers.com.au
Tue Nov 11 07:31:53 UTC 2008


Hi Guys,

I am currently having an issue with my namespace directory having files, 
with the filesize of 0. Even though in the export directories they are 
the correct filesizes.

Glusterfs-server.vol

# file: /etc/glusterfs/glusterfs-server.vol
volume brick
  type storage/posix
  option directory /data/export
end-volume

volume brick-mirror
  type storage/posix
  option directory /data/export-mirror
end-volume

volume brick-ns
  type storage/posix
  option directory /data/export-ns
end-volume

volume server
  type protocol/server
  option transport-type tcp/server
  option auth.ip.brick.allow *
  option auth.ip.brick-mirror.allow *
  option auth.ip.brick-ns.allow *
  subvolumes brick brick-mirror brick-ns
end-volume

glusterfs-client.vol

# file: /etc/glusterfs/glusterfs-client.vol
volume remote1
  type protocol/client
  option transport-type tcp/client
  option remote-host 192.168.1.106
  option remote-subvolume brick
end-volume

volume remote2
  type protocol/client
  option transport-type tcp/client
  option remote-host 192.168.1.10
  option remote-subvolume brick
end-volume

volume remote1-mirror
  type protocol/client
  option transport-type tcp/client
  option remote-host 192.168.1.106
  option remote-subvolume brick-mirror
end-volume

volume remote2-mirror
  type protocol/client
  option transport-type tcp/client
  option remote-host 192.168.1.10
  option remote-subvolume brick-mirror
end-volume

volume afr0
  type cluster/afr
  subvolumes remote1-mirror remote2-mirror
end-volume

volume remote-ns
  type protocol/client
  option transport-type tcp/client
  option remote-host 192.168.1.106
  option remote-subvolume brick-ns
end-volume

volume unify0
  type cluster/unify
  option scheduler switch
  option switch.case *.mp3:afr0;*:remote1,remote2 # 2 copies of all .db 
files only
  option namespace remote-ns
  subvolumes remote1 remote2 afr0
end-volume

Could you let me know what you think might be happening?

Thanks





More information about the Gluster-devel mailing list