Networking Forums

Networking Forums > Computer Networking > Linux Networking > How can I mount one machie's directory from second machine

Reply
Thread Tools Display Modes

How can I mount one machie's directory from second machine

 
 
Santa
Guest
Posts: n/a

 
      06-16-2004, 01:46 AM
I have two linux boxes, first machine name is "abc" and the second
machine name is "xyz", I need to access many files of xyz from abc.
How can I do NFS mount?. fdor example, I have to access files under
/x/y/z directory on "xyz" machine from "abc" machine. Here "abc" IP
address is 10.11.12.1 and "xyz" machine IP address is "100.101.102.1".
Appreciated.

on xyz machine, what are the contents I have to fill in /etc/exports
file?
 
Reply With Quote
 
 
 
 
Allen Kistler
Guest
Posts: n/a

 
      06-20-2004, 12:51 AM
Santa wrote:
> I have two linux boxes, first machine name is "abc" and the second
> machine name is "xyz", I need to access many files of xyz from abc.
> How can I do NFS mount?. fdor example, I have to access files under
> /x/y/z directory on "xyz" machine from "abc" machine. Here "abc" IP
> address is 10.11.12.1 and "xyz" machine IP address is "100.101.102.1".
> Appreciated.
>
> on xyz machine, what are the contents I have to fill in /etc/exports
> file?


Just in case you're working on this...

In /etc/exports on xyz put something like
/x/y/z 10.0.0.0/8(ro,all_squash)
or
/x/y/z 10.11.12.1/32(ro,all_squash)
or something in between. The network address is the range from which to
allow connections.
"man exports" for more options.

On abc, create a mount point with mkdir. I use /mnt/nfs. It's just a
directory. Make sure abc can resolve the name xyz, then

mount xyz:/x/y/z /mnt/nfs

portmap has to be running on both servers.
nfs services have to be running on xyz.

 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mount my own windows directory on a file server to my FC6 linuxcomputer powah Linux Networking 0 12-10-2008 02:38 PM
Cant mount a directory on NFS server varin312@gmail.com Linux Networking 0 01-10-2008 04:56 PM
How to mount remote server locally to a machine? outlawclique@gmail.com Linux Networking 1 08-21-2006 09:36 PM
NFS mount won't mount at boot, but mount -a works fine. BT Linux Networking 2 09-23-2004 09:37 PM
after idle , 98 mount win2k shared directory fail with Error 53 wuulong Windows Networking 0 08-19-2003 03:23 AM



1 2 3 4 5 6 7 8 9 10 11