Hide Forgot
raghu the reason would be that there would be stale link files in the back end. best way to fix this would be to add selfhealing code to rmdir. before rmdir of dht returns with 'dir not empty' error it can delete the stale link files and try rmdir'ing the backend dirs again.
root@booradley:/home/raghu/vol-specs/dht# ls /mnt/raghu root@booradley:/home/raghu/vol-specs/dht# cp -rf /usr/ /mnt/raghu/ root@booradley:/home/raghu/vol-specs/dht# rm -rfv /mnt/raghu/usr rm: cannot remove directory `/mnt/raghu/usr': Directory not empty root@booradley:/home/raghu/vol-specs/dht# ls /mnt/raghu/usr root@booradley:/home/raghu/vol-specs/dht# setup consists of distribute over two clients. ls on backend shows that the directory usr/ is indeed not empty. But readdir is not able to read the dentries properly.
Did a test again with fresh backend and the bug was not reproducible. Hence closing it.