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

    Fog Image Capture Error Permision Denied.

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    3
    429
    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.
    • B
      bsawyers
      last edited by

      I have a storage node that is using an nfs share on truenas setup in fog 1.5.9. I have also mounted the share on the fog server and mounted it in /media/s23images. /images is still in the default node. When i try to capture an image using the nfs node fog tries to mount /media/s23images to /images and gets a permission denied error? How can i just get this to capture to /media/s23images?

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

        @bsawyers Well there are a number of reasons why this fails.

        The first thing to check is to see if squash root is enabled. The FOS Linux engine (what runs on the target computer to capture/deploy images) runs as root. This in a way is not an ideal situation. If your nfs server is configured to reject root connections that might cause a problem.

        It could also be how you have your storage node configuration setup in the web ui.

        How I would go about debugging this is to setup a debug capture/deploy (tick the debug checkbox before you hit the schedule task button) in the web ui. That will drop you to a linux prompt on the target computer. From there try to mount your truenas nfs share. If you can get it to work from there then its just duplicating the configuration in the web ui.

        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
        • K
          kevinnew22
          last edited by kevinnew22

          https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_NFS
          Creating & verifying .mntcheck files
          .mntcheck is a hidden and empty file that a FOG client uses during image capture and image download/deployment to verify an NFS share is mounted correctly.

          To create these files, on the FOG server:

          touch /images/.mntcheck
          touch /images/dev/.mntcheck
          Verify these files with:

          ls -laR /images | grep .mntcheck

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

          264

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project