[Gluster-devel] 2 server replicate setup, corrupt file uploads?
brandonlamb at gmail.com
Fri Jan 22 09:38:13 UTC 2010
Not sure what if anything might be needed so I'll wait for someone to
tell me (as far as logs, configs, whatnot).
Basically I have two servers with two clients mounting a replicated
brick. I am using this with php 5.3 and lighttpd for web servers.
When I mount /web/uploads/attachments on the gluster mount and upload
a file and have it move it to this directory, it seems to corrupt
files. Switching to nfs and not modifying the web servers or anything
else it works fine.
Is there any kind of special mounting options I need to know about or
anything like that? I had a couple customer complaints about our
webmail having issues attaching a couple word documents and a photo,
and it seems this must be what they were talking about.
My php upload_dir is /var/log/lighttpd/uploads which is on the local
hard drive, so it does move_uploaded_file() from there to the gluster
On another note, I am serving my scripts and everything else from the
same mount, so it seems odd that using vim from a prompt, saving files
etc and the web server reading them all seems to work fine, but
something whacky with uploading files??
More information about the Gluster-devel