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: Ioannis Aslanidis
Subject: Re: [Gluster-devel] glusterfs 2.0.1 -- the volume file got modified?
Date: Thu, 28 May 2009 11:13:19 +0200
User-agent: Thunderbird 2.0.0.21 (X11/20090430)

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
> 

Attachment: iaslanidis.vcf
Description: Vcard

Attachment: signature.asc
Description: OpenPGP digital signature


reply via email to

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