According to Ronald V. Vazquez: While burning my CPU.
> 
> Hello list:
> 
> I have to boxes networked, telnet, ftp , and rlogin are working. Both
> machines are running Slackware 3.6 with kernel 2.0.35.  My question is,
> how can I mount the partition (hda1) from one machine to the next? (
> /mnt/othermachine   )  Thanks in advance, Ronald.
> 

NFS Network file System is what you need.

Basicly you need to configure the machine with the drive with all the data
in, /etc/exports like the following example. I will call it box1.

box1
/etc/exports

/usr    fred.pipo.org(ro,no_root_squash)

That says the /usr dir's can be NFS (exported) to another machine called
fred at pipo.com. It will only allow read_only, realy the way it should be,
security is an issue with NFS partitions mount any other way.

You will need to start servers on box1;
 /usr/sbin/rpc.mountd
 /usr/sbin/rpc.nfsd
 /usr/sbin/rpc.portmap

On fred you need to make an entry in /etc/fstab,

box1.pipo.org:/usr      /mnt    nfs     defaults 0 0

The nfs /mnt will be mounted at bootime, this is NOT always a good idea
"unless" you are certain that box1 is a 24/7 box. If not replace defaults
with 'noauto' and mount the drive by hand with;

mount box1.pipo.org:/usr 

On both boxes there will need to be NFS support in the kernel or as a
module, and also 
Mandatory lock support
CONFIG_LOCK_MANDATORY
is a very good thing to have if more than one machine has access to that
drive.
 O yes, if box1 has a static IP address use the IP#, that saves
domainname lookups.

You can gain "much" more information by reading some documentation in the
/usr/doc/HOWTO dir's.
NFS-HOWTO.gz

HOWTO/mini directory. "NFS-Root" is a little different to plain NFS.
NFS-Root
NFS-Root-Client

Of course the examples above are based on my own NFS servers and clients,
they should work for you, or at least give you a guide line if i have not
forgotten anything that is.
If you need more help please dont hessitate to ask.

Hope this helps.

-- 
Regards Richard.
[EMAIL PROTECTED]

Happy New Year, and may all your troubles be small (ones).

Reply via email to