[Gluster-users] Renaming a file in a distributed volume

Joe Julian joe at julianfamily.org
Sat Oct 13 17:52:49 UTC 2012


The file gets renamed on the distribute subvolume where it's stored and 
the subvolume where the new hash points gets a "sticky pointer" that 
points to where the file actually resides.

On 10/13/2012 07:52 AM, Brian Candler wrote:
> In a distributed volume (glusterfs 3.3), files within a directory are
> assigned to a brick by a hash of their filename, correct?
>
> So what happens if you do "mv foo bar"? Does the file get copied to another
> brick? Is this no longer an atomic operation?
>
> Thanks,
>
> Brian.
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://supercolony.gluster.org/mailman/listinfo/gluster-users




More information about the Gluster-users mailing list