[Gluster-users] rm -rf some_dir results in "Directory not empty"

Alessandro Ipe Alessandro.Ipe at meteo.be
Mon Feb 23 15:49:21 UTC 2015


On 4 of the 6 bricks, it is empty. However, on tsunami 3-4, ls -lsa gives
total 16
d--------- 2 root root  61440 Feb 23 15:42 .
drwxrwxrwx 3 gerb users    61 Feb 22 21:10 ..
---------T 2 gerb users     0 Apr 16  2014 akonadi-googledata-1.2.0-2.5.2.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 bluedevil-debugsource-1.2.2-1.8.3.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 bovo-4.7.4-3.12.7.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 digikam-debugsource-2.2.0-3.12.9.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 dolphin-debuginfo-4.7.4-4.22.6.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 freetds-doc-0.91-2.5.1.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 kanagram-debuginfo-4.7.4-2.10.2.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 kdebase4-runtime-4.7.4-3.17.7.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 kdebindings-smokegen-
debuginfo-4.7.4-2.9.1.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 kdesdk4-strigi-
debuginfo-4.7.4-3.12.5.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 kradio-4.0.2-9.9.7.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 kremotecontrol-4.7.4-2.12.9.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 kreversi-debuginfo-4.7.4-3.12.7.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 krfb-4.7.4-2.13.6.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 krusader-doc-2.0.0-23.9.7.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 libalkimia-devel-4.3.1-2.5.1.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 libdmtx0-0.7.4-2.1.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 libdmtx0-debuginfo-0.7.4-2.1.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 libkdegames4-
debuginfo-4.7.4-3.12.7.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 libksane0-4.7.4-2.10.1.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 libkvkontakte-debugsource-1.0.0-2.2.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 libmediawiki-
debugsource-2.5.0-4.6.1.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 libsmokeqt-4.7.4-2.10.2.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 NetworkManager-vpnc-
kde4-0.9.1git20111027-1.11.5.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 qtcurve-kde4-1.8.8-3.6.2.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 QtZeitgeist-devel-0.7.0-7.4.2.i586.rpm
---------T 2 gerb users     0 Apr 16  2014 umbrello-4.7.4-3.12.5.i586.rpm

so that might be the reason of error. How can I fix this ?


Thanks,


A.


On Monday 23 February 2015 21:06:58 Ravishankar N wrote:


    Just noticed that your `gluster volume status` shows that rebalance    was 
triggered. Maybe DHT developers can help out. I see a similar bug[1]    has been fixed 
some time back.    FWIW, can you check if " /linux/suse/12.1/KDE4.7.4/i586" on all 6    
bricks is indeed empty?            
On 02/23/2015 08:15 PM, Alessandro Ipe      wrote:        
                  
Hi,      
      
      
Gluster version is 3.5.3-1.      
/var/log/gluster.log (client log) gives        during the rm -rf the following logs:      
[2015-02-23 14:42:50.180091] W        [client-rpc-fops.c:696:client3_3_rmdir_cbk] 0-
md1-client-2:        remote operation failed: Directory not empty      
[2015-02-23 14:42:50.180134] W        [client-rpc-fops.c:696:client3_3_rmdir_cbk] 0-
md1-client-3:        remote operation failed: Directory not empty      
[2015-02-23 14:42:50.180740] W        [client-rpc-fops.c:322:client3_3_mkdir_cbk] 0-
md1-client-5:        remote operation failed: File exists. Path:        
/linux/suse/12.1/KDE4.7.4/i586      
[2015-02-23 14:42:50.180772] W        [client-rpc-fops.c:322:client3_3_mkdir_cbk] 0-
md1-client-4:        remote operation failed: File exists. Path:        
/linux/suse/12.1/KDE4.7.4/i586      
[2015-02-23 14:42:50.181129] W        [client-rpc-fops.c:322:client3_3_mkdir_cbk] 0-
md1-client-3:        remote operation failed: File exists. Path:        
/linux/suse/12.1/KDE4.7.4/i586      
[2015-02-23 14:42:50.181160] W        [client-rpc-fops.c:322:client3_3_mkdir_cbk] 0-
md1-client-2:        remote operation failed: File exists. Path:        
/linux/suse/12.1/KDE4.7.4/i586      
[2015-02-23 14:42:50.319213] W        [client-rpc-fops.c:696:client3_3_rmdir_cbk] 0-
md1-client-3:        remote operation failed: Directory not empty      
[2015-02-23 14:42:50.319762] W        [client-rpc-fops.c:696:client3_3_rmdir_cbk] 0-
md1-client-2:        remote operation failed: Directory not empty      
[2015-02-23 14:42:50.320501] W        [client-rpc-fops.c:322:client3_3_mkdir_cbk] 0-
md1-client-0:        remote operation failed: File exists. Path:        /linux/suse/12.1/src-
oss/suse/src      
[2015-02-23 14:42:50.320552] W        [client-rpc-fops.c:322:client3_3_mkdir_cbk] 0-
md1-client-1:        remote operation failed: File exists. Path:        /linux/suse/12.1/src-
oss/suse/src      
[2015-02-23 14:42:50.320842] W        [client-rpc-fops.c:322:client3_3_mkdir_cbk] 0-
md1-client-2:        remote operation failed: File exists. Path:        /linux/suse/12.1/src-
oss/suse/src      
[2015-02-23 14:42:50.320884] W        [client-rpc-fops.c:322:client3_3_mkdir_cbk] 0-
md1-client-3:        remote operation failed: File exists. Path:        /linux/suse/12.1/src-
oss/suse/src      
[2015-02-23 14:42:50.438982] W        [client-rpc-fops.c:696:client3_3_rmdir_cbk] 0-
md1-client-3:        remote operation failed: Directory not empty      
[2015-02-23 14:42:50.439347] W        [client-rpc-fops.c:696:client3_3_rmdir_cbk] 0-
md1-client-2:        remote operation failed: Directory not empty      
[2015-02-23 14:42:50.440235] W        [client-rpc-fops.c:322:client3_3_mkdir_cbk] 0-
md1-client-0:        remote operation failed: File exists. Path:        
/linux/suse/12.1/oss/suse/noarch      
[2015-02-23 14:42:50.440344] W        [client-rpc-fops.c:322:client3_3_mkdir_cbk] 0-
md1-client-1:        remote operation failed: File exists. Path:        
/linux/suse/12.1/oss/suse/noarch      
[2015-02-23 14:42:50.440603] W        [client-rpc-fops.c:322:client3_3_mkdir_cbk] 0-
md1-client-2:        remote operation failed: File exists. Path:        
/linux/suse/12.1/oss/suse/noarch      
[2015-02-23 14:42:50.440665] W        [client-rpc-fops.c:322:client3_3_mkdir_cbk] 0-
md1-client-3:        remote operation failed: File exists. Path:        
/linux/suse/12.1/oss/suse/noarch      
[2015-02-23 14:42:50.680827] W        [client-rpc-fops.c:696:client3_3_rmdir_cbk] 0-
md1-client-2:        remote operation failed: Directory not empty      
[2015-02-23 14:42:50.681721] W        [client-rpc-fops.c:696:client3_3_rmdir_cbk] 0-
md1-client-3:        remote operation failed: Directory not empty      
[2015-02-23 14:42:50.682482] W        [client-rpc-fops.c:322:client3_3_mkdir_cbk] 0-
md1-client-3:        remote operation failed: File exists. Path:        
/linux/suse/12.1/oss/suse/i586      
[2015-02-23 14:42:50.682517] W        [client-rpc-fops.c:322:client3_3_mkdir_cbk] 0-
md1-client-2:        remote operation failed: File exists. Path:        
/linux/suse/12.1/oss/suse/i586      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.gluster.org/pipermail/gluster-users/attachments/20150223/39da7714/attachment.html>


More information about the Gluster-users mailing list