lkrubner
asked on
What does NFS look like if I run "ps aux" on Linux?
I've got to deal with two servers. The staff at the business use server1 to manage the business. That is where their control software is. But some very important files get uploaded to this path on server2:
/data/ftp/
I need to mount server2 on server1 so that some of the software on server1 can reach files on server2 as if it was all one file system. Both servers are running a year old version of RedHat.
A person I know suggested I look into NFS. So I look up "NFS" on Google and it takes me here:
http://nfs.sourceforge.net/
Which says:
"Set up your /etc/exports file (man exports for details)."
I'm curious what this file looks like, so I go to server2 and look at this file. I'm surprised to see this entry:
/data/ftp server1(rw,no_root_squash, sync)
So now I think, okay, it looks like someone on staff was already trying to do what I wanted to do. I check to see if NFS is already running:
ps aux
I don't see anything in the output that has "nfs" in it. What should I expect to see if this process is already running.
Also, how should I read this line:
/data/ftp server1(rw,no_root_squash, sync)
Does that mean the path "/data/ftp" is allowed to be exported to server1?
/data/ftp/
I need to mount server2 on server1 so that some of the software on server1 can reach files on server2 as if it was all one file system. Both servers are running a year old version of RedHat.
A person I know suggested I look into NFS. So I look up "NFS" on Google and it takes me here:
http://nfs.sourceforge.net/
Which says:
"Set up your /etc/exports file (man exports for details)."
I'm curious what this file looks like, so I go to server2 and look at this file. I'm surprised to see this entry:
/data/ftp server1(rw,no_root_squash,
So now I think, okay, it looks like someone on staff was already trying to do what I wanted to do. I check to see if NFS is already running:
ps aux
I don't see anything in the output that has "nfs" in it. What should I expect to see if this process is already running.
Also, how should I read this line:
/data/ftp server1(rw,no_root_squash,
Does that mean the path "/data/ftp" is allowed to be exported to server1?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
/etc/init.d/nfsd status - The nfsd part might differ, it could be nfs.server, or any other wonderful variation someone thought would be cute at the time.
Once you have confirmed that the export is working successfully, try showmount from the client server.
If this works, try making a directory in say /tmp on the client and then the mount command: mount :/data/ftp /tmp/directory
If this works, great your exports are working.
Once you have confirmed that the export is working successfully, try showmount from the client server.
If this works, try making a directory in say /tmp on the client and then the mount command: mount :/data/ftp /tmp/directory
If this works, great your exports are working.
http://nfs.sourceforge.net/nfs-howto/ar01s03.html
http://www.linuxforums.org/forum/redhat-fedora-linux-help/63393-how-configure-nfs.html
https://www.wideopen.com/docs/manuals/linux/RHL-8.0-Manual/custom-guide/s1-nfs-export.html