Results 1 to 2 of 2

Thread: Mounting an internal drive as NFS

  1. #1
    Join Date
    Sep 2006
    Beans
    12

    Mounting an internal drive as NFS

    Hi

    I have just set up an ubuntu server to share files, videos, music and photos. It has an internal 250gb drive upon which as stored photos and files and an internal 1tb drive upon which is stored music and movies. I have installed the nfs programme as directed by various help files but get stuck on mounting a drive or folder that is not located in my home folder. Could anyone advise me on how to do this please?

    Huge thanks

    Rich
    Youth Worker
    http://wild-woods.org.uk/

  2. #2
    Join Date
    Dec 2013
    Location
    United States
    Beans
    25
    Distro
    Ubuntu

    Re: Mounting an internal drive as NFS

    This is the tutorial I used.

    http://tutorialforlinux.com/2013/10/...s4-easy-guide/

    The folder I associated with the shared file was /home/<storage folder>

    The changes I made to the instructions to suit my needs were:

    Code:
    In the exports file: /exports/<mount folderr>
    mkdir /exports/<mount folder>
    cd /exports
    mount --bind /home/<storage folder> ./<mount folder>
    The set the fstab to
    Code:
    /home/<storage folder>     /exports/<mount folder>      none     bind
    You can adjust the instructions depending on where you place the folder. Also, make sure you set the storage folder to read/write/execute so that it can actually be used.
    "Once we accept our limits, we go beyond them." - Albert Einstein

Tags for this Thread

Bookmarks

Posting Permissions

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