gluster-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Amar Tumballi
Subject: Re: [Gluster-devel] glusterfs 2.0.1 -- the volume file got modified?
Date: Wed, 27 May 2009 15:12:20 -0700

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]