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

    I have to rebuild a new fog server

    Scheduled Pinned Locked Moved
    General
    3
    7
    1.9k
    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.
    • F
      fredlwal
      last edited by

      I have a server that is having issues, but last week I backed up my images to an external hard drive, I was going to rebuild a server but I would like to know if there is any issues by copying over images from the external HD to the new server? If anyone has done this what steps did you take to make this process go smooth?

      Thank You

      1 Reply Last reply Reply Quote 0
      • Jaymes DriverJ
        Jaymes Driver Developer
        last edited by

        [quote=“fredlwal, post: 45157, member: 26766”]I have a server that is having issues, but last week I backed up my images to an external hard drive, I was going to rebuild a server but I would like to know if there is any issues by copying over images from the external HD to the new server? If anyone has done this what steps did you take to make this process go smooth?

        Thank You[/quote]

        What version was your previous FOG server?

        You shouldn’t have any issues, but when you copy your images into your /images folder, you will also need to create an image store for each image. You will also want to make sure that the path listed in the Image store is IDENTICAL to the folder that is storing the image.

        The only thing you need to look out for is if your server is an older version, such as 0.32, or 0.33b. We upgraded the partimage to partclone and the images are not exactly reverse compatible, but there is a way to enable the Legacy flag so that you can continue to use your older images on a newer server. Personally, I’ve had better luck with deploying the image from a current server and uploading fresh to a new server.

        For Example. Lets say one of your images is named Dell2015. When you add the image the the image store you will want to verify that the “Image File” box has the correct folder listed. In linux Dell2015 and dell2015 are NOT the same thing. If the folders are not correct, you will not be able to deploy your images, as FOG will not be able to find them.

        After you copy your images to your new /images folder, you will want to issue a chmod command to allow global read/write privileges so that the image can be found and used.

        WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

        1 Reply Last reply Reply Quote 0
        • F
          fredlwal
          last edited by

          [quote=“Jaymes Driver, post: 45158, member: 3582”]What version was your previous FOG server?

          You shouldn’t have any issues, but when you copy your images into your /images folder, you will also need to create an image store for each image. You will also want to make sure that the path listed in the Image store is IDENTICAL to the folder that is storing the image.

          The only thing you need to look out for is if your server is an older version, such as 0.32, or 0.33b. We upgraded the partimage to partclone and the images are not exactly reverse compatible, but there is a way to enable the Legacy flag so that you can continue to use your older images on a newer server. Personally, I’ve had better luck with deploying the image from a current server and uploading fresh to a new server.

          For Example. Lets say one of your images is named Dell2015. When you add the image the the image store you will want to verify that the “Image File” box has the correct folder listed. In linux Dell2015 and dell2015 are NOT the same thing. If the folders are not correct, you will not be able to deploy your images, as FOG will not be able to find them.

          After you copy your images to your new /images folder, you will want to issue a chmod command to allow global read/write privileges so that the image can be found and used.[/quote]

          what’s the command for the chmod to allow global read/write?

          1 Reply Last reply Reply Quote 0
          • Jaymes DriverJ
            Jaymes Driver Developer
            last edited by

            [code]
            sudo chmod -R 0777 /images
            [/code]

            WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

            1 Reply Last reply Reply Quote 0
            • F
              fredlwal
              last edited by

              [quote=“Jaymes Driver, post: 45289, member: 3582”][code]
              sudo chmod -R 0777 /images
              [/code][/quote]

              So I should do that after I copy over the images folder that is on the external hard drive?

              1 Reply Last reply Reply Quote 0
              • Jaymes DriverJ
                Jaymes Driver Developer
                last edited by

                [quote=“fredlwal, post: 45290, member: 26766”]So I should do that after I copy over the images folder that is on the external hard drive?[/quote]

                Yes, after you copy your images from the External drive to the /images folder, open terminal and issue the command.

                You will also need to create an image store for each image you wish to assign to a host.

                WARNING TO USERS: My comments are written completely devoid of emotion, do not mistake my concise to the point manner as a personal insult or attack.

                1 Reply Last reply Reply Quote 0
                • I
                  irishfoguser
                  last edited by

                  i rebuilt my server after i broke no issues at all copying the images in froma usb once you keep the exact name and chmod the images.

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

                  193

                  Online

                  12.1k

                  Users

                  17.3k

                  Topics

                  155.3k

                  Posts
                  Copyright © 2012-2024 FOG Project