Announcement

Collapse
No announcement yet.

automount NFS shares at startup

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    automount NFS shares at startup

    Hey all,
    As the title says I am trying to mount NFS shares at startup.
    To do this I entered the next lines in \etc\fstab

    Code:
    192.168.0.10:/srv/martijn/Documents /home/martijn/Documents nfs nouser,hard,intr,atime,auto,rw,dev,exec,suid 0 0
    192.168.0.10:/srv/PMT /home/martijn/PMT nfs nouser,hard,intr,atime,auto,rw,dev,exec,suid 0 0
    192.168.0.10:/srv/gedeeld/photo /home/martijn/Photo nfs nouser,hard,intr,atime,auto,rw,dev,exec,suid 0 0
    192.168.0.10:/srv/gedeeld/video /home/martijn/Video nfs nouser,hard,intr,atime,auto,rw,dev,exec,suid 0 0
    When i restart nothing is mounted. When i do
    sudo mount -a
    the shares are mounted like i want them to be. How can i make this happen automatically?
    Thank you!

    #2
    Re: automount NFS shares at startup

    How about that: http://www.penguin.ch/dokuwiki/doku....practical_joke ...?

    --

    Postscript: reference updated

    Comment


      #3
      Re: automount NFS shares at startup

      Wow, that is a bad joke.
      In rcS.d I found some more stuff, S45waitnfs.sh
      According to the text this script is supposed to wait until all nfs shares mentioned in fstab are mounted.
      Since the original order was:
      S35mountall.sh
      S40networking
      S45waitnfs.sh
      So that would implicate the right startup sequence.
      I have tried to mv S40networking S29networking and rebooted the machine. NFS shares are not mounted. I have to manually run sudo mount -a to get my stuff mounted again.
      There must be something else....

      Comment

      Working...
      X