<html>
<body>
<br>
Hi,<br><br>
I am having some problem with new version of<font color="#008000"><b>
GlusterFS-2.0.1</b></font> while copying using <b>&quot;apache&quot;</b>
user.<br><br>
sudo -u apache cp -pvf zip/* test/<br><br>
getting the message<br>
<b>cp: getting attribute `trusted.glusterfs.afr.data-pending' of
`zip/speccok1ma131231824637.zip': Operation not permitted<br>
`zip/speccok1ma131231824776.zip' -&gt;
`test/speccok1ma131231824776.zip'<br><br>
</b>No problem while copying as &quot;<b>root&quot;</b> user<br>
&nbsp;cp -pvf zip/* test/<br>
`zip/qba47401ma101235551435.zip' -&gt;
`test/qba47401ma101235551435.zip'<br>
`zip/qba47401ma101235551480.zip' -&gt;
`test/qba47401ma101235551480.zip'<br><br>
Everything goes fine while copying using <b>&quot;apache&quot;</b> user
and as <b>&quot;root&quot;</b> user when i used
<font color="#008000"><b><i>GlusterFS-2.0.0rc4
version</i></b></font>.<br><br>
Our requirement is to copy files using &quot;apache&quot; user using perl
scripts.<br>
Please help me.<br><br>
<font color="#008000"><b><i>We are using Automatic File Replication
(Mirror) across Two Storage Servers.<br><br>
</i></font>Server side Configuration files :-<br><br>
fs1cokma (IP:192.168.25.88)<br>
</b>root@fs1cokma /storage# cat /etc/glusterfs/glusterfsd.vol<br>
####################################################################<br>
volume posix<br>
&nbsp; type storage/posix<br>
&nbsp; option directory /storage<br>
end-volume<br><br>
volume locks<br>
&nbsp; type features/locks<br>
&nbsp; subvolumes posix<br>
end-volume<br><br>
volume brick<br>
&nbsp; type performance/io-threads<br>
&nbsp; option thread-count 8<br>
&nbsp; subvolumes locks<br>
end-volume<br><br>
volume server<br>
&nbsp; type protocol/server<br>
&nbsp; option transport-type tcp<br>
&nbsp; option auth.addr.brick.allow *<br>
&nbsp; option transport.socket.listen-port 6996<br>
&nbsp; subvolumes brick<br>
end-volume<br>
######################################################################<br>
<br>
<b>fs2cokma (IP:192.168.25.89)<br>
</b>root@fs2cokma /storage# cat /etc/glusterfs/glusterfsd.vol<br>
####################################################################<br>
volume posix<br>
&nbsp; type storage/posix<br>
&nbsp; option directory /storage<br>
end-volume<br><br>
volume locks<br>
&nbsp; type features/locks<br>
&nbsp; subvolumes posix<br>
end-volume<br><br>
volume brick<br>
&nbsp; type performance/io-threads<br>
&nbsp; option thread-count 8<br>
&nbsp; subvolumes locks<br>
end-volume<br><br>
volume server<br>
&nbsp; type protocol/server<br>
&nbsp; option transport-type tcp<br>
&nbsp; option auth.addr.brick.allow *<br>
&nbsp; option transport.socket.listen-port 6996<br>
&nbsp; subvolumes brick<br>
end-volume<br>
######################################################################<br>
<br>
<b>Client side configuration :-<br>
</b>root@web1cokma /etc/glusterfs# cat glusterfs.vol.afr<br>
#########################################################################<br>
volume remote1<br>
&nbsp; type protocol/client<br>
&nbsp; option transport-type tcp<br>
&nbsp; option remote-host 192.168.25.88<br>
&nbsp; option remote-subvolume brick<br>
end-volume<br><br>
volume remote2<br>
&nbsp; type protocol/client<br>
&nbsp; option transport-type tcp<br>
&nbsp; option remote-host 192.168.25.89<br>
&nbsp; option remote-subvolume brick<br>
end-volume<br><br>
volume replicate<br>
&nbsp; type cluster/replicate<br>
&nbsp; subvolumes remote1 remote2<br>
end-volume<br><br>
volume writebehind<br>
&nbsp; type performance/write-behind<br>
&nbsp; option window-size 1MB<br>
&nbsp; subvolumes replicate<br>
end-volume<br><br>
volume cache<br>
&nbsp; type performance/io-cache<br>
&nbsp; option cache-size 512MB<br>
&nbsp; subvolumes writebehind<br>
end-volume<br>
############################################################################<br>
<br>
Regards,<br>
<x-sigsep><p></x-sigsep>
<font face="Times New Roman, Times" color="#808080"><b><i>Raja
Krishnan,<br>
Linux Administrator,<br>
Spectrum Softtech Solutions(P)Ltd,<br>
Cochin, Kerala - 682011.<br>
Phone : 91-484-4082000<br>
Fax: 91-484-4082408<br>
</i>Visit at</font><font face="Times New Roman, Times" color="#0000FF"> :
</font><a href="http://www.spectrum.net.in/" eudora="autourl">
<font face="Times New Roman, Times">www.spectrum.net.in</a> ,
<a href="http://www.spectrum.co.in/" eudora="autourl">
www.spectrum.co.in</a> ,
</font><a href="http://www.spectramedi.com/" eudora="autourl">
<font face="Times New Roman, Times" color="#0000FF">
www.spectramedi.com<br><br>
</a></b></font><font face="Webdings" size=4 color="#008000">ü</font>
<font size=2><b> </font><font size=2 color="#008000">Please do not print
this e-mail unless it is absolutely necessary. SAVE PAPER. Protect the
Environment.</font><font face="Webdings" size=2 color="#008000">
P<br><br>
</b></font><font face="Times New Roman, Times" size=2>DISCLAIMER<br>
The information transmitted is intended exclusively for the person or
entity to which it is addressed and may contain confidential and/or
privileged material. Any review, re-transmission, dissemination or other
use of, or taking of any action in reliance upon, this information by
persons or entities other than the intended recipient is prohibited. If
you are not the intended recipient or have received this mail in error,
please notify the sender immediately and delete the material from your
system.This mail is virus protected. However please virus scan before you
open or detach documents from this transmission. We are not liable for
any damages that may occur caused by any virus.Spectrum Softtech
Solutions Pvt. Ltd. is neither liable for the proper and complete
transmission of the information contained in this communication nor for
any delay in its receipt. </font></body>
</html>