• Recent
    • Unsolved
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Register
    • Login

    Failed to mount NFS Volume.

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    6
    2.9k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J
      Jimmy Hansen
      last edited by

      Hi all.

      I am all new to this FOG, but I love it so far.

      I have installed ubuntu server 12.04 lt’s running on Microsoft Azure and installed FOG 0.32 on it. So far I am able to do everything except upload or download a image.
      When ever i try to upload a image from the host i get the following error:

      mounting 137.135.203.249:/images/dev on /images failed: bad file descriptor.

      I have followed most guides i could find like:
      [url]http://fogproject.org/forum/threads/nfs-mount-bad-file-descriptor-permission-denied.60/[/url]

      but no luck.

      I have oppend the follwing ports:
      [FONT=Calibri]FTP – tcp 20,21[/FONT]
      [FONT=Calibri]SSH – tcp 22[/FONT]
      [FONT=Calibri]TFTP – udp 69[/FONT]
      [FONT=Calibri]HTTP(s) – tcp 80,443[/FONT]
      [FONT=Calibri]Portmap – tcp/udp 111[/FONT]
      [FONT=Calibri]NFS – tcp/udp 2049[/FONT]
      [FONT=Calibri]RDS - 3389[/FONT]

      So now I am lost for ideas. So any help will be more then welcome

      /Jimmy

      When i ping on port 20 it says closed, been trying all day to open the port without luck!

      1 Reply Last reply Reply Quote 0
      • M
        MikeoftheLibrary
        last edited by

        is nfs-common and nfs-kernel-server running? If so try going to /etc/init.d and listing the contents. You should see two files named nfs-common and nfs-kernel-server. I had a problem where those files had been renamed by the installer for some bizarre reason which caused issues with image upload similar to the ones you experienced.

        1 Reply Last reply Reply Quote 0
        • J
          Jimmy Hansen
          last edited by

          I only see nfs-kernel-server. How did you locate and correct the nfs-common?

          1 Reply Last reply Reply Quote 0
          • M
            MikeoftheLibrary
            last edited by

            Type whereis nfs-common. I have a Debian system, but that should work on Ubuntu Server. Also there should be a file in the /etc/init.d directory as that is where start up scripts are stored. If that command returns nothing than the service is not installed. You can try doing so manually by using apt-get install nfs-common.

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              locate nfs-common if you have locate and updatedb ready.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • J
                Jimmy Hansen
                last edited by

                It would seem I have nfs-common installed:

                root@fogserver:~# locate nfs-common
                /etc/default/nfs-common
                /usr/share/nfs-common
                /usr/share/bug/nfs-common
                /usr/share/bug/nfs-common/control
                /usr/share/bug/nfs-common/script
                /usr/share/doc/nfs-common
                /usr/share/doc/nfs-common/README.Debian.nfsv4
                /usr/share/doc/nfs-common/changelog.Debian.gz
                /usr/share/doc/nfs-common/copyright
                /usr/share/lintian/overrides/nfs-common
                /usr/share/nfs-common/conffiles
                /usr/share/nfs-common/conffiles/idmapd.conf
                /usr/share/nfs-common/conffiles/nfs-common.default
                /var/cache/apt/archives/nfs-common_1%3a1.2.5-3ubuntu3.1_amd64.deb
                /var/lib/dpkg/info/nfs-common.conffiles
                /var/lib/dpkg/info/nfs-common.list
                /var/lib/dpkg/info/nfs-common.md5sums
                /var/lib/dpkg/info/nfs-common.postinst
                /var/lib/dpkg/info/nfs-common.postrm
                /var/lib/dpkg/info/nfs-common.preinst
                /var/lib/dpkg/info/nfs-common.prerm
                /var/lib/ucf/cache/:etc:default:nfs-common
                root@fogserver:~#

                But none in /etc/init.d. There is one in /etc/default, is this the one i’m looking for?

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post

                195

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project