- Community Home
 - >
 - Servers and Operating Systems
 - >
 - Operating Systems
 - >
 - Operating System - Linux
 - >
 - Re: rm on a directory hangs
 
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
 - Entry Storage Systems
 - Legacy
 - Midrange and Enterprise Storage
 - Storage Networking
 - HPE Nimble Storage
 
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
 - Appliance Servers
 - Alpha Servers
 - BackOffice Products
 - Internet Products
 - HPE 9000 and HPE e3000 Servers
 - Networking
 - Netservers
 - Secure OS Software for Linux
 - Server Management (Insight Manager 7)
 - Windows Server 2003
 - Operating System - Tru64 Unix
 - ProLiant Deployment and Provisioning
 - Linux-Based Community / Regional
 - Microsoft System Center Integration
 
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
 - Mark Topic as New
 - Mark Topic as Read
 - Float this Topic for Current User
 - Bookmark
 - Subscribe
 - Printer Friendly Page
 
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-27-2009 04:52 AM
08-27-2009 04:52 AM
I cannot rm a directory under /root, session hangs and the same thing happens when i try to do ls -la /root, but if i do ls -1 /root/ it works... i know what directory under /root is causing the problem but i cannot remove it...
Any suggestions?
Thanks
Solved! Go to Solution.
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-27-2009 04:58 AM
08-27-2009 04:58 AM
			
				
					
						
							Re: rm on a directory hangs
						
					
					
				
			
		
	
			
	
	
	
	
	
Forgot to mention there's no NFS service on this server
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-28-2009 06:02 AM
08-28-2009 06:02 AM
			
				
					
						
							Re: rm on a directory hangs
						
					
					
				
			
		
	
			
	
	
	
	
	
You will need to take the system to lvm maint mode most likely and fsck it.
Search the forums for inode corruption, it should give you some ideas.
DCJ
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-28-2009 06:15 AM
08-28-2009 06:15 AM
			
				
					
						
							Re: rm on a directory hangs
						
					
					
				
			
		
	
			
	
	
	
	
	
Do you use LDAP or NIS to maintain user and group information?
Have you verified if there are some open files on that directory?
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-31-2009 12:22 AM
08-31-2009 12:22 AM
			
				
					
						
							Re: rm on a directory hangs
						
					
					
				
			
		
	
			
	
	
	
	
	
Hi
It's only happening under /root/
If i do fuser -ku /root/ it just doesn't work, the processes never get killed...
This is a web server with no NIS or LDAP.
Is there anything else i could try or rebooting is the only solution?
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-31-2009 02:28 AM
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-31-2009 02:42 AM
08-31-2009 02:42 AM
			
				
					
						
							Re: rm on a directory hangs
						
					
					
				
			
		
	
			
	
	
	
	
	
but everything i try fails... i cannot do an 'ls -la' or 'rm' on that dir because the command hangs...
fuser tells me there are processes under /root/ but i cannot kill them.
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
08-31-2009 03:59 AM
08-31-2009 03:59 AM
			
				
					
						
							Re: rm on a directory hangs
						
					
					
				
			
		
	
			
	
	
	
	
	
but this shouldn't prevent you from delete /root/prueba
so I suggest to reboot
- Mark as New
 - Bookmark
 - Subscribe
 - Mute
 - Subscribe to RSS Feed
 - Permalink
 - Report Inappropriate Content
 
09-03-2009 02:23 AM
09-03-2009 02:23 AM