View previous topic :: View next topic |
Author |
Message |
RangerDude Guru
Joined: 19 Apr 2003 Posts: 301
|
Posted: Sun May 18, 2003 3:55 pm Post subject: Best way to fileshare? |
|
|
What is the best/easiest way to mount a filesystem from another linux box? |
|
Back to top |
|
|
handsomepete Guru
Joined: 21 Apr 2002 Posts: 548 Location: Kansas City, MO
|
Posted: Sun May 18, 2003 5:45 pm Post subject: |
|
|
NFS
Enable NFS support in your kernel (might be enabled by default - in filesystems), emerge nfsutils. Edit /etc/exports on the computer that's serving files (man exports - it's pretty explanatory and easy... it can be as simple as directory_name *(ro,sync) to let everyone access the directory (read only)). Then fire up NFS on that system (/etc/init.d/nfs start). On the PC that wants to access the files you can add the exported directories to your fstab (also pretty easy, there's a lot of examples in the forums and on the internet) and add portmap and nfs to your default runlevel to mount them automagically, or you can mount them manually whenever you need them. |
|
Back to top |
|
|
slougi Apprentice
Joined: 12 Nov 2002 Posts: 222 Location: Oulu, Finland
|
Posted: Sun May 18, 2003 5:47 pm Post subject: |
|
|
NFS |
|
Back to top |
|
|
RangerDude Guru
Joined: 19 Apr 2003 Posts: 301
|
Posted: Sun May 18, 2003 5:48 pm Post subject: |
|
|
Thanks. |
|
Back to top |
|
|
|