• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Sep 13, 2021, 11:46 PM

    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?

    G 1 Reply Last reply Sep 14, 2021, 9:23 PM Reply Quote 0
    • G
      george1421 Moderator @bsawyers
      last edited by Sep 14, 2021, 9:23 PM

      @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 Sep 16, 2021, 8:05 AM Sep 16, 2021, 1:58 PM

        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
        1 / 1
        • First post
          2/3
          Last post

        238

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project