Re: glusterfs 2.0.1 -- the volume file got modified?

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

 



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


[Index of Archives]     [Gluster Users]     [Ceph Users]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux