[Gluster-users] Replicating data files is causing issue with postgres

Jeff Lord jlord at mediosystems.com
Wed Apr 1 22:07:02 UTC 2009


On Apr 1, 2009, at 10:57 AM, Anand Avati wrote:

>> Ok. Problem solved.
>> We were mounting the file system with:
>>
>> mount -t glusterfs -o volume-name=cache /etc/glusterfs/ 
>> replicatedb.vol
>> /mnt/replicate
>>
>> So I dropped the db and the tablespace and remounted the gluster  
>> share as:
>>
>> mount -t glusterfs -o volume-name=replicate /etc/glusterfs/ 
>> replicatedb.vol
>> /mnt/replicate
>>
>> After that our full database restore completed with no errors.
>> This is a great thing!
>> As you can see the volume-name=cache references write-behind, which  
>> seemed
>> to be causing the problems.
>>
>
> volume-name=cache references io-cache and write-behind. Can you try
> with volume-name=write-behind and see if things work? That way we can
> corner the issue to be in io-cache specifically.
>
> Avati


Yes I will try referencing volume-name=write-behind
On a related note restoring the database from gfs02-hq still gives  
errors, whereas restoring from gfs01-hq does not.
Is there any reason this could be related to the favorite-child  
setting in the config?




More information about the Gluster-users mailing list