[Gluster-users] cloud volume problem when read/write glusterfs

William Hanwoody hanwoody at gmail.com
Sat Mar 21 05:11:19 UTC 2009


I can read/write files from(to) glusterfs,but found error logs in 
glusterfs.log

# tail /var/log/glusterfs/glusterfs.log  -f
2009-03-21 12:43:34 E [dht-layout.c:550:dht_layout_dir_mismatch] nufa: / - 
disk layout missing
2009-03-21 12:43:34 W [dht-common.c:244:dht_revalidate_cbk] nufa: mismatching 
layouts for /
2009-03-21 12:43:34 E [dht-layout.c:550:dht_layout_dir_mismatch] nufa: / - 
disk layout missing
2009-03-21 12:43:34 W [dht-common.c:244:dht_revalidate_cbk] nufa: mismatching 
layouts for /
2009-03-21 12:43:34 W [fuse-bridge.c:301:need_fresh_lookup] fuse-bridge: 
revalidate of / failed (Stale NFS file handle)
2009-03-21 12:43:34 E [dht-layout.c:550:dht_layout_dir_mismatch] nufa: / - 
disk layout missing
2009-03-21 12:43:34 W [dht-common.c:244:dht_revalidate_cbk] nufa: mismatching 
layouts for /
2009-03-21 12:43:34 E [dht-layout.c:550:dht_layout_dir_mismatch] nufa: / - 
disk layout missing
2009-03-21 12:43:34 W [dht-common.c:244:dht_revalidate_cbk] nufa: mismatching 
layouts for /
2009-03-21 12:43:34 W [fuse-bridge.c:301:need_fresh_lookup] fuse-bridge: 
revalidate of / failed (Stale NFS file handle)

my enveroments:
glusterfs 2.0.0rc4
fuse 2.7.4

four nodes:etch31/32/64/65

-------------- next part --------------
volume data1
  type storage/posix
  option directory /data1/glusterfs
end-volume

volume data2
  type storage/posix
  option directory /data2/glusterfs
end-volume

volume locks1
  type features/locks
  subvolumes data1
end-volume

volume locks2
  type features/locks
  subvolumes data2
end-volume

volume brick1
 type performance/io-threads
 subvolumes locks1
end-volume

volume brick2
 type performance/io-threads
 subvolumes locks2
end-volume

volume server
 type protocol/server
 option transport-type tcp
 option auth.addr.brick1.allow *
 option auth.addr.brick2.allow *
 subvolumes brick1 brick2
end-volume

volume etch31_1
 type protocol/client
 option transport-type tcp
 option remote-host etch31
 option remote-subvolume brick1
end-volume

volume etch31_2
 type protocol/client
 option transport-type tcp
 option remote-host etch31
 option remote-subvolume brick2
end-volume

volume etch32_1
 type protocol/client
 option transport-type tcp
 option remote-host etch32
 option remote-subvolume brick1
end-volume

volume etch32_2
 type protocol/client
 option transport-type tcp
 option remote-host etch32
 option remote-subvolume brick2
end-volume

volume etch64_1
 type protocol/client
 option transport-type tcp
 option remote-host etch64
 option remote-subvolume brick1
end-volume

volume etch64_2
 type protocol/client
 option transport-type tcp
 option remote-host etch64
 option remote-subvolume brick2
end-volume

volume etch65_1
 type protocol/client
 option transport-type tcp
 option remote-host etch65
 option remote-subvolume brick1
end-volume

volume etch65_2
 type protocol/client
 option transport-type tcp
 option remote-host etch65
 option remote-subvolume brick2
end-volume

volume rep_etch31
 type cluster/replicate
 subvolumes etch31_1 etch32_1
end-volume

volume rep_etch32
 type cluster/replicate
 subvolumes etch31_2 etch32_2
end-volume

volume rep_etch64
 type cluster/replicate
 subvolumes etch64_1 etch65_1
end-volume

volume rep_etch65
 type cluster/replicate
 subvolumes etch64_2 etch65_2
end-volume

volume nufa
 type cluster/nufa
 #option local-volume-name `hostname`_1
 #option local-volume-name `hostname`_2
 option local-volume-name rep_`hostname`
 subvolumes rep_etch31 rep_etch32 rep_etch64 rep_etch65
end-volume

volume writebehind
  type performance/write-behind
  option page-size 128KB
  option cache-size 1MB
  subvolumes nufa
end-volume

volume cache
  type performance/io-cache
  option cache-size 256MB
  subvolumes writebehind
end-volume



More information about the Gluster-users mailing list