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

    Move images between storage groups

    FOG Problems
    3
    3
    81
    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.
    • G
      Gameman last edited by

      Hi everyone!

      At my office we have used Fog for some time now, but we have deployed images from our file server that is in a server hall.
      Now we have decided to replace quite a few computers so we wanted to have everything local in order to avoid having the rest of our network under heavy load, so we bought a Synology NAS.

      We managed to setup the new storge group on our synology NAS from which we can capture and deploy images.
      No problems, a lot faster, but i can’t for the life of me figure out how to ******* move the images from storage Group A to storage group B.
      The files are properly transferred using NFS, but how do i make Fog detect that they have been transferred?

      Any registry i can change to make them understand that they have been moved?

      Choosing which storage group to capture to is easy when you create the image, but there doesn’t seem to be a option to move it.

      Any help is appriciated, cheers

      george1421 1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator last edited by

        @Gameman @george1421 The wording (“bug”) kept me from looking at this for a while now. Found a bit of time to look into this and I think it’s not a bug really. When editing an image definition there is no drop down for “Storage Group” but a whole new settings tab for this (right of “General”). Here you all should be able to assign images to different storage groups as you wish.

        Though I have to admit that it might be a bit of a challenge to find this. Not sure why it was designed like this in 1.5.x.

        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
        • george1421
          george1421 Moderator @Gameman last edited by

          @developers I’ve discovered a “bug” in the web ui in regards to this OPs issue. When you create a new image, you are given the option to assign a “Storage Group” to the image. If you go into edit the image definition (as in the case the OP needs) the Storage Group field is missing. Just not locked for read only, the field is gone. I was using 1.5.7 on a test server and updated it to 1.5.9.111 with the same results.

          To the OPs issue. It looks like right now the only way to change them is from the database and sql query. I can help you with that if that is what you want to do.

          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
          • First post
            Last post

          59
          Online

          10.4k
          Users

          16.4k
          Topics

          150.7k
          Posts

          Copyright © 2012-2023 FOG Project