<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>
Hi all,<br>I'm using a distributed-replicated volume and it seems that "mv"&nbsp; is not atomic with a volume mounted using GlusterFS ( but works well with NFS)<br><br>Volume Name: test<br>Type: Distributed-Replicate<br>Status: Started<br>Number of Bricks: 2 x 2 = 4<br>Transport-type: tcp<br>Bricks:<br>Brick1: ylal3540:/users3/test<br>Brick2: ylal3520:/users3/test<br>Brick3: ylal3530:/users3/test<br>Brick4: ylal3510:/users3/test<br>Options Reconfigured:<br>nfs.port: 2049<br>performance.cache-size: 6GB<br>performance.cache-refresh-timeout: 10<br>performance.cache-min-file-size: 1kB<br>performance.cache-max-file-size: 4GB<br>network.ping-timeout: 10<br>features.quota: off<br>features.quota-timeout: 60<br><br><br>mount -t glusterfs ylal3530:/test /users/glusterfs_mnt/<br><br># while :; do echo "test" &gt; /users/glusterfs_mnt/tmp/atomic1 ;mv /users/glusterfs_mnt/tmp/atomic1 /users/glusterfs_mnt/tmp/atomic2;done<br><br># while :; do cat /users/glusterfs_mnt/tmp/atomic2 1&gt;/dev/null;done<br>cat: /users/glusterfs_mnt/tmp/atomic2: No such file or directory<br>cat: /users/glusterfs_mnt/tmp/atomic2: No such file or directory<br>cat: /users/glusterfs_mnt/tmp/atomic2: No such file or directory<br>cat: /users/glusterfs_mnt/tmp/atomic2: No such file or directory<br>cat: /users/glusterfs_mnt/tmp/atomic2: No such file or directory<br>cat: /users/glusterfs_mnt/tmp/atomic2: No such file or directory<br><br><br><br><br><br><br><br>                                               </div></body>
</html>