LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 07-14-2010, 04:29 AM   #1
Zandweter
LQ Newbie
 
Registered: Jan 2006
Location: Netherlands
Distribution: Redhat ES, Suse pro,(k)Ubuntu, Centos
Posts: 2

Rep: Reputation: 0
Question Zombie dir after cifs mount dropped, can't remount or rmdir


Hi Linux pro's,
Strange situation here, I'm running Centos 5.3 with multiple mounts to the windows (2k3) domain. Normaly no problems with mounting, rebooting.

Last night connection to a server broke when it rebooted. Now the mount point is unreadable and showing as a zombiefile with question marks.
Code:
root@server# ls -al
?--------- ? ?    ?       ?            ? apps
drwxrwxrwx 1 root root    0 Jul 12 09:05 apps1
The second dir 'apps1' is newly created and mounted like the former 'apps'dir

I tried touch and get input/output error,
I tried rm -rf and get "rm: cannot lstat `apps': Input/output error"
I tried rmdir and get "Device or resource busy"

I'm out of options for now so a little help would be greatly appreciated!

(rebooting is not yet a option - this is a production env)
 
Old 07-14-2010, 07:55 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 2,987

Rep: Reputation: 388Reputation: 388Reputation: 388Reputation: 388
Did you try either:

# chown -R root:root <full path to apps>

or:

# chmod -R 777 <full path to apps>

and then rm -rf?

If that doesn't work try running:

# lsof | grep <full path to apps>

That will list all processes accessing apps and give you some idea of what's going on.

Last edited by kilgoretrout; 07-14-2010 at 08:03 AM.
 
Old 07-14-2010, 09:24 AM   #3
Zandweter
LQ Newbie
 
Registered: Jan 2006
Location: Netherlands
Distribution: Redhat ES, Suse pro,(k)Ubuntu, Centos
Posts: 2

Original Poster
Rep: Reputation: 0
Yes, didn't mention but chown and mod also resulted in input/output error.

Quote:
Originally Posted by kilgoretrout View Post
# lsof | grep <full path to apps>

That will list all processes accessing apps and give you some idea of what's going on.
This results in:
Code:
[root@server]# lsof | grep /mnt/server/apps
lsof: WARNING: can't stat() cifs file system /mnt/server/apps
      Output information may be incomplete.
lsof: WARNING: can't stat() cifs file system /mnt/server/apps
      Output information may be incomplete.
so I guess that some mount issue still applies.
For now I mounted to another dir and changed the symlinks so operational processes still access the server.
The mounted server will be rebooted again tonight so I will be anxious to see what this will do to the mounts.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
manual mount cifs works but srcipt mount cifs has mount error (13): Permission denied CADIT Linux - Newbie 6 11-20-2009 02:48 PM
Can delete files in one smb share but not in another - using cifs.mount in active dir Lordandmaker Linux - Server 4 02-12-2009 05:34 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 02:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration