Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2002
    Location
    New York
    Posts
    60
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Mounting NON-local linux to linux

    Does anyone know of a good tutorial or even how to mount a NON-local linux box to another linux box.

    Tech Details
    -----------------------
    Both Debian 3.1 Servers
    NFS installed and running (not sure if you use NFS)
    -Stephen

  • #2
    Regular Coder
    Join Date
    Jan 2004
    Location
    Maryland
    Posts
    468
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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)
    /projects proj*.local.domain(rw)
    /usr *.local.domain(ro) @trusted(rw)
    /home/joe pc001(rw,all_squash,anonuid=150,anongid=100)
    /pub (ro,insecure,all_squash)
    /pub/private (noaccess)

    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
    http://www.kalamazoolinux.org/presentations/19980623/
    Also try
    Code:
    man nfs


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •