Announcement

Collapse
No announcement yet.

Karmic Won't Auto Mount My NFS shares...

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

    Karmic Won't Auto Mount My NFS shares...

    finally got karmic working on my box (installed from the cd and that helped a lot).

    karmic boots fast, i thought jaunty booted fast but karmic boots faster,
    the only problem i have w/ karmic is that my nfs shares are nolonger being auto mounted even though its set to in my fstab.

    [code= /etc/fstab]
    # /etc/fstab: static file system information.
    #
    # Use 'blkid -o value -s UUID' to print the universally unique identifier
    # for a device; this may be used with UUID= as a more robust way to name
    # devices that works even if disks are added and removed. See fstab(5).
    #
    # <file system> <mount point> <type> <options> <dump> <pass>
    proc /proc proc defaults 0 0
    # / was on /dev/sda1 during installation
    UUID=2eee64fc-ef50-4bfa-9369-78dfd4ade5ae / ext4 errors=remount-ro 0 1
    # /home was on /dev/sda6 during installation
    UUID=78ea1274-2a34-4491-bb43-1dc6a45517bf /home ext3 defaults 0 2
    # swap was on /dev/sda5 during installation
    UUID=3f993b53-b576-43b0-b9ef-2401b29154fa none swap sw 0 0
    /dev/scd0 /media/cdrom0 udf,iso9660 user,noauto,exec,utf8 0 0
    ##nfs start
    192.168.0.100:/media/Programs/inbox /media/inbox nfs rw,hard,intr 0 0
    192.168.0.100:/media/Programs/archive /media/archive nfs rw,hard,intr 0 0
    192.168.0.100:/media/Video/tv_shows /home/chris/Videos/tv_shows nfs rw,hard,intr 0 0
    192.168.0.100:/media/Docs/music /home/chris/Music nfs rw,hard,intr 0 0
    192.168.0.100:/media/Docs/pictures /home/chris/Pictures nfs rw,hard,intr 0 0
    192.168.0.100:/media/Docs/video /home/chris/Videos/video nfs rw,hard,intr 0 0
    192.168.0.100:/media/Docs/documents /home/chris/Documents nfs rw,hard,intr 0 0
    192.168.0.100:/media/Docs/roms /home/chris/Roms nfs rw,hard,intr 0 0

    [/code]

    afterbooting if i run sudo mount -a . every thing mounts no problem.
    Mark Your Solved Issues [SOLVED]
    (top of thread: thread tools)

    #2
    Re: Karmic Won't Auto Mount My NFS shares...

    Which network manager are you using? If you are using KNetworkManager then the network connection isn't established until after you log in which is after the mount points in fstab have already been mounted. That is to say, when the fstab mount points are mounted, you don't have a network connection. My suggestion is to switch to WICD which establishes a network connection at the same time the network interface comes up.

    Comment


      #3
      Re: Karmic Won't Auto Mount My NFS shares...

      i am using a manually edited version of the interfaces file seen below
      [code=/etc/network/interfaces]
      auto lo
      iface lo inet loopback

      auto eth0
      iface eth0 inet static
      address 192.168.0.101
      netmask 255.255.255.0
      gateway 192.168.0.1
      dns-nameservers 24.148.96.1 24.148.96.2
      [/code]

      also have a customized resolv.conf file
      [code=/etc/resolv.conf]
      nameserver 24.148.96.1
      nameserver 24.148.96.2
      [/code]
      as far as i know i don't have any network manager running..
      i have used these settings since. running hardy . so i know they were working (even yesterday when i was still running jaunty they worked)
      Mark Your Solved Issues [SOLVED]
      (top of thread: thread tools)

      Comment


        #4
        Re: Karmic Won't Auto Mount My NFS shares...

        Hmmm. That is weird. Did you check any of the logs in /var/log to see if there is any kind of NFS error during boot?

        Comment


          #5
          Re: Karmic Won't Auto Mount My NFS shares...

          Originally posted by tnorris
          Hmmm. That is weird. Did you check any of the logs in /var/log to see if there is any kind of NFS error during boot?
          Indeed. I know that in a previous version of (k)ubuntu there was a bug and the mounting of nfs was executed too early in the boot cycle and this caused the nfs shares not to be available. We had to work around this by adding a normal mount statement in the rc.local file for each nfs share you want to mount automatically despite the relevant lines in the fstab file. One of my mistakes is always to forget all the different parts that must be installed to make nfs work properly.

          Comment


            #6
            Re: Karmic Won't Auto Mount My NFS shares...

            i didn't even get that far.. when i turned my computer on this afternoon , they mounted correctly.. if that behavior continues i will look in to the logs

            thx
            Mark Your Solved Issues [SOLVED]
            (top of thread: thread tools)

            Comment

            Working...
            X