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

Unable to upload an image : Failed to mount NFS volume

Scheduled Pinned Locked Moved
FOG Problems
4
23
13.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.
  • P
    pimms
    last edited by Feb 25, 2015, 4:11 PM

    Hi, here the contents of /etc/exports :
    /data/images/ *(ro,sync,no_wdelay,insecure_locks,no_root_squash,insecure,fsid=1,)
    /data/images/dev *(rw,sync,no_wdelay,no_root_squash,insecure,fsid=2,)

    NFS server is running.

    Nfsd is supported.

    /data/images/dev directory exists.

    Linux version : 3.10

    [url]http://upload.dinhosting.fr/U/1/n/IMG_6991.png[/url]

    Thanks !

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Feb 25, 2015, 4:21 PM

      does
      /data/images/.mntcheck and /data/images/dev/.mntcheck exist?
      Are the permissions as: chmod -R 777 /data/images?

      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
      • P
        pimms
        last edited by Feb 25, 2015, 4:23 PM

        /data/images/.mntcheck and /data/images/dev/.mntcheck exist.
        The permissions are ok for /data/images (drwxrwxrwx).

        1 Reply Last reply Reply Quote 0
        • T
          Tom Elliott
          last edited by Feb 25, 2015, 4:41 PM

          selinux disabled?

          rpcbind running?

          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
          • P
            pimms
            last edited by Feb 25, 2015, 4:44 PM

            Yes Selinux is disabled and rpcbind is running.

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Feb 25, 2015, 4:50 PM

              What’s the boot file look like?

              [url]Http://fogiphere/fog/service/ipxe/boot.php?mac=macofhostintasking[/url]

              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
              • P
                pimms
                last edited by Feb 25, 2015, 4:56 PM

                Here the contents of /var/www/html/fog/service/ipxe/boot.php :
                [CODE]<?php
                header(“Content-type: text/plain”);
                require_once(‘…/…/commons/base.inc.php’);
                if ($_REQUEST[‘mac0’] && !$_REQUEST[‘mac1’] && !$_REQUEST[‘mac2’])
                $_REQUEST[‘mac’] = $_REQUEST[‘mac0’];
                else if ($_REQUEST[‘mac0’] && $_REQUEST[‘mac1’] && !$_REQUEST[‘mac2’])
                $_REQUEST[‘mac’] = $_REQUEST[‘mac0’].‘|’.$_REQUEST[‘mac1’];
                else if ($_REQUEST[‘mac0’] && !$_REQUEST[‘mac1’] && $_REQUEST[‘mac2’])
                $_REQUEST[‘mac’] = $_REQUEST[‘mac0’].‘|’.$_REQUEST[‘mac2’];
                else if ($_REQUEST[‘mac0’] && $_REQUEST[‘mac1’] && $_REQUEST[‘mac2’])
                $_REQUEST[‘mac’] = $_REQUEST[‘mac0’].‘|’.$_REQUEST[‘mac1’].‘|’.$_REQUEST[‘mac2’];
                $MACs = HostManager::parseMacList($_REQUEST[‘mac’]);
                $Host = $FOGCore->getClass(‘HostManager’)->getHostByMacAddresses($MACs);
                new BootMenu($Host);[/CODE]

                1 Reply Last reply Reply Quote 0
                • T
                  Tom Elliott
                  last edited by Feb 25, 2015, 5:00 PM

                  NO
                  from the browser

                  goto:

                  [url]http://<ipoffogserver>/fog/service/boot.php?mac=<macaddressofclientintask>[/url]

                  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
                  • P
                    pimms
                    last edited by Feb 25, 2015, 5:16 PM

                    Sorry 🙂
                    Here the contents of the boot file :

                    [CODE]#!ipxe
                    kernel bzImage32 root=/dev/ram0 rw ramdisk_size=127000 ip=dhcp dns= keymap= web=192.12.59.1/fog/ consoleblank=0 loglevel=4 mac=xx:xx:xx:xx:xx:xx ftp=192.12.59.1 storage=192.12.59.1:/data/images/dev/ storageip=192.12.59.1 web=192.12.59.1/fog/ osid=5 loglevel=4 consoleblank=0 irqpoll hostname=first-host chkdsk=0 img=img imgType=mpa imgid=4 imgFormat= PIGZ_COMP=-9 hostearly=1 pct=5 ignorepg=1 type=up
                    imgfetch init_32.xz
                    boot
                    [/CODE]

                    I changed the default store location with this howto : [url]http://www.topgearit.net/index.php?title=Change_FOG_Image_Storage_Location[/url]
                    maybe this caused this error ?

                    1 Reply Last reply Reply Quote 0
                    • S
                      Sebastian Roth Moderator
                      last edited by Feb 25, 2015, 8:47 PM

                      Did it work before you changed the location?? And did you restart the NFS server or the whole FOG server after changing ‘/etc/exports’??

                      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
                      • P
                        pimms
                        last edited by Feb 26, 2015, 9:29 AM

                        I never tried 😞 Just after the installation I changed the location. I restarted at least 10 times the NFS server and the whole FOG server after changing /etc/exports.

                        1 Reply Last reply Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by Feb 26, 2015, 10:24 AM

                          Could you please try mounting the NFS share from another computer:
                          [CODE]mkdir -p /mnt/nfstest && mount <fog-ip>:/data/images/dev /mnt/nfstest -v[/CODE]
                          I guess this will fail. Please report any error messages you see…

                          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
                          • P
                            pimms
                            last edited by Feb 26, 2015, 12:42 PM

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • P
                              pimms
                              last edited by Feb 26, 2015, 1:19 PM

                              I tried to mount the NFS share from another computer. I have this error :
                              mount.nfs: mount(2) Connection refused

                              1 Reply Last reply Reply Quote 0
                              • W
                                Wayne Workman
                                last edited by Feb 26, 2015, 1:58 PM

                                IP Conflict?

                                I dunno… just kicking around ideas…

                                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!
                                Daily Clean Installation Results:
                                https://fogtesting.fogproject.us/
                                FOG Reporting:
                                https://fog-external-reporting-results.fogproject.us/

                                1 Reply Last reply Reply Quote 0
                                • P
                                  pimms
                                  last edited by Feb 26, 2015, 4:14 PM

                                  I managed to upload my image but this upload is blocked but i have this error now : FOG FTP Login Failed

                                  1 Reply Last reply Reply Quote 0
                                  • W
                                    Wayne Workman
                                    last edited by Feb 26, 2015, 4:59 PM

                                    [quote=“pimms, post: 42822, member: 28727”]I managed to upload my image but this upload is blocked but i have this error now : FOG FTP Login Failed[/quote]

                                    Tell us, is your image sitting in /images/dev or in /images?

                                    The Storage Management password is the culprit, probably. It’s the network folder looking thing in the Web GUI.

                                    You should double check that the credentials set on the storage group in there are exactly the same as the [U]Linux[/U] Fog account credentials.

                                    Also, you can double check that the FTP services are running on the FOG machine. Note any errors there.

                                    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!
                                    Daily Clean Installation Results:
                                    https://fogtesting.fogproject.us/
                                    FOG Reporting:
                                    https://fog-external-reporting-results.fogproject.us/

                                    1 Reply Last reply Reply Quote 0
                                    • P
                                      pimms
                                      last edited by Feb 26, 2015, 5:13 PM

                                      My image is sitting in /images/dev, even if the storage default in the web GUI is /data/images 😕
                                      Tftp service is running.
                                      The password of the Linux FOG account is the same as the web GUI password and TFTP password in the Web GUI.

                                      1 Reply Last reply Reply Quote 0
                                      • W
                                        Wayne Workman
                                        last edited by Feb 26, 2015, 6:08 PM

                                        [quote=“pimms, post: 42828, member: 28727”]My image is sitting in /images/dev, even if the storage default in the web GUI is /data/images 😕
                                        Tftp service is running.
                                        The password of the Linux FOG account is the same as the web GUI password and TFTP password in the Web GUI.[/quote]

                                        Maybe configure it to use /images instead of /data/images ?

                                        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!
                                        Daily Clean Installation Results:
                                        https://fogtesting.fogproject.us/
                                        FOG Reporting:
                                        https://fog-external-reporting-results.fogproject.us/

                                        1 Reply Last reply Reply Quote 0
                                        • W
                                          Wayne Workman
                                          last edited by Feb 26, 2015, 6:19 PM

                                          Also, TFTP and FTP are not the same things. They are each their own thing, as I understand. Two separate services.

                                          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!
                                          Daily Clean Installation Results:
                                          https://fogtesting.fogproject.us/
                                          FOG Reporting:
                                          https://fog-external-reporting-results.fogproject.us/

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 1 / 2
                                          1 / 2
                                          • First post
                                            13/23
                                            Last post

                                          150

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project