Re: Problem with afr_setxattr_cbk on 1.3.4

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

 




I only get those warnings when doing mv, cp works fine

[karl@sxx01 sxx]$ cat /etc/redhat-release
CentOS release 5 (Final)
[karl@sxx01 sxx]$ uname -a
Linux sxx01.sxx.com 2.6.18-8.1.10.el5 #1 SMP Thu Sep 13 12:17:39 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

glusterfs-1.3.4
fuse-2.7.0-glfs4

Anand, you are suggesting that xattr are not enabled, what would be the best way to confirm that they are enabled?

# mount
...
/dev/mapper/VolGroup00-data on /data type ext3 (rw,noatime,nodiratime,user_xattr) glusterfs on /mnt/sharedfast type fuse (rw,nosuid,nodev,allow_other,default_permissions,max_read=1048576) glusterfs on /mnt/sharedbig type fuse (rw,nosuid,nodev,allow_other,default_permissions,max_read=1048576) glusterfs on /mnt/sharedread type fuse (rw,nosuid,nodev,allow_other,default_permissions,max_read=1048576)

Krishna Srinivas wrote:
getxattr("/www/thumbs/originals/0/199/199000_0.jpg",
"system.posix_acl_access", 0xbfe6e9f0, 132) = -1 EOPNOTSUPP (Operation
not supp
orted)
setxattr("/mnt/sharedbig/test6.jpg", "system.posix_acl_access",
"\x02\x00\x00\x00\x01\x00\x07\x00\xff\xff\xff\xff\x04\x00\x07\x00\xf
f\xff\xff\xff \x00\x07\x00\xff\xff\xff\xff", 28, 0) = -1 EOPNOTSUPP
(Operation not supported)
chmod("/mnt/sharedbig/test6.jpg", 0100777) = 0
unlink("/www/thumbs/originals/0/199/199000_0.jpg") = 0

It is trying to set some ACL related xattrs and failing in the
backend. I think it is harmless. What distribution are you using?


close(1)                                = 0
exit_group(0)

Krishna Srinivas wrote:
Hi Karl,

Can you paste strace of mv command when you see those errors
in the log? The last few relavent lines of the strace outout will do.
you can use the -o option for specifying output file.

strace -o /tmp/mv.log mv file1 file2

Krishna

On 10/11/07, Karl Bernard <karl@xxxxxxxxx> wrote:

Krishna,

I only get those errors with a "mv", I tried a cp and I don't see those
errors.
getfattr --dump on both the original and copied files return no error
but an empty string

Amar,

My filesystem was not originally mounted with the specific option
user_xattr, however it is my understanding CentOS has it enabled by
default. I later added the mount option but still get the errors.
/dev/mapper/VolGroup00-data on /data type ext3
(rw,noatime,nodiratime,user_xattr)

I tried soing the same mv operation as root on the client and the same
errors  get logged.

Karl

Krishna Srinivas wrote:

are you just doing mv? or any other specific command?
Can you do a "getfattr --dump" on the original and copied
file and see if there are any differences.

Thanks
Krishna



Amar S. Tumballi wrote:

Karl,
  can you check if your backend filsystem has been mounted with -o
user_xattr (option in fstab). Also, do you get the same problem when
you try to access the files via glusterfs as root (on the client side)?

thanks

On 10/11/07, Karl Bernard <karl@xxxxxxxxx> wrote:


Hello All.

I'm having some issues copying files from local filesystem to gluster.
The files seem to get copied fine, however I get tons of log errors.

The errors I get:
2007-10-10 17:41:20 E [afr.c:1120:afr_setxattr_cbk] afr3-4:
(path=/dev-www.sxx.com/thumbnails/originals/thumbs/0/107/107668_1.jpg
child=sxx03) op_ret=-1 op_errno=95

I'm doing a mv and each error repeats 4 times.

I've made sure Extended Attributes where enabled. and tested doing:
setfattr -n user.test -v 1
/data/glusterfs/dataspace/dev-www.sxx.com/thumbnails/originals/thumbs/0/107/107668_1.jpg

Version:
  glusterfs-1.3.4
  fuse-2.7.0-glfs4

here's some debug log. Can anyone suggest what might be wrong? I can
post more info on my setup if needed.



[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