LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-06-2005, 11:33 AM   #1
tcma
Member
 
Registered: Aug 2004
Distribution: gentoo, Fedora Core
Posts: 54

Rep: Reputation: 15
sharing disk partitions between 2 computers


I have 2 linux computers and I want to share the disk partitions between them. i.e. I want to read and write files on the computer one's disk partition from computer two and vice versa.
Both computers are on the same subnet (both are connected to an ethernet boardband router) so they can ping each other.
Do I use the "mount nfs" command to achieve my goal or is there a better way?

Last edited by tcma; 01-06-2005 at 11:36 AM.
 
Old 01-06-2005, 11:58 AM   #2
jmeads
Member
 
Registered: Dec 2004
Location: London
Distribution: Slackware
Posts: 44

Rep: Reputation: 15
you need to add the directories that you want to share in the /etc/exports file, followed by the machines allowed to access the share with options for example

# /etc/exports file
/home/user 192.168.0.0(rw,sync)



You should be able to restart the network services, but it maybe easier to restart the box.

check the directories your exporting with exportfs
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
File Sharing Windoze Network Computers deepgrewal SUSE / openSUSE 11 10-12-2005 11:37 AM
Sharing In Between Computers [Mandriva 10.2] kimothy Linux - Networking 2 06-21-2005 04:16 AM
Sharing a printer for 30+ computers with Samba rjshirts Linux - Networking 1 01-05-2005 05:24 PM
2 computers one 2 OSes, need file sharing help. pee_pee Linux - Networking 6 07-24-2003 04:36 AM
File Sharing With Windows Computers John0 Linux - Newbie 2 05-25-2003 09:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:07 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration