Find the answer to your Linux question:
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. ...
  1. #1
    Linux 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 you
    One Love!!!

  2. #2
    Linux Guru Rubberman's Avatar
    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!

  3. #3
    Linux 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!!!

  4. #4
    Linux Guru Rubberman's Avatar
    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!

  5. #5
    Linux 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 Rubberman
    One Love!!!

  6. #6
    Linux Guru Rubberman's Avatar
    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!

  7. #7
    Linux User
    Join Date
    Jul 2007
    Location
    Greece
    Posts
    277

    Thumbs up

    Rebooting solved my problem, I can now cd with no problems.

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...