Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

here's a cryptic one...

Posted on 2000-04-25
5
Medium Priority
?
205 Views
Last Modified: 2010-04-20
i suppose this one might be solved by rebooting but that's not exactly a favorable option.  this is occuring while i telnet into the system since it is in a remote location.  basically when i run "df -k" my session hangs.  also if i'm in / and run "ls -l" it hangs.  i can run "ls -l" in any other directory and it doesn't hang and i can run "ls" in / and it doesn't hang.  any ideas?  the easy option is just to reboot but that's not exactly the solution i'm looking for since there are users on it constantly.
0
Comment
Question by:kyrios
  • 3
  • 2
5 Comments
 
LVL 40

Expert Comment

by:jlevie
ID: 2750157
Does the system mount have any NFS mounts at the root level? Is there more than one disk mounted at the root level? If "df" or "cd /; ls" hangs, that's a sign that something mounted at the root level isn't accesible.
0
 

Author Comment

by:kyrios
ID: 2751942
i checked fstab and no there are no nfs mounts at the root level.  there are two raids connected at the root level though; however, i can access each of those drives without hangup.

well, now here is the cryptic thing.  "ls" by itself works at the root level but "ls -l" doesn't and "df" doesn't.
0
 
LVL 40

Accepted Solution

by:
jlevie earned 800 total points
ID: 2752688
What happens if you do "for dir in /*; do ls -ld $dir; done". If the oddness is confined to a specific root path, it ought to hang at that dir. You can tell which is the problem by getting the same list (presumably without hanging) by "for dir in /*; do ls -d $dir; done". Knowing what it doesn't like may be helpful in figuring out what's happening.
0
 

Author Comment

by:kyrios
ID: 2752777
excellent!  i found out it was a directory that someone was trying to put an nfs mount on but badly misconfigured it.
0
 
LVL 40

Expert Comment

by:jlevie
ID: 2752866
Well, I'm glad that was it, I was beginning to think it might some strange thing with an corrupted inode (in a way it sort of was, but fortunately not in a catastrophic way).
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction We as admins face situation where we need to redirect websites to another. This may be required as a part of an upgrade keeping the old URL but website should be served from new URL. This document would brief you on different ways ca…
I. Introduction There's an interesting discussion going on now in an Experts Exchange Group — Attachments with no extension (http://www.experts-exchange.com/discussions/210281/Attachments-with-no-extension.html). This reminded me of questions tha…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial
Suggested Courses
Course of the Month10 days, 20 hours left to enroll

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question