1849034 Members
4891 Online
104041 Solutions
New Discussion

NFS Definition Problem.

 
SOLVED
Go to solution
Mubarak Rebhan
Occasional Advisor

NFS Definition Problem.

I am trying to mount a remote file system by defining it as an NFS. The file is exported by the remote host.
The problem is that there is a link with the same file name. I could not remove that link (if I tried to remove it I would receive "device busy" message).

How can I remove that link to be able to define my NFS.

Regards.
3 REPLIES 3
eran maor
Honored Contributor

Re: NFS Definition Problem.

Hi

i think that i didnt understand you but i will try to help .

first you must check if you define both computer with the nfs def.

check the file /etc/rc.config.d that
computer 1 that have the file system that you want to export have nfs_server=1

and check the same file in computer 2 that has nfs_client=1 .

check in the file /etc/exports that you added this file system to be export and check it with the command exportfs .

in computer 2 you need to create a mount point for the file system , the mount point it is just a mount point and you can call here at any name that you want .

mkdir /test

and do the mount command :

mount computer1:/filesystem /test and it shuold work .

if you have any more que. please ask and i will try to reply .
love computers
Leif Halvarsson_2
Honored Contributor

Re: NFS Definition Problem.

Hi
It seems you have a filesystem mounted and some process use it. Try the command "fuser"
Example: fuser /home
You should get a list of processes using this filesystem. Then you can use the command "ps -ef" to get an idea about what this processes does. If it is ordinary users you can ask them to logout. If it is system processes it can be very dangerous to kill them.
Wodisch_1
Honored Contributor
Solution

Re: NFS Definition Problem.

Hi,

seems to me you have the "automounter" trying to that, too. Choose only one way to do the NFS mount: manual OR automounter...

Just my $0.02,
Wodisch