Results 1 to 7 of 7
Hello everyone
I'm trying to cd into a particular directory ( it's a mounted directory from a remote computer ) but cd hangs forever until I kill it with Ctrl+C.
...
- 07-24-2009 #1Linux User
- Join Date
- Jul 2007
- Location
- Greece
- Posts
- 277
cd command hangs
Hello everyone
I'm trying to cd into a particular directory (it's a mounted directory from a remote computer) but cd hangs forever until I kill it with Ctrl+C.
I tried the same from other computers and it worked fine, only when I try it from this particular computer the problem appears.
Has anyone seen this before? Any suggestions, please?
Thank youOne Love!!!
- 07-24-2009 #2Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Usually it is because either the remote computer isn't responding (it has been shut down perhaps), or this computer cannot find a route to the remote system. Have you tried remounting the remote file system? Or rebooting?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 07-24-2009 #3Linux User
- Join Date
- Jul 2007
- Location
- Greece
- Posts
- 277
Thank you for your reply.
Remounting (mount -a) didn't make any difference.
I will try rebooting and hopefully it'll solve the problem.
Any other ideas please, in case rebooting doesn't fix the problem?
Maybe ./nfs restart??
The "problematic" computer is online, I can access its shared directory from any other machine.One Love!!!
- 07-24-2009 #4Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Actually, I meant for you to umount then mount again. The mount -a command will only remount unmounted volumes.
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 07-24-2009 #5Linux User
- Join Date
- Jul 2007
- Location
- Greece
- Posts
- 277
OK! I did umount -a then mount -a but no joy.

I will reboot and see how it goes.
Thanks RubbermanOne Love!!!
- 07-24-2009 #6Linux Guru
- Join Date
- Apr 2009
- Location
- I can be found either 40 miles west of Chicago, or in a galaxy far, far away.
- Posts
- 8,974
Can you ping the remote system? If so, and you can mount it, then I have to think that either the remote nfs server is not allowing you to access it. What are you using for user authentication - NIS? OpenLDAP?
Sometimes, real fast is almost as good as real time.
Just remember, Semper Gumbi - always be flexible!
- 07-27-2009 #7Linux User
- Join Date
- Jul 2007
- Location
- Greece
- Posts
- 277
Rebooting solved my problem, I can now cd with no problems.

Thanks a lot for your help Rubberman!One Love!!!


Reply With Quote