Results 1 to 3 of 3

Thread: question automounting nfs NAS on bootup

  1. #1
    Join Date
    Dec 2013
    Beans
    2

    question automounting nfs NAS on bootup

    I am able to mount a NAS shared folder using terminal command line
    Code:
    sudo mount -t nfs 192.168.0.156:/data/HardDisk1/Volume1/test /mnt -o nolock
    i got this code in the users manual of my NAS.

    How to automatically mount this everytime i bootup my ubuntu 13.10?
    i tried to search for a tutorial and all i find is how to edit your fstab to mount Synology or Netgear NAS, but the codes doesnt work with my Planet NAS 7202.

    can you please convert my command line code to a fstab line?
    or is it possible to write a sh script and load it to start up applications?

  2. #2
    Join Date
    Aug 2009
    Location
    Makati City, Philippines
    Beans
    2,269
    Distro
    Xubuntu 16.04 Xenial Xerus

    Re: question automounting nfs NAS on bootup

    Here's the fstab line that should be added:
    Code:
     192.168.0.156:/data/HardDisk1/Volume1/test   /mnt/    nfs    nolock,rw  0   0
    Try to reboot and see if the works.

  3. #3
    Join Date
    Dec 2013
    Beans
    2

    Re: question automounting nfs NAS on bootup

    im sorry, i cannot test your suggestion anymore. i went and used a autonfs script i found in this tutorial. but thanks!

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
  •