Created attachment 577046 [details] Brick Log Description of problem: The brick log should ideally notify what is the "key extended attribute" for which operation is not supported. Note:- No dbench application failure. [2012-04-12 22:06:23.195883] W [posix-helpers.c:663:posix_handle_pair] 0-dstore-posix: Extended attributes not supported [2012-04-12 22:06:23.195961] I [server3_1-fops.c:897:server_setxattr_cbk] 0-dstore-server: 1211074: SETXATTR /clients/client0/~dmtmp/PARADOX/STUDENTS.TV (fa00b5e3-77d6-4a10-a9bf-6cefdfcb7773) ==> -1 (Operation not supported) [2012-04-12 22:06:23.210999] I [server3_1-fops.c:897:server_setxattr_cbk] 0-dstore-server: 1211090: SETXATTR /clients/client8/~dmtmp/PARADOX/STUDENTS.PX (de3cb6e6-5017-4870-8c94-6d5643947ae1) ==> -1 (Operation not supported) [2012-04-12 22:06:23.223347] I [server3_1-fops.c:897:server_setxattr_cbk] 0-dstore-server: 1211101: SETXATTR /clients/client4/~dmtmp/PARADOX/COURSES.DB (15174f28-be10-466b-abba-d315962eb6c2) ==> -1 (Operation not supported) [2012-04-12 22:06:23.225733] I [server3_1-fops.c:818:server_getxattr_cbk] 0-dstore-server: 1211105: GETXATTR /clients/client9/~dmtmp/PARADOX/COURSES.DB (user.DosAttrib) ==> -1 (Operation not supported) [2012-04-12 22:06:23.237674] I [server3_1-fops.c:818:server_getxattr_cbk] 0-dstore-server: 1211113: GETXATTR /clients/client8/~dmtmp/PARADOX/STUDENTS.XG0 (user.DosAttrib) ==> -1 (Operation not supported) [2012-04-12 22:06:23.248844] I [server3_1-fops.c:818:server_getxattr_cbk] 0-dstore-server: 1211121: GETXATTR /clients/client9/~dmtmp/PARADOX/COURSES.DB (user.DosAttrib) ==> -1 (Operation not supported) Version-Release number of selected component (if applicable): 3.3.0qa34 How reproducible: often run_dbench.sh:- -------------- #!/bin/bash while true; do dbench -s -F -S --stat-check 10 dbench -s -F -S -x --one-byte-write-fix --stat-check 10 done Steps to Reproduce: 1.create a replicate volume (1x3).start the volume 2.create a fuse mount. 3.on the fuse mount execute "run_dbench.sh" Actual results: The brick log repeatedly reports Setxattr, Getxattr operation not supported Additional Info:- ----------------- [04/12/12 - 21:59:54 root@APP-SERVER1 ~]# gluster volume info Volume Name: dstore Type: Replicate Volume ID: bfddf295-51a2-48ab-b048-cd7dcfa3f91e Status: Started Number of Bricks: 1 x 3 = 3 Transport-type: tcp Bricks: Brick1: 192.168.2.35:/export1/dstore1 Brick2: 192.168.2.36:/export1/dstore1 Brick3: 192.168.2.37:/export1/dstore1 [04/12/12 - 22:10:19 root@APP-SERVER1 ~]# setfattr -n user.testing /export1/dstore1/iozone.tmp setfattr: /export1/dstore1/iozone.tmp: Operation not supported [04/12/12 - 22:10:40 root@APP-SERVER1 ~]# mount -o remount,user_xattr /export1 [04/12/12 - 22:11:07 root@APP-SERVER1 ~]# setfattr -n user.testing /export1/dstore1/iozone.tmp [04/12/12 - 22:12:23 root@APP-SERVER1 ~]# gluster volume status dstore detail Status of volume: dstore ------------------------------------------------------------------------------ Brick : Brick 192.168.2.35:/export1/dstore1 Port : 24009 Online : Y Pid : 30484 File System : ext4 Device : /dev/sdb1 Mount Options : rw,user_xattr Inode Size : 256 Disk Space Free : 96.2GB Total Disk Space : 98.4GB Inode Count : 6553600 Free Inodes : 6486744 ------------------------------------------------------------------------------ Brick : Brick 192.168.2.36:/export1/dstore1 Port : 24009 Online : Y Pid : 19627 File System : xfs Device : /dev/sdb1 Mount Options : rw Inode Size : 256 Disk Space Free : 98.1GB Total Disk Space : 99.9GB Inode Count : 104856192 Free Inodes : 104789358 ------------------------------------------------------------------------------ Brick : Brick 192.168.2.37:/export1/dstore1 Port : 24009 Online : Y Pid : 15774 File System : xfs Device : /dev/sdb1 Mount Options : rw Inode Size : 256 Disk Space Free : 97.5GB Total Disk Space : 99.9GB Inode Count : 104856192 Free Inodes : 104789358
the issue came up because the 'user_xattr' flag was not present on the backend mount. But bug here is that log messages are not complete to debug the issues.
patch sent @ http://review.gluster.com/3140
CHANGE: http://review.gluster.com/3140 (log cleanup: in setxattr() path) merged in master by Vijay Bellur (vijay)
Bug is fixed . verified on 3.3.0qa39