Operating System - HP-UX
1846978 Members
4281 Online
110257 Solutions
New Discussion

Re: remote file system mounting problem

 
SOLVED
Go to solution
Shawn McConnell
Advisor

remote file system mounting problem

Can anyone help with this.

I'm trying to mount a remote file system

here is the /etc/exports file

root@slacrmp2:/ > cat /etc/exports
/interface/mysingle -root=slacrmp1,access=slacrmp1
/tmp/instdir -root=pilot,access=pilot
/usr/sap/trans -root=slacrmp1,access=slacrmp1
root@slacrmp2:/ >


When I try to do the remote mount I keep getting a message that the device is busy.

Any help would be appriciated
3 REPLIES 3
Alan Meyer_4
Respected Contributor

Re: remote file system mounting problem

Make sure that no currently active process is accessing the directory that you are attempting to use as a mount point.

run fuser /mountpoint to see the processes that are using the directory.

Usually what happens to me is that I have a telnet window open where I have cd'd over to the directory that I am trying to mount to...
" I may not be certified, but I am certifiable... "
Alan Meyer_4
Respected Contributor
Solution

Re: remote file system mounting problem

Every response to your question is eligible to earn between 1-10 points. No need to worry about running out of points - when a truly awesome reply rolls in that deserves a 10, you will be able to assign it a 10! However, be careful to assign points based on the value that a reply truly provides. Use the following scale as a guideline:

o N/A: The answer was simply a point of clarification to my original question

o 1-3: The answer didn't really help answer my question, but thanks for your assistance!

o 4- 7: The answer helped with a portion of my question, but I still need some additional help!

o 8-10: The answer has solved my problem completely! Now I'm a happy camper!


Although assigning points is not mandatory, it is a key component of a strong, interactive community, and it is STRONGLY ENCOURAGED. Others have taken time to help you, so please take a moment to give them credit for their assistance!
" I may not be certified, but I am certifiable... "
Jeff Lightner_1
Frequent Advisor

Re: remote file system mounting problem

Prior answer mostly correct.

I'd suggest downloading and installing lsof and using it instead of fuser. It will truly let you know any process that is busying out a directory/file. I've seen cases where someone has done cd to a directory then do su to another user and cd out. The original shell is still busying out the directory but fuser doesn't see it because the subshell isn't there.

Also you might want to try "bdf mountpoint" just to be sure it doesn't think its already mounted.

Finally make sure you haven't also tried to configure this in automounter. You'll get weird results from filesystems specified in automounter if you try to do a manual mount.