• Récent
    • Unsolved
    • Mots-clés
    • Populaire
    • Utilisateurs
    • Groupes
    • Recherche
    • S'inscrire
    • Se connecter

    Transfer images to a new system

    Planifier Épinglé Verrouillé Déplacé
    Linux Problems
    3
    9
    4.7k
    Charger plus de messages
    • Du plus ancien au plus récent
    • Du plus récent au plus ancien
    • Les plus votés
    Répondre
    • Répondre à l'aide d'un nouveau sujet
    Se connecter pour répondre
    Ce sujet a été supprimé. Seuls les utilisateurs avec les droits d'administration peuvent le voir.
    • M
      mrdally204
      dernière édition par

      Good Morning,

      I am looking to transition my fog server from a 1tb drive to a 2tb drive. In the process of doing this, I would like to start from scratch as far as the OS goes. Like a noob I installed the 32bit version of Ubuntu server thinking it would save a few resources and not accounting for the ram limitation…oops. The server machine is not changing, just the hard drive and underlying OS.

      My question is how can I go about transferring my 4 images from the old instance of fog to my newly installed one?

      1 réponse Dernière réponse Répondre Citer 0
      • E
        EAHarvey
        dernière édition par

        When I did mine, I just copied the images into the new images folder on your server. Make the permissions are all set 777 on the folder. Then when you add an image through your FOG interface, make sure the name is exactly the same is the image name. I know there is a forum post on this. I’ll see if I can find it.

        1 réponse Dernière réponse Répondre Citer 2
        • M
          mrdally204
          dernière édition par

          Is this the post you were referencing?

          https://forums.fogproject.org/topic/5541/transfert-images-to-new-server/6

          Wayne WorkmanW 1 réponse Dernière réponse Répondre Citer 0
          • Wayne WorkmanW
            Wayne Workman @mrdally204
            dernière édition par

            @mrdally204 How were you wanting to do the transfer? Do you have a USB external enclosure you can stick the old drive into? Do you want to not bother with that and use a shared folder on the network?

            There are a whole lot of options.

            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/

            M 1 réponse Dernière réponse Répondre Citer 0
            • M
              mrdally204 @Wayne Workman
              dernière édition par

              @Wayne-Workman I originally was just going to hook both drives up to the system and copy from one drive to the next. My main concern was getting FOG to recognize the images once they are in the proper location. The physical transferring of files should not be an obstacle .

              Wayne WorkmanW 1 réponse Dernière réponse Répondre Citer 0
              • Wayne WorkmanW
                Wayne Workman @mrdally204
                dernière édition par Wayne Workman

                @mrdally204 Oh. yeah then just copy them over and then follow what @EAHarvey said.

                If you were using FOG Trunk (pre 1.3.0), you could export just the images table only, and then import that into the new server. See the pic below:

                0_1452276486298_upload-0ca3a84c-7be0-4614-aa3f-31aaf3ad2a0b

                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/

                M 1 réponse Dernière réponse Répondre Citer 0
                • M
                  mrdally204 @Wayne Workman
                  dernière édition par

                  @Wayne-Workman I am using Trunk. So all I would need to do is export the images table on the old server, copy the folder that contains my images to the new instance, then import the images table? Please correct if I’m misunderstanding.

                  Wayne WorkmanW 1 réponse Dernière réponse Répondre Citer 0
                  • Wayne WorkmanW
                    Wayne Workman @mrdally204
                    dernière édition par Wayne Workman

                    @mrdally204 said:

                    @Wayne-Workman I am using Trunk. So all I would need to do is export the images table on the old server, copy the folder that contains my images to the new instance, then import the images table? Please correct if I’m misunderstanding.

                    Given that you’re storage node name is the same, and the image path is the same, and that you have 777 perms on the image path and you have your .mntcheck files in there, yes.

                    • Make your storage node the same name
                    • Make sure /etc/exports is in order
                    • Make sure your image path is the same
                    • Assuming /images, make your .mntcheck files and set perms:
                      touch /images/.mntcheck
                      touch /images/dev/.mntcheck
                      chown -R fog:root /images
                      chmod -R 777 /images
                    • Import your images data via the web interface.

                    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 réponse Dernière réponse Répondre Citer 0
                    • E
                      EAHarvey
                      dernière édition par

                      I should do a better job of explaining things. I just reread what i put and it was pretty vague. TY @Wayne-Workman for being much better at this than me. 🙂

                      1 réponse Dernière réponse Répondre Citer 1
                      • 1 / 1
                      • Premier message
                        Dernier message

                      194

                      En ligne

                      12.1k

                      Utilisateurs

                      17.3k

                      Sujets

                      155.2k

                      Messages
                      Copyright © 2012-2024 FOG Project