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

    FOG with TrueNAS on Proxmox Setup

    Scheduled Pinned Locked Moved
    General
    3
    7
    1.6k
    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.
    • O
      OutlastTrace
      last edited by

      Hi,

      I’m planning on setting up FOG in a vm on Proxmox, I’ve had trouble in the past giving access to storage from my TrueNAS Scale VM which is running on the same Proxmox.

      What is the best way to do this?

      I’ve tried NFS and had errors when I go to take an image, I don’t remember them exactly but it was on the lines of having trouble mounting NFS. Would using virtual iSCSI work?

      Thanks

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

        @OutlastTrace said in FOG with TrueNAS on Proxmox Setup:

        I’ve tried NFS and had errors when I go to take an image, I don’t remember them exactly but it was on the lines of having trouble mounting NFS. Would using virtual iSCSI work?

        As FOS (our custom build FOG Linux OS doing all the heavy lifting for you) is using NFS mounting as well this would be like re-exporting a mounted NFS share. NFS does not support this by definition. You can give iSCSI a try, no promise it will work and give you good performance though.

        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

        O 1 Reply Last reply Reply Quote 0
        • O
          OutlastTrace @Sebastian Roth
          last edited by

          @Sebastian-Roth said in FOG with TrueNAS on Proxmox Setup:

          You can give iSCSI a try, no promise it will work and give you good performance though.

          What can I do then if iSCSI isn’t supported? Do I basically need to get disk dedicated to FOG and pass them through to the VM?

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

            @OutlastTrace The easiest way is via a dedicated disk. As Sebastian mentioned that iSCSI disk will be a block device to the FOG server so it can be shared. Resharing an NFS share is akin to mounting a remote share on a windows server as the w: drive then trying to share that to a third computer.

            You can try to configure your truenas device as a fog storage node. We’ve done that with other nas device such as readynas and synology. The truenas device needs to support NFS and tfp services.

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

            Make windows 2012 as a fog storage node (proof of concept only) https://forums.fogproject.org/topic/10097/setting-up-a-windows-2012-server-as-a-fog-storage-node

            The thing you have to remember about FOG is that the FOS Linux OS (engine that clone’s hard drive) uses the “root” user account to copy files. So if your nfs share has squashroot attribute then the “FOS Linux root user” won’t be able to mount the nfs share on truenas. Look over both tutorials then you should have enough info to configure truenas as a FOG storage node if you want to go down that path.

            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!

            O 1 Reply Last reply Reply Quote 0
            • O
              OutlastTrace @george1421
              last edited by

              @george1421

              Thanks your the clarification, would it be best to pass through the whole disk or create a virtual disk? As another option is to mount the NFS share in Proxmox and then create a virtual drive from that and pass it through to the VM

              I’m not sure that TrueNAS could be used as a storage node as it definitely supports NFS but not sure what tfp is.

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

                @OutlastTrace said in FOG with TrueNAS on Proxmox Setup:

                not sure what tfp is.

                well that should have read ftp

                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!

                O 1 Reply Last reply Reply Quote 0
                • O
                  OutlastTrace @george1421
                  last edited by

                  @george1421 Oh that makes sense I did guess that TrueNAS scale supports that too

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

                  164

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project