<div dir="ltr">If you have an active snapshot, I expect the space will not be freed until you remove the snapshot.</div><div class="gmail_extra"><br><div class="gmail_quote">On 11 September 2015 at 01:44, Fujii Yasuhiro <span dir="ltr">&lt;<a href="mailto:eyes.works@gmail.com" target="_blank">eyes.works@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi.<br>
<br>
I have a question.<br>
<br>
GlusterFS hdd space can&#39;t be recovered automatically after glusterfs<br>
is disk full and I delete files.<br>
It will be recovered restarting glusterfsd.<br>
I can find deleted file and glusterfsd do not relese the file I don&#39;t know why.<br>
Is this OK?<br>
<br>
[version]<br>
CentOS release 6.7 (Final)<br>
Linux web2 2.6.32-573.3.1.el6.x86_64 #1 SMP Thu Aug 13 22:55:16 UTC<br>
2015 x86_64 x86_64 x86_64 GNU/Linux<br>
glusterfs-3.6.5-1.el6.x86_64<br>
glusterfs-api-3.6.5-1.el6.x86_64<br>
glusterfs-fuse-3.6.5-1.el6.x86_64<br>
glusterfs-server-3.6.5-1.el6.x86_64<br>
glusterfs-libs-3.6.5-1.el6.x86_64<br>
glusterfs-cli-3.6.5-1.el6.x86_6<br>
<br>
[test]<br>
dd if=/dev/zero of=./test.dat bs=1M count=100000<br>
dd: writing `./test.dat&#39;: Input/output error<br>
dd: closing output file `./test.dat&#39;: No space left on device<br>
<br>
[root@web2 www_virtual]# df<br>
Filesystem           1K-blocks      Used Available Use% Mounted on<br>
/dev/xvda1             8124856   2853600   4851880  38% /<br>
tmpfs                   509256         0    509256   0% /dev/shm<br>
/dev/xvdf1           101441468 101419972         0 100% /glusterfs/vol01<br>
web2:/vol_replica_01 101441408 101420032         0 100% /mnt/glusterfs<br>
<br>
[root@web2 www_virtual]# rm test.dat<br>
rm: remove regular file `test.dat&#39;? y<br>
<br>
[root@web2 www_virtual]# sync<br>
[root@web2 www_virtual]# df<br>
Filesystem           1K-blocks      Used Available Use% Mounted on<br>
/dev/xvda1             8124856   2856744   4848736  38% /<br>
tmpfs                   509256         0    509256   0% /dev/shm<br>
/dev/xvdf1           101441468 101419972         0 100% /glusterfs/vol01<br>
web2:/vol_replica_01 101441408 101420032         0 100% /mnt/glusterfs<br>
<br>
Glusterfs is still disk full.<br>
The other glusterfs server is same.<br>
<br>
[find the deleted file]<br>
(server web2)<br>
[root@web2 www_virtual]# ls -l /proc/*/fd/* | grep deleted<br>
lr-x------ 1 root root 64 Sep 11 14:15 /proc/1753/fd/14 -&gt;<br>
/var/lib/glusterd/snaps/missed_snaps_list (deleted)<br>
lrwx------ 1 root root 64 Sep 11 14:17 /proc/1775/fd/21 -&gt;<br>
/glusterfs/vol01/brick/.glusterfs/1f/c2/1fc2b7b4-ecd6-4eff-a874-962c2283823f<br>
(deleted)<br>
<br>
[root@web2 .glusterfs]# ps ax | grep 1775 | grep -v grep<br>
 1775 ?        Ssl    5:43 /usr/sbin/glusterfsd -s web2 --volfile-id<br>
vol_replica_01.web2.glusterfs-vol01-brick -p<br>
/var/lib/glusterd/vols/vol_replica_01/run/web2-glusterfs-vol01-brick.pid<br>
-S /var/run/1cf98ee59b5dff8cfd793b8ec39851db.socket --brick-name<br>
/glusterfs/vol01/brick -l<br>
/var/log/glusterfs/bricks/glusterfs-vol01-brick.log --xlator-option<br>
*-posix.glusterd-uuid=029cf626-935f-4546-a8df-f9d79a6959da<br>
--brick-port 49152 --xlator-option<br>
vol_replica_01-server.listen-port=49152<br>
<br>
[root@web2 www_virtual]# lsof -p 1775<br>
COMMAND    PID USER   FD   TYPE             DEVICE    SIZE/OFF    NODE NAME<br>
glusterfs 1775 root  cwd    DIR              202,1        4096       2 /<br>
glusterfs 1775 root  rtd    DIR              202,1        4096       2 /<br>
glusterfs 1775 root  txt    REG              202,1       78056  266837<br>
/usr/sbin/glusterfsd<br>
glusterfs 1775 root  mem    REG              202,1        8560     854<br>
/usr/lib64/glusterfs/3.6.5/auth/login.so<br>
glusterfs 1775 root  mem    REG              202,1       13248     853<br>
/usr/lib64/glusterfs/3.6.5/auth/addr.so<br>
glusterfs 1775 root  mem    REG              202,1      224920    4334<br>
/usr/lib64/glusterfs/3.6.5/xlator/protocol/server.so<br>
glusterfs 1775 root  mem    REG              202,1      118760    2421<br>
/usr/lib64/glusterfs/3.6.5/xlator/debug/io-stats.so<br>
glusterfs 1775 root  mem    REG              202,1      119688    2507<br>
/usr/lib64/glusterfs/3.6.5/xlator/features/quota.so<br>
glusterfs 1775 root  mem    REG              202,1      139784    2491<br>
/usr/lib64/glusterfs/3.6.5/xlator/features/marker.so<br>
glusterfs 1775 root  mem    REG              202,1       42304    2475<br>
/usr/lib64/glusterfs/3.6.5/xlator/features/index.so<br>
glusterfs 1775 root  mem    REG              202,1       34360    2447<br>
/usr/lib64/glusterfs/3.6.5/xlator/features/barrier.so<br>
glusterfs 1775 root  mem    REG              202,1       46936    2561<br>
/usr/lib64/glusterfs/3.6.5/xlator/performance/io-threads.so<br>
glusterfs 1775 root  mem    REG              202,1      107984    2476<br>
/usr/lib64/glusterfs/3.6.5/xlator/features/locks.so<br>
glusterfs 1775 root  mem    REG              202,1       58440    3940<br>
/usr/lib64/glusterfs/3.6.5/xlator/system/posix-acl.so<br>
glusterfs 1775 root  mem    REG              202,1       90880  266322<br>
/lib64/libgcc_s-4.4.7-20120601.so.1<br>
glusterfs 1775 root  mem    REG              202,1       96200    2460<br>
/usr/lib64/glusterfs/3.6.5/xlator/features/changelog.so<br>
glusterfs 1775 root  mem    REG              202,1        3944  272350<br>
/lib64/libaio.so.1.0.1<br>
glusterfs 1775 root  mem    REG              202,1      188376    4337<br>
/usr/lib64/glusterfs/3.6.5/xlator/storage/posix.so<br>
glusterfs 1775 root  mem    REG              202,1       65928  273938<br>
/lib64/<a href="http://libnss_files-2.12.so" rel="noreferrer" target="_blank">libnss_files-2.12.so</a><br>
glusterfs 1775 root  mem    REG              202,1      122040  264857<br>
/lib64/libselinux.so.1<br>
glusterfs 1775 root  mem    REG              202,1      110960  273940<br>
/lib64/<a href="http://libresolv-2.12.so" rel="noreferrer" target="_blank">libresolv-2.12.so</a><br>
glusterfs 1775 root  mem    REG              202,1       10192  267134<br>
/lib64/libkeyutils.so.1.3<br>
glusterfs 1775 root  mem    REG              202,1       43728  267143<br>
/lib64/libkrb5support.so.0.1<br>
glusterfs 1775 root  mem    REG              202,1      174840  267139<br>
/lib64/libk5crypto.so.3.1<br>
glusterfs 1775 root  mem    REG              202,1       14664  265208<br>
/lib64/libcom_err.so.2.1<br>
glusterfs 1775 root  mem    REG              202,1      946048  267141<br>
/lib64/libkrb5.so.3.3<br>
glusterfs 1775 root  mem    REG              202,1      277704  267135<br>
/lib64/libgssapi_krb5.so.2.2<br>
glusterfs 1775 root  mem    REG              202,1      441256  280919<br>
/usr/lib64/libssl.so.1.0.1e<br>
glusterfs 1775 root  mem    REG              202,1       83384    2328<br>
/usr/lib64/glusterfs/3.6.5/rpc-transport/socket.so<br>
glusterfs 1775 root  mem    REG              202,1    99158576  281041<br>
/usr/lib/locale/locale-archive<br>
glusterfs 1775 root  mem    REG              202,1       88600  265291<br>
/lib64/libz.so.1.2.3<br>
glusterfs 1775 root  mem    REG              202,1       19536  273934<br>
/lib64/<a href="http://libdl-2.12.so" rel="noreferrer" target="_blank">libdl-2.12.so</a><br>
glusterfs 1775 root  mem    REG              202,1     1921216  264860<br>
/lib64/<a href="http://libc-2.12.so" rel="noreferrer" target="_blank">libc-2.12.so</a><br>
glusterfs 1775 root  mem    REG              202,1     1963296  267216<br>
/usr/lib64/libcrypto.so.1.0.1e<br>
glusterfs 1775 root  mem    REG              202,1      142640  264887<br>
/lib64/<a href="http://libpthread-2.12.so" rel="noreferrer" target="_blank">libpthread-2.12.so</a><br>
glusterfs 1775 root  mem    REG              202,1       43880  273941<br>
/lib64/<a href="http://librt-2.12.so" rel="noreferrer" target="_blank">librt-2.12.so</a><br>
glusterfs 1775 root  mem    REG              202,1       95968  265199<br>
/usr/lib64/libgfxdr.so.0.0.1<br>
glusterfs 1775 root  mem    REG              202,1      107536  264893<br>
/usr/lib64/libgfrpc.so.0.0.1<br>
glusterfs 1775 root  mem    REG              202,1      633304  265202<br>
/usr/lib64/libglusterfs.so.0.0.1<br>
glusterfs 1775 root  mem    REG              202,1      154664  264855<br>
/lib64/<a href="http://ld-2.12.so" rel="noreferrer" target="_blank">ld-2.12.so</a><br>
glusterfs 1775 root  mem    REG              202,1       26060  265172<br>
/usr/lib64/gconv/gconv-modules.cache<br>
glusterfs 1775 root    0r   CHR                1,3         0t0    3923 /dev/null<br>
glusterfs 1775 root    1w   CHR                1,3         0t0    3923 /dev/null<br>
glusterfs 1775 root    2w   CHR                1,3         0t0    3923 /dev/null<br>
glusterfs 1775 root    3u   REG                0,9           0    3919<br>
[eventpoll]<br>
glusterfs 1775 root    4u  unix 0xffff88003d027440         0t0  146494 socket<br>
glusterfs 1775 root    5w   REG              202,1       28428     778<br>
/var/log/glusterfs/bricks/glusterfs-vol01-brick.log<br>
glusterfs 1775 root    6uW  REG              202,1           5     687<br>
/var/lib/glusterd/vols/vol_replica_01/run/web2-glusterfs-vol01-brick.pid<br>
glusterfs 1775 root    7u  unix 0xffff880037b470c0         0t0  146497<br>
/var/run/1cf98ee59b5dff8cfd793b8ec39851db.socket<br>
glusterfs 1775 root    8u  IPv4             146668         0t0     TCP<br>
web2:49152-&gt;web2:1018 (ESTABLISHED)<br>
glusterfs 1775 root    9u  IPv4             146505         0t0     TCP<br>
web2:1020-&gt;web2:24007 (ESTABLISHED)<br>
glusterfs 1775 root   10u  IPv4             146729         0t0     TCP<br>
web2:49152-&gt;web2:1009 (ESTABLISHED)<br>
glusterfs 1775 root   11u  IPv4             146608         0t0     TCP<br>
*:49152 (LISTEN)<br>
glusterfs 1775 root   12r   CHR                1,9         0t0    3928<br>
/dev/urandom<br>
glusterfs 1775 root   13r   DIR             202,81        4096 5505025<br>
/glusterfs/vol01/brick<br>
glusterfs 1775 root   14u  unix 0xffff88003d027780         0t0  146737<br>
/var/run/1cf98ee59b5dff8cfd793b8ec39851db.socket<br>
glusterfs 1775 root   15u  IPv4             146749         0t0     TCP<br>
web2:49152-&gt;web1:1020 (ESTABLISHED)<br>
glusterfs 1775 root   16u  IPv4             146751         0t0     TCP<br>
web2:49152-&gt;web1:1017 (ESTABLISHED)<br>
glusterfs 1775 root   17u  IPv4             146753         0t0     TCP<br>
web2:49152-&gt;web1:1014 (ESTABLISHED)<br>
glusterfs 1775 root   18u  IPv4             146759         0t0     TCP<br>
web2:49152-&gt;web2:1006 (ESTABLISHED)<br>
glusterfs 1775 root   20r   DIR             202,81        4096 5505028<br>
/glusterfs/vol01/brick/.glusterfs/indices/xattrop<br>
glusterfs 1775 root   21u   REG             202,81 16349855744 5520418<br>
/glusterfs/vol01/brick/.glusterfs/1f/c2/1fc2b7b4-ecd6-4eff-a874-962c2283823f<br>
(deleted)<br>
<br>
(server web1)<br>
[root@web1 www_virtual]# df<br>
Filesystem           1K-blocks      Used Available Use% Mounted on<br>
/dev/xvda1             8124856   5608396   2097084  73% /<br>
tmpfs                   960324         0    960324   0% /dev/shm<br>
/dev/xvdf1           101441468 101420068         0 100% /glusterfs/vol01<br>
web1:/vol_replica_01 101441408 101420032         0 100% /mnt/glusterfs<br>
<br>
[root@web1 www_virtual]#  ls -l /proc/*/fd/* | grep deleted<br>
ls: cannot access /proc/2348/fd/255: No such file or directory<br>
ls: cannot access /proc/2348/fd/3: No such file or directory<br>
ls: cannot access /proc/self/fd/255: No such file or directory<br>
ls: cannot access /proc/self/fd/3: No such file or directory<br>
lr-x------ 1 root root 64 Sep 11 14:21 /proc/1061/fd/14 -&gt;<br>
/var/lib/glusterd/snaps/missed_snaps_list (deleted)<br>
lrwx------ 1 root root 64 Sep 11 14:21 /proc/1436/fd/16 -&gt;<br>
/glusterfs/vol01/brick/.glusterfs/1f/c2/1fc2b7b4-ecd6-4eff-a874-962c2283823f<br>
(deleted)<br>
<br>
[root@web1 www_virtual]# ps ax | grep 1436<br>
 1436 ?        Ssl   15:24 /usr/sbin/glusterfsd -s web1 --volfile-id<br>
vol_replica_01.web1.glusterfs-vol01-brick -p<br>
/var/lib/glusterd/vols/vol_replica_01/run/web1-glusterfs-vol01-brick.pid<br>
-S /var/run/623572fd107c86f79cd247c24572d645.socket --brick-name<br>
/glusterfs/vol01/brick -l<br>
/var/log/glusterfs/bricks/glusterfs-vol01-brick.log --xlator-option<br>
*-posix.glusterd-uuid=cd648272-ac40-47c0-bbda-f2bb4894480a<br>
--brick-port 49152 --xlator-option<br>
vol_replica_01-server.listen-port=49152<br>
<br>
[root@web1 www_virtual]# lsof -p 1436<br>
COMMAND    PID USER   FD   TYPE             DEVICE    SIZE/OFF    NODE NAME<br>
glusterfs 1436 root  cwd    DIR              202,1        4096       2 /<br>
glusterfs 1436 root  rtd    DIR              202,1        4096       2 /<br>
glusterfs 1436 root  txt    REG              202,1       78056  272348<br>
/usr/sbin/glusterfsd<br>
glusterfs 1436 root  mem    REG              202,1        8560  405980<br>
/usr/lib64/glusterfs/3.6.5/auth/login.so<br>
glusterfs 1436 root  mem    REG              202,1       13248  405978<br>
/usr/lib64/glusterfs/3.6.5/auth/addr.so<br>
glusterfs 1436 root  mem    REG              202,1      224920  406066<br>
/usr/lib64/glusterfs/3.6.5/xlator/protocol/server.so<br>
glusterfs 1436 root  mem    REG              202,1      118760  406003<br>
/usr/lib64/glusterfs/3.6.5/xlator/debug/io-stats.so<br>
glusterfs 1436 root  mem    REG              202,1      119688  406028<br>
/usr/lib64/glusterfs/3.6.5/xlator/features/quota.so<br>
glusterfs 1436 root  mem    REG              202,1      139784  406022<br>
/usr/lib64/glusterfs/3.6.5/xlator/features/marker.so<br>
glusterfs 1436 root  mem    REG              202,1       42304  406020<br>
/usr/lib64/glusterfs/3.6.5/xlator/features/index.so<br>
glusterfs 1436 root  mem    REG              202,1       34360  406016<br>
/usr/lib64/glusterfs/3.6.5/xlator/features/barrier.so<br>
glusterfs 1436 root  mem    REG              202,1       46936  406037<br>
/usr/lib64/glusterfs/3.6.5/xlator/performance/io-threads.so<br>
glusterfs 1436 root  mem    REG              202,1      107984  406021<br>
/usr/lib64/glusterfs/3.6.5/xlator/features/locks.so<br>
glusterfs 1436 root  mem    REG              202,1       58440  406048<br>
/usr/lib64/glusterfs/3.6.5/xlator/system/posix-acl.so<br>
glusterfs 1436 root  mem    REG              202,1       90880  267449<br>
/lib64/libgcc_s-4.4.7-20120601.so.1<br>
glusterfs 1436 root  mem    REG              202,1       96200  406018<br>
/usr/lib64/glusterfs/3.6.5/xlator/features/changelog.so<br>
glusterfs 1436 root  mem    REG              202,1        3944  272159<br>
/lib64/libaio.so.1.0.1<br>
glusterfs 1436 root  mem    REG              202,1      188376  406069<br>
/usr/lib64/glusterfs/3.6.5/xlator/storage/posix.so<br>
glusterfs 1436 root  mem    REG              202,1       65928  275388<br>
/lib64/<a href="http://libnss_files-2.12.so" rel="noreferrer" target="_blank">libnss_files-2.12.so</a><br>
glusterfs 1436 root  mem    REG              202,1      122040  264857<br>
/lib64/libselinux.so.1<br>
glusterfs 1436 root  mem    REG              202,1      110960  275392<br>
/lib64/<a href="http://libresolv-2.12.so" rel="noreferrer" target="_blank">libresolv-2.12.so</a><br>
glusterfs 1436 root  mem    REG              202,1       10192  267134<br>
/lib64/libkeyutils.so.1.3<br>
glusterfs 1436 root  mem    REG              202,1       43728  267143<br>
/lib64/libkrb5support.so.0.1<br>
glusterfs 1436 root  mem    REG              202,1      174840  267139<br>
/lib64/libk5crypto.so.3.1<br>
glusterfs 1436 root  mem    REG              202,1       14664  265208<br>
/lib64/libcom_err.so.2.1<br>
glusterfs 1436 root  mem    REG              202,1      946048  267141<br>
/lib64/libkrb5.so.3.3<br>
glusterfs 1436 root  mem    REG              202,1      277704  267135<br>
/lib64/libgssapi_krb5.so.2.2<br>
glusterfs 1436 root  mem    REG              202,1      441256  281908<br>
/usr/lib64/libssl.so.1.0.1e<br>
glusterfs 1436 root  mem    REG              202,1       83384  405982<br>
/usr/lib64/glusterfs/3.6.5/rpc-transport/socket.so<br>
glusterfs 1436 root  mem    REG              202,1    99158576  272725<br>
/usr/lib/locale/locale-archive<br>
glusterfs 1436 root  mem    REG              202,1       88600  265291<br>
/lib64/libz.so.1.2.3<br>
glusterfs 1436 root  mem    REG              202,1       19536  274985<br>
/lib64/<a href="http://libdl-2.12.so" rel="noreferrer" target="_blank">libdl-2.12.so</a><br>
glusterfs 1436 root  mem    REG              202,1     1921216  264860<br>
/lib64/<a href="http://libc-2.12.so" rel="noreferrer" target="_blank">libc-2.12.so</a><br>
glusterfs 1436 root  mem    REG              202,1     1963296  267216<br>
/usr/lib64/libcrypto.so.1.0.1e<br>
glusterfs 1436 root  mem    REG              202,1      142640  264887<br>
/lib64/<a href="http://libpthread-2.12.so" rel="noreferrer" target="_blank">libpthread-2.12.so</a><br>
glusterfs 1436 root  mem    REG              202,1       43880  275393<br>
/lib64/<a href="http://librt-2.12.so" rel="noreferrer" target="_blank">librt-2.12.so</a><br>
glusterfs 1436 root  mem    REG              202,1       95968  272324<br>
/usr/lib64/libgfxdr.so.0.0.1<br>
glusterfs 1436 root  mem    REG              202,1      107536  272323<br>
/usr/lib64/libgfrpc.so.0.0.1<br>
glusterfs 1436 root  mem    REG              202,1      633304  272325<br>
/usr/lib64/libglusterfs.so.0.0.1<br>
glusterfs 1436 root  mem    REG              202,1      154664  264855<br>
/lib64/<a href="http://ld-2.12.so" rel="noreferrer" target="_blank">ld-2.12.so</a><br>
glusterfs 1436 root  mem    REG              202,1       26060  265172<br>
/usr/lib64/gconv/gconv-modules.cache<br>
glusterfs 1436 root    0r   CHR                1,3         0t0    3923 /dev/null<br>
glusterfs 1436 root    1w   CHR                1,3         0t0    3923 /dev/null<br>
glusterfs 1436 root    2w   CHR                1,3         0t0    3923 /dev/null<br>
glusterfs 1436 root    3u   REG                0,9           0    3919<br>
[eventpoll]<br>
glusterfs 1436 root    4u  unix 0xffff88007b2b23c0         0t0   75161 socket<br>
glusterfs 1436 root    5w   REG              202,1       13674     838<br>
/var/log/glusterfs/bricks/glusterfs-vol01-brick.log<br>
glusterfs 1436 root    6uW  REG              202,1           5  401217<br>
/var/lib/glusterd/vols/vol_replica_01/run/web1-glusterfs-vol01-brick.pid<br>
glusterfs 1436 root    7u  unix 0xffff88003799f0c0         0t0   75221<br>
/var/run/623572fd107c86f79cd247c24572d645.socket<br>
glusterfs 1436 root    8u  IPv4              75365         0t0     TCP<br>
web1:49152-&gt;web1:1016 (ESTABLISHED)<br>
glusterfs 1436 root    9u  IPv4              75231         0t0     TCP<br>
web1:1018-&gt;web1:24007 (ESTABLISHED)<br>
glusterfs 1436 root   10u  IPv4              75397         0t0     TCP<br>
web1:49152-&gt;web1:1009 (ESTABLISHED)<br>
glusterfs 1436 root   11u  IPv4              75275         0t0     TCP<br>
*:49152 (LISTEN)<br>
glusterfs 1436 root   12r   CHR                1,9         0t0    3928<br>
/dev/urandom<br>
glusterfs 1436 root   13r   DIR             202,81        4096 2621441<br>
/glusterfs/vol01/brick<br>
glusterfs 1436 root   14u  IPv4              75401         0t0     TCP<br>
web1:49152-&gt;web2:1015 (ESTABLISHED)<br>
glusterfs 1436 root   16u   REG             202,81 16349941760 2639508<br>
/glusterfs/vol01/brick/.glusterfs/1f/c2/1fc2b7b4-ecd6-4eff-a874-962c2283823f<br>
(deleted)<br>
glusterfs 1436 root   17u  unix 0xffff880079b85100         0t0   75422<br>
/var/run/623572fd107c86f79cd247c24572d645.socket<br>
glusterfs 1436 root   18u  IPv4              75428         0t0     TCP<br>
web1:49152-&gt;web1:1007 (ESTABLISHED)<br>
glusterfs 1436 root   19u  IPv4              92958         0t0     TCP<br>
web1:49152-&gt;web2:1008 (ESTABLISHED)<br>
glusterfs 1436 root   20u  IPv4              92955         0t0     TCP<br>
web1:49152-&gt;web2:1017 (ESTABLISHED)<br>
<br>
[gluster status]<br>
<br>
[root@web2 www_virtual]# gluster volume info<br>
<br>
Volume Name: vol_replica_01<br>
Type: Replicate<br>
Volume ID: c6f5b52c-865f-4dc1-9377-ea81d933b859<br>
Status: Started<br>
Number of Bricks: 1 x 2 = 2<br>
Transport-type: tcp<br>
Bricks:<br>
Brick1: web1:/glusterfs/vol01/brick<br>
Brick2: web2:/glusterfs/vol01/brick<br>
Options Reconfigured:<br>
network.ping-timeout: 15<br>
performance.cache-max-file-size: 100MB<br>
<br>
[root@web1 www_virtual]# gluster volume info<br>
<br>
Volume Name: vol_replica_01<br>
Type: Replicate<br>
Volume ID: c6f5b52c-865f-4dc1-9377-ea81d933b859<br>
Status: Started<br>
Number of Bricks: 1 x 2 = 2<br>
Transport-type: tcp<br>
Bricks:<br>
Brick1: web1:/glusterfs/vol01/brick<br>
Brick2: web2:/glusterfs/vol01/brick<br>
Options Reconfigured:<br>
network.ping-timeout: 15<br>
performance.cache-max-file-size: 100MB<br>
<br>
[gluster config]<br>
/etc/glusterfs/glusterd.vol<br>
volume management<br>
    type mgmt/glusterd<br>
    option working-directory /var/lib/glusterd<br>
    option transport-type socket<br>
    option transport.socket.keepalive-time 10<br>
    option transport.socket.keepalive-interval 2<br>
    option transport.socket.read-fail-log off<br>
    option ping-timeout 30<br>
end-volume<br>
<br>
Best,<br>
Yasu<br>
_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
</blockquote></div><br></div>