• 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
    14.1k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      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

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

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

          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

            Yes Selinux is disabled and rpcbind is running.

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

              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

                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
                • Tom ElliottT
                  Tom Elliott
                  last edited by

                  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

                    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

                      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

                        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

                          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

                            This post is deleted!
                            1 Reply Last reply Reply Quote 0
                            • P
                              pimms
                              last edited by

                              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
                              • Wayne WorkmanW
                                Wayne Workman
                                last edited by

                                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

                                  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
                                  • Wayne WorkmanW
                                    Wayne Workman
                                    last edited by

                                    [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

                                      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
                                      • Wayne WorkmanW
                                        Wayne Workman
                                        last edited by

                                        [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
                                        • Wayne WorkmanW
                                          Wayne Workman
                                          last edited by

                                          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
                                          • First post
                                            Last post

                                          165

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project