Operating System - HP-UX
1834512 Members
2841 Online
110068 Solutions
New Discussion

Unable to cd to a directory

 
Poonam_1
New Member

Unable to cd to a directory

I am unable to cd to a directory.
This directory is mounted on from some other machine.Neither i am able to execute any command on that directory such as ls or even chmod.
If i try to do that then the process just hangs.
When i try to kill these process using kill -9 pid i am not able to kill those process.
What can be the problem and why is the process not getting killed even after using -9 option
9 REPLIES 9
MarkSyder
Honored Contributor

Re: Unable to cd to a directory

Is the other machine up?

If it is, log into it and run exportfs -av

Mark Syder (like the drink but spelt different)
The triumph of evil requires only that good men do nothing
Poonam_1
New Member

Re: Unable to cd to a directory

The other machine is up.And i am able to access the other mounted directories but this particular inaccessible directory lies within one of the directory which i am able to access and which is also mounted from the same machine.
I mean directory A is mounted from M1 to M2.
and B,C are a subdir of A.
I am able to access A,C but i am not able to access B.
I executed this command what did u want me to check?
MarkSyder
Honored Contributor

Re: Unable to cd to a directory

Is B in its own filesystem? Could be a disc crash. Can you cd to B from the host machine?

Mark
The triumph of evil requires only that good men do nothing
Arunvijai_4
Honored Contributor

Re: Unable to cd to a directory

Can you login to NFS server and try accessing B ? There could be some corruptions ?

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Poonam_1
New Member

Re: Unable to cd to a directory

i am able to cd to that inaccesible directory from actual machine as well as from any other machine.
MarkSyder
Honored Contributor

Re: Unable to cd to a directory

Returning to one of my earlier questions, is the directory in its own filesystem? If so, it needs to be explicitly referred to in /etc/exports.

Mark
The triumph of evil requires only that good men do nothing
Arunvijai_4
Honored Contributor

Re: Unable to cd to a directory

Just try umount and mount again. It may help

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Poonam_1
New Member

Re: Unable to cd to a directory

I dont understand what is meant by the current file system as well i dont know how do i check that?

MarkSyder
Honored Contributor

Re: Unable to cd to a directory

1. Login to the server that contains directory B

2. bdf -il|grep (name of directory A).

If directory B is in the same filesystem as directory A you should only see one entry. If directory B is a separate filesystem you will see an entry for it. In this case, you will need to make sure it is in /etc/exports and that the server you want to access it from is listed.

Mark
The triumph of evil requires only that good men do nothing