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

    Use NAS as NFS share

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    10
    3.9k
    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.
    • Polii123P
      Polii123
      last edited by Polii123

      HI

      I’m curently testing some things on our test FOG. Today i wanted to use our NAS as Storage for the images. But i’m not a linux genius so the problems already came up after 5 minutes.

      So i mounted the share on our NAS with NFS, this worked. But my question now is, how do i set FOG to export the NFS from the NAS instead of the FOG Server?

      ch3iC 1 Reply Last reply Reply Quote 0
      • ch3iC
        ch3i Moderator @Polii123
        last edited by

        @Polii123

        Hi,

        To add a NAS as storage node :

        1/ Create a share on your NAS with NFS and FTP access (FTP is used to moved images from dev/ to images/ )

        2/ Create a user fog in your NAS with the same credentials in fog settings (FOG_TFTP_FTP_USERNAME and FOG_TFTP_FTP_PASSWORD)

        3/ Add it in the FOG Web UI as a storage node

        • IP Address : IP of your NAS
        • Image path : full NFS path of your NAS

        4/ Ensure you have the good rights on your NAS share (777)

        With that method you can only upload/deploy via unicast, no multicast.

        To have multicast, you have to attach your NAS on your FOG server via iSCSI.

        There are some topics on the forum to do that.

        Regards,
        Ch3i.

        1 Reply Last reply Reply Quote 1
        • Polii123P
          Polii123
          last edited by

          Well Multicast is important, so this isn’t a solution. Thanks for the help.

          ch3iC 1 Reply Last reply Reply Quote 0
          • ch3iC
            ch3i Moderator @Polii123
            last edited by

            @Polii123 said:

            Well Multicast is important, so this isn’t a solution. Thanks for the help.

            Try with iSCSI. Your FOG server is physical or virtual ?

            1 Reply Last reply Reply Quote 0
            • Polii123P
              Polii123
              last edited by

              Hi

              ISCSI wouldn make any diffrence. Our FOG is virtual, and the virtual Disk is connected per ISCSI on the same NAS anyway.

              ch3iC 1 Reply Last reply Reply Quote 0
              • ch3iC
                ch3i Moderator @Polii123
                last edited by

                @Polii123 said:

                Today i wanted to use our NAS as Storage for the images…

                If you use your NAS in your FOG via iSCSI, I don’t understand what you want to do 😛

                1 Reply Last reply Reply Quote 0
                • Polii123P
                  Polii123
                  last edited by

                  The “Problem” now is, that the Traffic flow. From Switch to Hyper-V Server then back to the switch and then to the NAS. What i wanted: Traffic flows directly from Switch to the NAS.

                  The Problem is that we don’t have a “SAN” Switch yet.

                  ch3iC 1 Reply Last reply Reply Quote 0
                  • ch3iC
                    ch3i Moderator @Polii123
                    last edited by

                    @Polii123 said:

                    The “Problem” now is, that the Traffic flow. From Switch to Hyper-V Server then back to the switch and then to the NAS. What i wanted: Traffic flows directly from Switch to the NAS.

                    The Problem is that we don’t have a “SAN” Switch yet.

                    Ok, I don’t see any solution…
                    But in multicast on xx computers, you have the same consumption of bandwidth as a single computer in unicast.

                    1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman
                      last edited by Wayne Workman

                      I think making your NAS into a storage node as ch3i said is the only solution for what you want to accomplish. I have zero experience with storage nodes as of yet, but I will soon. I can’t confirm or deny that multicast works with a NAS storage node… and if it doesn’t, I surely don’t understand why not.

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      ch3iC 1 Reply Last reply Reply Quote 0
                      • ch3iC
                        ch3i Moderator @Wayne Workman
                        last edited by

                        @Wayne-Workman It’s only working if the NAS isn’t the Master Node, I think…

                        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