[Gluster-devel] glusterfs 2.0.1 -- the volume file got modified?

Amar Tumballi amar at gluster.com
Wed May 27 22:12:20 UTC 2009


>
> I already send this message along with tons of others, but particularly for
> this one, can anyone explain why the error message says that the volume file
> got modified? How can this happen? How can this be prevented or be worked
> around?
>

There is an option in GlusterFS where the client can pull a volume file from
server (so the management of volumefile becomes easier). Assume you have 5
clients, which are already mounted with '-s' option and now, you modify the
client's volume file on server, and now mount another client. This can cause
a confusion in the filesystem in most of the cases as client volumefiles can
be different. (Assume a case where first 5 client uses 'cluster/stripe' and
the newer client uses 'cluster/replicate'). This timestamp check of volume
file is present to prevent this behavior.

>
> [server-protocol.c:6553:_volfile_update_checksum] foo-server: the volume
> file got modified between earlier access and now, this may lead to
> inconsistency between clients, advised to remount client
>


> The error clearly advises to remount the client, but why?
>
>
Remount the connected clients. That means, the volume file used by those
clients are no more valid, and when every client fetches new volumefile from
server, things work fine.


If you want to disable the volumefile checksum on server, you can provide

 "option verify-volfile-checksum off"

in server protocol volume.

Regards,

-- 
Amar Tumballi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20090527/7882b0ab/attachment-0003.html>


More information about the Gluster-devel mailing list