[Gluster-devel] Problem with afr_setxattr_cbk on 1.3.4
Krishna Srinivas
krishna at zresearch.com
Thu Oct 11 18:29:54 UTC 2007
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 at vomba.com> 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 at vomba.com> 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.
> >>
> >> 2007-10-10 17:41:20 D [fuse-bridge.c:423:fuse_lookup] glusterfs-fuse:
> >> LOOKUP 179873/107668_1.jpg
> >> (/dev-www.sxx.com/thumbnails/originals/thumbs/0/107/107668_1.jpg)
> >> 2007-10-10 17:41:20 D [inode.c:381:__passive_inode] fuse/inode:
> >> passivating inode(180080), lru=216/1024
> >> 2007-10-10 17:41:20 D [fuse-bridge.c:378:fuse_entry_cbk] glusterfs-fuse:
> >> ERR => -1 (2)
> >> 2007-10-10 17:41:20 D [inode.c:308:__destroy_inode] fuse/inode: destroy
> >> inode(0) [@0x96206c0]
> >> 2007-10-10 17:41:20 D [fuse-bridge.c:423:fuse_lookup] glusterfs-fuse:
> >> LOOKUP 179873/107668_1.jpg
> >> (/dev-www.sxx.com/thumbnails/originals/thumbs/0/107/107668_1.jpg)
> >> 2007-10-10 17:41:20 D [fuse-bridge.c:378:fuse_entry_cbk] glusterfs-fuse:
> >> ERR => -1 (2)
> >> 2007-10-10 17:41:20 D [inode.c:308:__destroy_inode] fuse/inode: destroy
> >> inode(0) [@0x9621440]
> >> 2007-10-10 17:41:20 D [inode.c:559:__create_inode] fuse/inode: create
> >> inode(180081)
> >> 2007-10-10 17:41:20 D [inode.c:351:__active_inode] fuse/inode:
> >> activating inode(180081), lru=216/1024
> >> 2007-10-10 17:41:20 D [inode.c:308:__destroy_inode] fuse/inode: destroy
> >> inode(0) [@0x9621520]
> >> 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
> >> 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=sxx04) op_ret=-1 op_errno=95
> >> 2007-10-10 17:41:21 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
> >> 2007-10-10 17:41:21 E [afr.c:1120:afr_setxattr_cbk] afr3-4:
> >> (path=/dev-www.sxx.com/thumbnails/originals/thumbs/0/107/107668_1.jpg
> >> child=sxx04) op_ret=-1 op_errno=95
> >>
> >>
> >>
> >> _______________________________________________
> >> Gluster-devel mailing list
> >> Gluster-devel at nongnu.org
> >> http://lists.nongnu.org/mailman/listinfo/gluster-devel
> >>
> >>
>
>
>
> _______________________________________________
> Gluster-devel mailing list
> Gluster-devel at nongnu.org
> http://lists.nongnu.org/mailman/listinfo/gluster-devel
>
More information about the Gluster-devel
mailing list