mainline--2.5--patch-258: still no AFR replication

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I compiled the latest tla but still I do not see any AFR replication happening in my setup:
============================================
[root@grp-01-20-01 glusterfs]# find /mnt/glusterfs*
/mnt/glusterfs0
/mnt/glusterfs0/file0
/mnt/glusterfs0/file2
/mnt/glusterfs0/file1
/mnt/glusterfs1
/mnt/glusterfs1/file0
/mnt/glusterfs1/file2
/mnt/glusterfs1/file1
/mnt/glusterfs2
/mnt/glusterfs2/file0
/mnt/glusterfs2/file2
/mnt/glusterfs2/file1
/mnt/glusterfs3
/mnt/glusterfs3/file0
/mnt/glusterfs3/file2
/mnt/glusterfs3/file1
============================================
[root@grp-01-20-01 glusterfs]# service iptables stop
Flushing firewall rules:                                   [  OK  ]
Setting chains to policy ACCEPT: filter                    [  OK  ]
Unloading iptables modules:                                [  OK  ]
============================================
[root@grp-01-20-01 glusterfs]# touch /mnt/glusterfs0/file7
[root@grp-01-20-01 glusterfs]# find /mnt/glusterfs*
/mnt/glusterfs0
/mnt/glusterfs0/file7    <----
/mnt/glusterfs0/file0
/mnt/glusterfs0/file2
/mnt/glusterfs0/file1
/mnt/glusterfs1
/mnt/glusterfs1/file0
/mnt/glusterfs1/file2
/mnt/glusterfs1/file1
/mnt/glusterfs2
/mnt/glusterfs2/file0
/mnt/glusterfs2/file2
/mnt/glusterfs2/file1
/mnt/glusterfs3
/mnt/glusterfs3/file0
/mnt/glusterfs3/file2
/mnt/glusterfs3/file1
============================================
[root@grp-01-20-01 glusterfs]# ps -e | grep gluster
29627 ?        00:00:00 glusterfsd
29630 ?        00:00:00 glusterfsd
29633 ?        00:00:00 glusterfsd
29636 ?        00:00:00 glusterfsd
29646 ?        00:00:00 glusterfs
29650 ?        00:00:00 glusterfs
29654 ?        00:00:00 glusterfs
29658 ?        00:00:00 glusterfs
============================================
[root@grp-01-20-01 glusterfs]# mount | grep gluster
glusterfs on /mnt/glusterfs0 type fuse (rw,nosuid,nodev,allow_other,default_permissions,max_read=1048576) glusterfs on /mnt/glusterfs1 type fuse (rw,nosuid,nodev,allow_other,default_permissions,max_read=1048576) glusterfs on /mnt/glusterfs2 type fuse (rw,nosuid,nodev,allow_other,default_permissions,max_read=1048576) glusterfs on /mnt/glusterfs3 type fuse (rw,nosuid,nodev,allow_other,default_permissions,max_read=1048576)
============================================
[root@grp-01-20-01 glusterfs]# for i in 0 1 2 3; do echo;cat test-server$i.vol;done

volume brick
 type storage/posix                   # POSIX FS translator
 option directory /root/export0        # Export this directory
end-volume

  ### Add network serving capability to above brick.
volume server
 type protocol/server
 option transport-type tcp/server     # For TCP/IP transport
 option listen-port 6996              # Default is 6996
 subvolumes brick
 option auth.ip.brick.allow  *  # Allow full access to "brick" volume
end-volume

volume brick
 type storage/posix                   # POSIX FS translator
 option directory /root/export1        # Export this directory
end-volume

  ### Add network serving capability to above brick.
volume server
 type protocol/server
 option transport-type tcp/server     # For TCP/IP transport
 option listen-port 6997              # Default is 6996
 subvolumes brick
 option auth.ip.brick.allow  *  # Allow full access to "brick" volume
end-volume

volume brick
 type storage/posix                   # POSIX FS translator
 option directory /root/export2        # Export this directory
end-volume

  ### Add network serving capability to above brick.
volume server
 type protocol/server
 option transport-type tcp/server     # For TCP/IP transport
 option listen-port 6998              # Default is 6996
 subvolumes brick
 option auth.ip.brick.allow  *  # Allow full access to "brick" volume
end-volume

volume brick
 type storage/posix                   # POSIX FS translator
 option directory /root/export3        # Export this directory
end-volume

  ### Add network serving capability to above brick.
volume server
 type protocol/server
 option transport-type tcp/server     # For TCP/IP transport
 option listen-port 6999              # Default is 6996
 subvolumes brick
 option auth.ip.brick.allow  *  # Allow full access to "brick" volume
end-volume
============================================
[root@grp-01-20-01 glusterfs]# cat test-client.vol
  ### Add client feature and declare local subvolume

  ### Add client feature and attach to remote subvolume
volume client0
 type    protocol/client
 option  transport-type    tcp/client     # for TCP/IP transport
 option  remote-host       192.168.1.25   # IP address of the remote brick
 option  remote-port       6996           # default server port is 6996
 option  remote-subvolume  brick          # name of the remote volume
end-volume

volume client1
 type    protocol/client
 option  transport-type    tcp/client
 option  remote-host       192.168.1.25
 option  remote-port       6997
 option  remote-subvolume  brick
end-volume

volume client2
 type    protocol/client
 option  transport-type    tcp/client
 option  remote-host       192.168.1.25
 option  remote-port       6998
 option  remote-subvolume  brick
end-volume

volume client3
 type    protocol/client
 option  transport-type    tcp/client
 option  remote-host       192.168.1.25
 option  remote-port       6999
 option  remote-subvolume  brick
end-volume

  ### Add automatice file replication (AFR) feature
volume afr
 type  cluster/afr
 subvolumes  client0 client1 client2 client3
 option  replicate *:4
end-volume
============================================
[root@grp-01-20-01 glusterfs]#






[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux