• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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.
  • P
    Polii123
    last edited by Polii123 Jun 10, 2015, 1:45 AM Jun 10, 2015, 7:45 AM

    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?

    C 1 Reply Last reply Jun 10, 2015, 8:09 AM Reply Quote 0
    • C
      ch3i Moderator @Polii123
      last edited by Jun 10, 2015, 8:09 AM

      @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
      • P
        Polii123
        last edited by Jun 10, 2015, 8:12 AM

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

        C 1 Reply Last reply Jun 10, 2015, 8:15 AM Reply Quote 0
        • C
          ch3i Moderator @Polii123
          last edited by Jun 10, 2015, 8:15 AM

          @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
          • P
            Polii123
            last edited by Jun 10, 2015, 8:19 AM

            Hi

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

            C 1 Reply Last reply Jun 10, 2015, 8:22 AM Reply Quote 0
            • C
              ch3i Moderator @Polii123
              last edited by Jun 10, 2015, 8:22 AM

              @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
              • P
                Polii123
                last edited by Jun 10, 2015, 8:29 AM

                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.

                C 1 Reply Last reply Jun 10, 2015, 8:35 AM Reply Quote 0
                • C
                  ch3i Moderator @Polii123
                  last edited by Jun 10, 2015, 8:35 AM

                  @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
                  • W
                    Wayne Workman
                    last edited by Wayne Workman Jun 10, 2015, 4:21 PM Jun 10, 2015, 10:19 PM

                    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/

                    C 1 Reply Last reply Jun 11, 2015, 7:08 AM Reply Quote 0
                    • C
                      ch3i Moderator @Wayne Workman
                      last edited by Jun 11, 2015, 7:08 AM

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

                      219

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project