Description of problem: gluster volume clear-locks <Volume_name> <path_to_file> kind all posix always fails with "clear-locks getxattr command failed. Reason: Invalid argument" Version-Release number of selected component (if applicable): mainline How reproducible: often Actual results: [root@APP-SERVER1 glusterfs]# gluster volume clear-locks dist / kind all posix Volume clear-locks unsuccessful clear-locks getxattr command failed. Reason: Invalid argument [root@APP-SERVER1 glusterfs]# gluster volume clear-locks dist /file1 kind all posix Volume clear-locks unsuccessful clear-locks getxattr command failed. Reason: Invalid argument Glusterd log:- -------------- [2012-02-24 16:50:02.602921] I [glusterd-volume-ops.c:1783:glusterd_op_clearlocks_volume] 0-management: Received clear-locks request for volume dist with kind all type posix and options (null) [2012-02-24 16:50:02.646580] E [glusterd-volume-ops.c:1834:glusterd_op_clearlocks_volume] 0-management: clear-locks getxattr command failed. Reason: Invalid argument [2012-02-24 16:50:02.657537] E [glusterd-op-sm.c:1808:glusterd_op_ac_send_commit_op] 0-: Commit failed
CHANGE: http://review.gluster.com/2812 (locks/glusterd: Fixed clearing of posix locks from failing always.) merged in master by Vijay Bellur (vijay)
Bug is fixed . verified on 3.3.0qa39