View Full Version : Mounting NON-local linux to linux
08-04-2005, 04:37 PM
Does anyone know of a good tutorial or even how to mount a NON-local linux box to another linux box.
Both Debian 3.1 Servers
NFS installed and running (not sure if you use NFS)
08-04-2005, 05:58 PM
NFS - Network File System
Client program: "mount". Allows mounting other server's NFS directories.
Server programs: "nfsd" and "mountd". Shares directories to other clients.
(client) To mount a remote directory on server named "fred":
mount fred:/opt/abc /opt/abc -t nfs -o rsize=8192,wsize=8192
"rsize" & "wsize" is recommended for performance.
See exports(5) for all available options.
(server) Make sure NFS server software is loaded and running.
Create file: /etc/exports to list directories to be shared.
Send a SIGHUP to nfsd and mountd to reread /etc/export changes.
KILL -SIGHUP 265 279 # Use the correct process numbers!
# sample /etc/exports file. (starts in column one)
/ master(rw) trusty(rw,no_root_squash)
/usr *.local.domain(ro) @trusted(rw)
NFS mounts can be kept in the /etc/fstab file to allow mounting upon boot,
and setting different default options for directories.
Example line: (starts in column one)
fred:/opt/app /opt/app nfs rsize=8192,wsize=8192,ro 0 0
Powered by vBulletin® Version 4.2.2 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.