[Gluster-users] Problem with new version of GlusterFS-2.0.1 while copying.

Raja coksupp2 at spectrum.net.in
Thu Jun 11 04:58:05 UTC 2009


Hi,

I am having some problem with new version of 
GlusterFS-2.0.1 while copying using "apache" user.

sudo -u apache cp -pvf zip/* test/

getting the message
cp: getting attribute 
`trusted.glusterfs.afr.data-pending' of 
`zip/speccok1ma131231824637.zip': Operation not permitted
`zip/speccok1ma131231824776.zip' -> `test/speccok1ma131231824776.zip'

No problem while copying as "root" user
  cp -pvf zip/* test/
`zip/qba47401ma101235551435.zip' -> `test/qba47401ma101235551435.zip'
`zip/qba47401ma101235551480.zip' -> `test/qba47401ma101235551480.zip'

Everything goes fine while copying using "apache" 
user and as "root" user when i used GlusterFS-2.0.0rc4 version.

Our requirement is to copy files using "apache" user using perl scripts.
Please help me.

We are using Automatic File Replication (Mirror) across Two Storage Servers.

Server side Configuration files :-

fs1cokma (IP:192.168.25.88)
root at fs1cokma /storage# cat /etc/glusterfs/glusterfsd.vol
####################################################################
volume posix
   type storage/posix
   option directory /storage
end-volume

volume locks
   type features/locks
   subvolumes posix
end-volume

volume brick
   type performance/io-threads
   option thread-count 8
   subvolumes locks
end-volume

volume server
   type protocol/server
   option transport-type tcp
   option auth.addr.brick.allow *
   option transport.socket.listen-port 6996
   subvolumes brick
end-volume
######################################################################

fs2cokma (IP:192.168.25.89)
root at fs2cokma /storage# cat /etc/glusterfs/glusterfsd.vol
####################################################################
volume posix
   type storage/posix
   option directory /storage
end-volume

volume locks
   type features/locks
   subvolumes posix
end-volume

volume brick
   type performance/io-threads
   option thread-count 8
   subvolumes locks
end-volume

volume server
   type protocol/server
   option transport-type tcp
   option auth.addr.brick.allow *
   option transport.socket.listen-port 6996
   subvolumes brick
end-volume
######################################################################

Client side configuration :-
root at web1cokma /etc/glusterfs# cat glusterfs.vol.afr
#########################################################################
volume remote1
   type protocol/client
   option transport-type tcp
   option remote-host 192.168.25.88
   option remote-subvolume brick
end-volume

volume remote2
   type protocol/client
   option transport-type tcp
   option remote-host 192.168.25.89
   option remote-subvolume brick
end-volume

volume replicate
   type cluster/replicate
   subvolumes remote1 remote2
end-volume

volume writebehind
   type performance/write-behind
   option window-size 1MB
   subvolumes replicate
end-volume

volume cache
   type performance/io-cache
   option cache-size 512MB
   subvolumes writebehind
end-volume
############################################################################

Regards,

Raja Krishnan,
Linux Administrator,
Spectrum Softtech Solutions(P)Ltd,
Cochin, Kerala - 682011.
Phone : 91-484-4082000
Fax: 91-484-4082408
Visit at : www.spectrum.net.in , www.spectrum.co.in , www.spectramedi.com

ü Please do not print this e-mail unless it is 
absolutely necessary. SAVE PAPER. Protect the Environment. P

DISCLAIMER
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.  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20090611/2a70dd66/attachment.html>


More information about the Gluster-users mailing list