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

    Another possibility to export storage on Windows ?

    FOG Problems
    3
    6
    1018
    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.
    • arnaudrigole
      arnaudrigole last edited by arnaudrigole

      Hi Fog community,

      due to all my problems with NFS storage node hosted on windows … , here is another possibility that i try to use now: i defined a local directory as nfs export on fog vm, then i exported it with cifs on external windows machine.

      details:
      in /etc/exports
      /srv/cifs/GSBDAT01/images (with same parameters than default)
      /srv/cifs/GSBDAT01/images/dev (with same parameters than default)

      in /etc/fstab
      //192.168.253.20/images /images2 cifs credentials=/etc/cifs/GSBDAT01.credentials

      i’ve installed cifs-utils, copied .mntcheck files on my external server.
      EDIT: i did chmod 777 on /images2 directory too
      On fog webui, i defined a storage node with ip 127.0.0.1 on /images2, user and password are same as default storage.

      When i boot on pxe and try to upload an image, it don’t work…
      Failed to mount NFS volume, block on mounting 127.0.0.1/images2/dev on /images , CONNECTION REFUSED

      Any ideas?
      Thanks for your help, thats my school project, and i’ve same issues in my company 😞

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

        @Wayne-Workman

        Hi,
        I tried to follow this procedure 3 or 4 times, it never worked… 😞
        i got blocked when trying to access /images2, IO error everytime!

        So i wanna try everything else to export fog storage…

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

          @arnaudrigole I’m sure. But you can build a storage node from windows without mounting anything from it to the fog server. Read through this:
          https://wiki.fogproject.org/wiki/index.php?title=Windows_Storage_Node

          Also look at Georges earlier post, it’s filled with good stuff.

          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/

          arnaudrigole 1 Reply Last reply Reply Quote 1
          • arnaudrigole
            arnaudrigole last edited by

            @Wayne-Workman
            Thanks for your help, are you sure than its impossible to exports a directory already exported?

            I run FOG version 1.2, not trunk

            I need windows because its the only possibility of storage in my company, and my school project requirements are : 2 differents operating systems, so i choosed fog on linux for deployment and Windows for storage.

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

              This is not exactly on point of your post: I did start writing a tutorial on setting up a windows 2012 server as a storage node here: https://forums.fogproject.org/topic/6941/windows-server-as-fog-storage-node-reboot

              I ran into an issue where the master FOG server was trying to make http calls to the storage windows storage node and it was failing (because it wasn’t running apache and php code). Tom made some changes to the code a while back that would make it fall back to the ftp checks of the web pages where not available.

              I was pretty close with my testing, but I ran out of time to complete the tutorial before a big project kicked off at my work. There was some specific settings I needed to have set in the nfs share to have linux mount it correctly. I did everything in powershell so it could be easily duplicated without the go here, click this, check that workflow.

              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
              • Wayne Workman
                Wayne Workman last edited by

                With an error like “Connection Refused”, Permissions is all that comes to my mind. It’s either that or it just won’t work. In Linux, you cannot export a directory that is already exported. The kernel just won’t do it.

                We don’t know what version of FOG your on. In the latest FOG Trunk, the senior developer added some functionality that should allow for a full Windows storage node. Maybe if I find time I can update our article on it. #wiki worthy.

                Other than that, why does it have to be Windows? If you don’t want your VM platform filled up with images, just build a bare-metal Linux box and make it into a 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!
                Daily Clean Installation Results:
                https://fogtesting.fogproject.us/
                FOG Reporting:
                https://fog-external-reporting-results.fogproject.us/

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

                179
                Online

                10.4k
                Users

                16.4k
                Topics

                150.5k
                Posts

                Copyright © 2012-2023 FOG Project