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

Windows Server Shared folder as image repository

Scheduled Pinned Locked Moved Unsolved
FOG Problems
5
6
2.1k
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.
  • H
    HaRD
    last edited by May 3, 2017, 12:02 PM

    Server
    • FOG Version: 1.3.4
    • OS: CentOS 7
    Client
    • Service Version:
    • OS: Windows 7 Pro x64 SP1
    Description

    Good day everyone,
    recently I was looking for a ways to hook up FOG image repository into Windows server shared folder.

    I’ve managed to mount //vserver5/install/IMAGEs to /mnt/images (by editing /etc/fstab) and in FOG Storage Node settings I’ve managed (somehow) to add new Storage Node. The web GUI shows correct information about new storage node (disk usage), but that seems to be all - when I try to capture new image using new Storage Node, I am getting error “Permission denied” (unable to mount /mnt/images/dev).

    Is there easy workaround? Or do I have to set permissions for //vserver5/install/IMAGEs on Windows Server 2012 R2 to Everyone / Anonymous? Or am I to take completely different approach to this problem?

    Thank you for advice.

    1 Reply Last reply Reply Quote 0
    • H
      HaRD
      last edited by May 3, 2017, 2:10 PM

      Oh, btw, I’ve read this https://wiki.fogproject.org/wiki/index.php?title=Windows_Storage_Node - just wondering, if there is workaround, which would not require to install FTP server at target machine (vserver5) and so on.

      W 1 Reply Last reply May 4, 2017, 1:10 PM Reply Quote 0
      • T
        Tom Elliott
        last edited by Tom Elliott May 3, 2017, 8:12 AM May 3, 2017, 2:11 PM

        The way fog works uses FTP to do the image transfer and what not, so just asking for a workaround for a system that’s heavily in place already seems a bit out of scope for what we actually DO.

        You can figure out how to do this if you’d like, but this isn’t (at least doesn’t sound to me) like something people have done before. – With FOG

        Is there a particular reason you need to use a Windows Share as the storage location? (I understand the why, but it won’t work as I think you’re imagining it will).

        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! Get in contact with me (chat bubble in the top right corner) if you want to join in.

        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

        1 Reply Last reply Reply Quote 1
        • Q
          Quazz Moderator
          last edited by May 3, 2017, 2:44 PM

          The reason it’s failing is because you’re trying to export a drive that’s mounted from an external source. In a default installation, this won’t work. Some people have tried some (I think it was kernel) changes to allow for it, but I wouldn’t recommend it.

          Given that you have a Windows Server 2012 you should be able to set it up as an NFS server directly, no need to use Samba sharing.

          1 Reply Last reply Reply Quote 2
          • W
            Wayne Workman @HaRD
            last edited by Wayne Workman May 4, 2017, 7:11 AM May 4, 2017, 1:10 PM

            @HaRD
            Read this. https://forums.fogproject.org/topic/9952/use-windows-share-to-store-fog-image-with-cifs-on-ubuntu
            But I think it’s a bad idea. If it explodes, we can’t help you with it.

            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 1
            • G
              george1421 Moderator
              last edited by May 4, 2017, 5:36 PM

              A while ago I wrote a proof of concept tutorial for turning a Windows server into a FOG storage node. https://forums.fogproject.org/topic/6941/windows-server-as-fog-storage-node-proof-of-concept-blog

              You can not add additional space to your fog server by sharing disks on another server. This method is asking for problems. But you can turn another server into a FOG storage node (so to speak). By using a fog storage node and a the fog location plugin you can train all of your computers to image from the storage node instead of the master 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!

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

              157

              Online

              12.0k

              Users

              17.3k

              Topics

              155.2k

              Posts
              Copyright © 2012-2024 FOG Project