Hide Forgot
Created a simple 2 server dht setup. mounted & created files at client. added new brick and started "rebalance" , files are distributed across 3 bricks. While trying to remove all files (rm -rf /mnt/*) - few files are not removed. in the backend running ls shows - server#ls -l ---------T 1 root root 0 Sep 8 02:52 14938 ---------T 1 root root 0 Sep 8 02:52 14940 ---------T 1 root root 0 Sep 8 02:52 14944 ---------T 1 root root 0 Sep 8 02:52 14945 ---------T 1 root root 0 Sep 8 02:52 14947 ---------T 1 root root 0 Sep 8 02:52 14948
checked with 3.1.0qa19, unable to reproduce this issue.
update with 3.1.0qa22 - in 4dht cluster client#touch 1..20000 remove a brick - now do client#rm -rf * client#ls show files. server1#ls -l -rw-r--r-- 1 root root 0 Sep 15 03:29 file9979 -rw-r--r-- 1 root root 0 Sep 15 03:29 file9980 -rw-r--r-- 1 root root 0 Sep 15 03:29 file9981 -rw-r--r-- 1 root root 0 Sep 15 03:29 file9987 -rw-r--r-- 1 root root 0 Sep 15 03:29 file9992 -rw-r--r-- 1 root root 0 Sep 15 03:29 file9993 -rw-r--r-- 1 root root 0 Sep 15 03:29 file9997 server2#ls -l -rw-r--r-- 1 root root 0 Sep 15 03:27 file708 ---------T 1 root root 0 Sep 15 03:32 file71 ---------T 1 root root 0 Sep 15 03:32 file710 ---------T 1 root root 0 Sep 15 03:32 file711 ---------T 1 root root 0 Sep 15 03:32 file714 ---------T 1 root root 0 Sep 15 03:32 file717 ---------T 1 root root 0 Sep 15 03:32 file718 ---------T 1 root root 0 Sep 15 03:32 file721 -rw-r--r-- 1 root root 0 Sep 15 03:27 file723 ---------T 1 root root 0 Sep 15 03:32 file724 -rw-r--r-- 1 root root 0 Sep 15 03:27 file725 ---------T 1 root root 0 Sep 15 03:32 file726 ---------T 1 root root 0 Sep 15 03:32 file727 ---------T 1 root root 0 Sep 15 03:32 file729 -rw-r--r-- 1 root root 0 Sep 15 03:27 file73 ---------T 1 root root 0 Sep 15 03:32 file730 -rw-r--r-- 1 root root 0 Sep 15 03:27 file731 ---------T 1 root root 0 Sep 15 03:32 file733 ---------T 1 root root 0 Sep 15 03:32 file734 ---------T 1 root root 0 Sep 15 03:32 file75 -rw-r--r-- 1 root root 0 Sep 15 03:27 file80 ---------T 1 root root 0 Sep 15 03:32 file86 -rw-r--r-- 1 root root 0 Sep 15 03:27 file87 ---------T 1 root root 0 Sep 15 03:32 file9 -rw-r--r-- 1 root root 0 Sep 15 03:27 file93 -rw-r--r-- 1 root root 0 Sep 15 03:27 file97
PATCH: http://patches.gluster.com/patch/4931 in master (distribute: in linkfile creation check for valid gfid in inode)