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

Ioannis Aslanidis iaslanidis at flumotion.com
Thu May 28 09:13:19 UTC 2009


Can this affect currently connected clients and make them get
disconnected or lose the connection to the server (that is the main
problem we are experiencing every now and then)?

Amar Tumballi wrote:
>     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 --------------
A non-text attachment was scrubbed...
Name: iaslanidis.vcf
Type: text/x-vcard
Size: 512 bytes
Desc: not available
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20090528/dc04a6ca/attachment-0003.vcf>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://supercolony.gluster.org/pipermail/gluster-devel/attachments/20090528/dc04a6ca/attachment-0003.sig>


More information about the Gluster-devel mailing list