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

Could not mount images folder (/bin/fog.download)

Scheduled Pinned Locked Moved Solved
FOG Problems
2
6
588
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
    SOSF2
    last edited by Dec 8, 2023, 3:50 PM

    Hello,
    Everything works great until I change IP of my Fog VM. I change IP in fog settings by doing ./installfog.sh. I can boot in PXE, log and choose what image to deploy. But I get this error:
    mounting 192.168.2.8:/home/fogproject/images/ on /images failed: permission denied

    I check showmount, it’s ok:
    Capture d’écran 2023-12-08 à 16.48.20.png

    I check permission, it’s ok
    Capture d’écran 2023-12-08 à 16.48.55.png :
    Capture d’écran 2023-12-08 à 16.49.22.png

    And I try to modify .fogsettings :
    storageLocation=‘/images’ to storageLocation=‘’/home/fogproject/images’
    but no change.

    Any idea ?

    J 1 Reply Last reply Dec 8, 2023, 5:15 PM Reply Quote 0
    • S
      SOSF2 @SOSF2
      last edited by Dec 9, 2023, 8:09 AM

      @SOSF2 OK I update this exports file with the 2 new location and it’s working ! Thanks. I thinking that this file was not updated with a new ./installfog.sh but it was…

      1 Reply Last reply Reply Quote 1
      • J
        JJ Fullmer Testers @SOSF2
        last edited by Dec 8, 2023, 5:15 PM

        @SOSF2 Check out this doc https://docs.fogproject.org/en/latest/change-fog-server-ip-address there are a few other places you need to make changes

        Have you tried the FogApi powershell module? It's pretty cool IMHO
        https://github.com/darksidemilk/FogApi
        https://fogapi.readthedocs.io/en/latest/
        https://www.powershellgallery.com/packages/FogApi
        https://forums.fogproject.org/topic/12026/powershell-api-module

        S 1 Reply Last reply Dec 8, 2023, 5:36 PM Reply Quote 0
        • S
          SOSF2 @JJ Fullmer
          last edited by Dec 8, 2023, 5:36 PM

          @JJ-Fullmer Yes I already did that. Everything is changed with the new IP. And no problem to display the fog web page and the fog PXE menu.

          J 1 Reply Last reply Dec 8, 2023, 5:54 PM Reply Quote 0
          • J
            JJ Fullmer Testers @SOSF2
            last edited by Dec 8, 2023, 5:54 PM

            @SOSF2 Oh good.
            Just re-read some of your post and I have more questions

            Why did you move /images to the home path? I suppose it should work as long as the /etc/exports file on the server is exporting that path as an nfs share and that path has the proper permissions (which I see it does).

            What does /etc/exports say on your server?

            Have you tried the FogApi powershell module? It's pretty cool IMHO
            https://github.com/darksidemilk/FogApi
            https://fogapi.readthedocs.io/en/latest/
            https://www.powershellgallery.com/packages/FogApi
            https://forums.fogproject.org/topic/12026/powershell-api-module

            S 1 Reply Last reply Dec 9, 2023, 7:59 AM Reply Quote 0
            • S
              SOSF2 @JJ Fullmer
              last edited by Dec 9, 2023, 7:59 AM

              @JJ-Fullmer I don’t remember why I move /images to /home/fogproject/images, it was very long time ago… But there was surely a reason 🙂

              Here is the exports file:
              Capture d’écran 2023-12-09 à 08.57.50.png

              S 1 Reply Last reply Dec 9, 2023, 8:09 AM Reply Quote 0
              • S
                SOSF2 @SOSF2
                last edited by Dec 9, 2023, 8:09 AM

                @SOSF2 OK I update this exports file with the 2 new location and it’s working ! Thanks. I thinking that this file was not updated with a new ./installfog.sh but it was…

                1 Reply Last reply Reply Quote 1
                • [[undefined-on, S SOSF2, Dec 9, 2023, 8:09 AM]]
                • 1 / 1
                1 / 1
                • First post
                  2/6
                  Last post

                233

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project