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

    Questions regarding Storage Upgrade

    Scheduled Pinned Locked Moved
    General
    5
    11
    2.5k
    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.
    • george1421G
      george1421 Moderator
      last edited by george1421

      There are a couple of way to go about this neither is perfectly clean.

      I guess the first question to ask is if your can install 2 hard drives in your FOG server at one time?

      If yes then you have options (not in any special order).

      1. If your FOG server uses LVM disk management, you can just add the new 8TB disk to the existing root LVM volume. Let the OS manage the disk space.

      2. Map the new drive to the existing FOG server and mount over the /images directory: https://forums.fogproject.org/topic/6642/moving-fog-s-images-files-off-the-root-partition

      3. Setup the FOG server as a second storage node (basically map back to the FOG server where the 8TB drive is mounted). You will need to use the location plugin do decide which image goes to which (logical) storage node.

      4. Clone your 1TB drive to your 8TB drive.

      What ever solution, my preference is to not have the /images directory a member of the linux root partition. Filling up the root partition on linux is never a good thing. If the images are stored on the root partition its possible if the disk is not checked before the upload you could fill the root partition and bring down the linux OS. (I’ve been there and done that a few times).

      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 1
      • ?
        A Former User
        last edited by

        Thank you for posting this information. After reading what you posted, I am going to try cloning the 1TB and then move that cloned image to the 8TB, letting it be the only drive in the system. This should in theory allow me to keep everything that was on the 1TB and the new drive will have plenty of space. Hopefully no issues will arise, I’ve never done a linux clone before but I’ve read using dd commands you can use this method to clone the image.

        george1421G 1 Reply Last reply Reply Quote 0
        • george1421G
          george1421 Moderator @A Former User
          last edited by

          @Blsmith If this is a physical server, look at another FOSS utility called clonezilla. I can’t say if it speaks with LVM, but with standard partitions you should be able to resize them with clonezilla. Don’t mess with dd unless you really have a desire to do it the hard way.

          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!

          Wayne WorkmanW 1 Reply Last reply Reply Quote 0
          • Wayne WorkmanW
            Wayne Workman @george1421
            last edited by

            @george1421 said in Questions regarding Storage Upgrade:

            Don’t mess with dd unless you really have a desire to do it the hard way.

            The very, very hard way.

            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
            • ?
              A Former User @Wayne Workman
              last edited by

              @Wayne-Workman Okay thanks to you and george1421. I will be trying clonezilla out this morning and will post the results. I appreciate you guys assistance.

              Jaymes DriverJ 1 Reply Last reply Reply Quote 0
              • Jaymes DriverJ
                Jaymes Driver Developer @A Former User
                last edited by

                @Blsmith I just used clonezilla to clone a FOG installation yesterday! You shouldn’t have any issues.

                LVM should be supported by clonezilla, even if it is multipathd.

                Let us know how it goes.

                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
                • ?
                  A Former User @Jaymes Driver
                  last edited by

                  @Jaymes-Driver Clonezilla worked perfectly, I had no problem with the the clone. However, since the drive was clone, it shows the 1TB partition that was one the original disk, however I cannot allocate the other 7TB’s in ext4 using gparted live; every time I do this, I get an error when I try to activate the unallocated 6TB’s (don’t know if this is an issue where the drive is set at MBR and limited to 2TB’s but I should be able to allocate the remaining 6TB’s since that is separated from the OS partition). So what I might now try if its possible is to leave the original 1TB and set the 8TB as the new source of where images are will be created and stored so I can have all new images deployed/captured to the 8TB instead of going to the 1TB. Will this be able to work? Sorry, this is my first time dealing with this storage issue. Thanks.

                  Tom ElliottT 1 Reply Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @A Former User
                    last edited by

                    @Blsmith this is a limitation of an MBR layout.

                    You will need to convert the disk to GPT inorder to use the full 7-8tb of space.

                    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 0
                    • Tom ElliottT
                      Tom Elliott
                      last edited by

                      MBR can have 4 primary partitions.

                      Each partition in 512 byte sectors can have a max of 2 TB.

                      Each partition in 4096 byte sectors can have 4tb…Kind of

                      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 0
                      • ?
                        A Former User @Tom Elliott
                        last edited by

                        @Tom-Elliott If I convert the disk to GPT (which wipes over the clone). After I clone the drive again (after converting disk to GPT) I will need to segment the drive in 4TB partitions (excluding OS partition). Since there will be several partitions (ex. (2) 4TB partitions) how will this need to be setup up in FOG regarding images moved across several partitions?

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

                        278

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project