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

Another possibility to export storage on Windows ?

Scheduled Pinned Locked Moved
FOG Problems
3
6
1.3k
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.
  • A
    arnaudrigole
    last edited by arnaudrigole Apr 21, 2016, 12:15 PM Apr 21, 2016, 5:01 PM

    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
    • W
      Wayne Workman
      last edited by Apr 22, 2016, 12:02 AM

      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
      • G
        george1421 Moderator
        last edited by george1421 Apr 21, 2016, 6:47 PM Apr 22, 2016, 12:46 AM

        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
        • A
          arnaudrigole
          last edited by Apr 22, 2016, 7:27 AM

          @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.

          W 1 Reply Last reply Apr 22, 2016, 12:07 PM Reply Quote 0
          • W
            Wayne Workman @arnaudrigole
            last edited by Apr 22, 2016, 12:07 PM

            @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/

            A 1 Reply Last reply Apr 25, 2016, 7:37 AM Reply Quote 1
            • A
              arnaudrigole @Wayne Workman
              last edited by Apr 25, 2016, 7:37 AM

              @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
              • 1 / 1
              1 / 1
              • First post
                4/6
                Last post

              170

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project