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

    After Adding Storage for Images / deploy image mounting failed

    Scheduled Pinned Locked Moved
    General Problems
    3
    20
    1.2k
    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.
    • S
      sourceminer @sourceminer
      last edited by

      @george1421
      Im wondering if its not anything to do with FOG?
      It gets to the preparing Partition layout and then prompts:


      **An error has occurred.


      Init version xxx
      Unable to locate image store (/bin/fog.download)
      Args passed:

      Kernel variables and settings:
      bzimage loglevel=4 initrd=init.xz root=/deu/ranO ru randisk_size=2?5000 ueb-http://192.168.177.101/fog/ consoleblank-0 rootfstype=ext4 nvme_core.default_ps_max_legacy_us=0 mac=XX:XX:XX:XX:XX:XX ftp=192.168.177.101 storage=192.168.177.101:/images2/ storageip=192.168.177.101 osid=9 irqpol1 hostnane=c025a53f5bdd chkdsk=0 bla bla bla…
      No errors seem to be in the parameters.
      The parameters all seem good

      Computer will reboot in 1 minute

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @sourceminer Not exactly sure but maybe the duplicated fsid=X parameter in your /etc/exports is causing the issue.

        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

        S george1421G 2 Replies Last reply Reply Quote 1
        • S
          sourceminer @Sebastian Roth
          last edited by

          @sebastian-roth
          OMG that was it!!
          Thank you…

          1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @Sebastian Roth
            last edited by

            @sebastian-roth said in After Adding Storage for Images / deploy image mounting failed:

            fsid=X

            I totally overlooked that. Great catch because the file systems seem to be setup correctly from a file permissions standpoint.

            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!

            S 1 Reply Last reply Reply Quote 0
            • S
              sourceminer @george1421
              last edited by

              @george1421
              Ok so I was able to deploy 1 image.
              Captured a new image and trying to deploy it (from the same storage group) Getting same error again…

              george1421G 1 Reply Last reply Reply Quote 0
              • george1421G
                george1421 Moderator @sourceminer
                last edited by george1421

                @sourceminer said in After Adding Storage for Images / deploy image mounting failed:

                Getting same error again…

                You get the same error on capture or capture and deploy?

                If you look into /images2/dev do you see a directory with a mac formatted name? If you look at /images/dev do you see this directory? You should only see a mac address looking directory when you are doing an active upload to the fog server. Any other times that is an indication of a botched upload.

                You are still getting a permission denied message?

                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!

                S 1 Reply Last reply Reply Quote 0
                • S
                  sourceminer @george1421
                  last edited by sourceminer

                  @george1421
                  I captured the image no problem.
                  Im getting the error on deploying the image.
                  Neither directory has a formatted Mac name
                  I don’t see anything saying permission denied… just the same message above “Unable to locate image store (/bin/fog.download)”

                  S 1 Reply Last reply Reply Quote 0
                  • S
                    sourceminer @sourceminer
                    last edited by

                    @george1421
                    OK sorry, I just noted that the capture never completed… its starting over again.
                    Going to watch to see what happens.

                    S 1 Reply Last reply Reply Quote 0
                    • S
                      sourceminer @sourceminer
                      last edited by

                      OK Confirmed its all working as expected. The Ultimate solution was the duplicate fsid=x issue.
                      Perhaps flag the wiki document on installing additional storage pools to ensure that the fsid=x value is not duplicated from a copy and paste.

                      george1421G 1 Reply Last reply Reply Quote 1
                      • george1421G
                        george1421 Moderator @sourceminer
                        last edited by

                        @sourceminer Interesting I think the wiki pages needs to be updated to based on my tutorial here: https://forums.fogproject.org/topic/10450/adding-additional-image-storage-space-to-fog-server/2

                        I specifically do mention changing the fsid.

                        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!

                        S 1 Reply Last reply Reply Quote 0
                        • S
                          sourceminer @george1421
                          last edited by

                          @george1421
                          Yes your Tutorial is spot on.

                          One thing I have observed though, is if you reinstall Fog (I did this morning troubleshooting the Secure boot post) I noted that the exports file is replaced with default. I lost all my settings from prior. I had to append the file.

                          george1421G 1 Reply Last reply Reply Quote 0
                          • george1421G
                            george1421 Moderator @sourceminer
                            last edited by

                            @sourceminer said in After Adding Storage for Images / deploy image mounting failed:

                            I lost all my settings from prior. I had to append the file.

                            Yes I saw this too when I was developing NFSv4 for FOG. That uses a really different exports file. So now I keep a exportfs.sav file with the correct settings in case I forget in the future.

                            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!

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

                            155

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project