Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mount another Linux machine

Status
Not open for further replies.

JustKIDn

MIS
May 6, 2002
386
US
Is there a way to see another Linux pc.

I'm guessing it would show under /mnt as a directory.

Is that right?

tgus

____________________________
Families can be together forever...
 
You probably want to use NFS for this purpose.

If you want to use NFS, you can set the 'shares' up in the /etc/exports file. Here's an example share in /etc/exports....

/home/chris some.host.com(rw)

Here's how you would mount the above share from the other Linux computer...

mount –t nfs linux01:/home/chris /mnt/nfs

linux01 is the NFS Servers hostname. Make sure to restart the NFS server whenever you make changes to the /etc/exports file...

/sbin/service nfs restart

If you want to always mount this share when your server boots, add it to the /etc/fstab file...

linux01:/home/chris /mnt/nfs nfs hard,intr 0 0

ChrisP If someone resolves an issue for you, or was helpful, please click the link on the bottom left hand corner of their post to give them a "star" letting them know they helped you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top