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

    NFS Config

    Scheduled Pinned Locked Moved
    General Problems
    2
    4
    834
    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
      bkgoodman
      last edited by

      Hi! New to Fog and trying to get it running. I am running my server in a Proxmox environment - and I know there are articles out there that describe how to work around some of the issues with getting Fog NFS working in a Proxmox LXC container, but ideally - I’d like to do something else.

      We already have an NFS server and use that for our file stores.

      Is there a way I can configure out Fog (iPXE) clients to use our NFS server directly - instead of trying to mount image stores from the Fog server, itself?

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

        @bkgoodman said in NFS Config:

        Is there a way I can configure out Fog (iPXE) clients to use our NFS server directly - instead of trying to mount image stores from the Fog server, itself?

        There is a way, but if this is an active NFS server, using FOG imaging would make that nfs server insecure. The FOS engine, the software that runs on the target computer is a customized linux OS. The image capture process runs as the root user, so your nfs share would need to allow root access to the nfs volume. Typically NFS is configured to squash root access to the nfs share for security reasons.

        If you really want to do this you can undo the security to allow root’s access. In our tutorial section we have guidance on how to setup a synology nas as a FOG capture server, so its possible to do, but it is an unsupported configuration by the devs so YMMV. The best solution is to capture to the fog server as the devs intended. But since its opensource, if you have the skills, then almost anything is possible.

        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!

        B 1 Reply Last reply Reply Quote 0
        • B
          bkgoodman @george1421
          last edited by

          @george1421 Is there a place where such a configuration (i.e. address and credentials to NFS server) exists on the Fog server, or do I have to hack the Linux image to change it?

          Thanks!

          -BKG

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

            @bkgoodman This can be set from the fog web ui. FOG has a concept of storage nodes and master nodes. Only master nodes can collect images, you can deploy images from both master nodes and storage nodes. Where storage nodes are deploy only.

            While the following deals with synology nas devices the same info can reference other NFS aware devices. Your target system needs both nfs AND ftp enabled to be able to function as a FOG storage node.

            https://forums.fogproject.org/topic/9430/synology-nas-as-fog-storage-node

            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

            133

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project