Hi Is there any way to make Gluster emulate the behaviour of a NFS filesystem exported with the sync option? By that I mean is it possible to write a file from one client and guarantee that the data will be instantly available on close to all other clients? Cheers,
On Thu, Jul 10, 2014 at 8:40 PM, Franco Broi <franco.broi at iongeo.com> wrote:> Is there any way to make Gluster emulate the behaviour of a NFS > filesystem exported with the sync option? By that I mean is it possible > to write a file from one client and guarantee that the data will be > instantly available on close to all other clients?Gluster native writes are already synchronous.
Niels may know. CCed him. Pranith On 07/11/2014 06:10 AM, Franco Broi wrote:> Hi > > Is there any way to make Gluster emulate the behaviour of a NFS > filesystem exported with the sync option? By that I mean is it possible > to write a file from one client and guarantee that the data will be > instantly available on close to all other clients? > > Cheers, > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users
On 07/11/2014 06:10 AM, Franco Broi wrote:> Hi > > Is there any way to make Gluster emulate the behaviour of a NFS > filesystem exported with the sync option? By that I mean is it possible > to write a file from one client and guarantee that the data will be > instantly available on close to all other clients?I think FUSE also supports the sync option with mount similar to NFS. Man page snippet for fuse(8): OPTIONS Most of the generic mount options described in mount are supported (ro, rw, suid, nosuid, dev, nodev, exec, noexec, atime, noatime, sync, async, dirsync). Filesystems are mounted with nodev,nosuid by default, which can only be overridden by a privileged user. Thanks, Santosh> > Cheers, > > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://supercolony.gluster.org/mailman/listinfo/gluster-users