Description of problem: Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1.create a distribute volume and fill with some files 2.add-brick and initiate rebalance 3. now check the log Actual results: Excessive logs are present saying "failed to perform truncate" ===================================================================== [2012-04-16 02:25:42.340607] W [client3_1-fops.c:708:client3_1_truncate_cbk] 0-test-client-2: remote operation failed: No such file or directory [2012-04-16 02:25:42.340661] W [dht-rebalance.c:838:dht_migrate_file] 0-test-dht: /78: failed to perform truncate on test-client-2 (No such file or directory) [2012-04-16 02:25:42.342119] W [dht-rebalance.c:853:dht_migrate_file] 0-test-dht: /78: failed to lookup the file on subvolumes (No suc h file or directory) [2012-04-16 02:25:42.342155] I [dht-rebalance.c:858:dht_migrate_file] 0-test-dht: completed migration of /78 from subvolume test-clien t-2 to test-client-3 [2012-04-16 02:25:42.348807] I [dht-rebalance.c:647:dht_migrate_file] 0-test-dht: /82: attempting to move from test-client-2 to test-c lient-3 [2012-04-16 02:25:42.682579] W [client3_1-fops.c:708:client3_1_truncate_cbk] 0-test-client-2: remote operation failed: No such file or directory [2012-04-16 02:25:42.682645] W [dht-rebalance.c:838:dht_migrate_file] 0-test-dht: /82: failed to perform truncate on test-client-2 (No such file or directory) [2012-04-16 02:25:42.684192] W [dht-rebalance.c:853:dht_migrate_file] 0-test-dht: /82: failed to lookup the file on subvolumes (No such file or directory) [2012-04-16 02:25:42.684219] I [dht-rebalance.c:858:dht_migrate_file] 0-test-dht: completed migration of /82 from subvolume test-client-2 to test-client-3 [2012-04-16 02:25:42.698898] I [dht-rebalance.c:647:dht_migrate_file] 0-test-dht: /86: attempting to move from test-client-2 to test-client-3 [2012-04-16 02:25:43.044838] W [client3_1-fops.c:708:client3_1_truncate_cbk] 0-test-client-2: remote operation failed: No such file or directory [2012-04-16 02:25:43.044883] W [dht-rebalance.c:838:dht_migrate_file] 0-test-dht: /86: failed to perform truncate on test-client-2 (No such file or directory) [2012-04-16 02:25:43.046214] W [dht-rebalance.c:853:dht_migrate_file] 0-test-dht: /86: failed to lookup the file on subvolumes (No such file or directory) [2012-04-16 02:25:43.046236] I [dht-rebalance.c:858:dht_migrate_file] 0-test-dht: completed migration of /86 from subvolume test-client-2 to test-client-3 [2012-04-16 02:25:43.065222] I [dht-rebalance.c:647:dht_migrate_file] 0-test-dht: /99: attempting to move from test-client-2 to test-client-3 [2012-04-16 02:25:43.078997] I [dht-rebalance.c:1594:gf_defrag_status_get] 0-glusterfs: Files migrated: 85, size: 1782579200, looku
CHANGE: http://review.gluster.com/3155 (cluster/dht: Revert to calling ftruncate) merged in master by Vijay Bellur (vijay)
No such logs are appearing now.