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

    Re-sizing the Partition/Adding More Storage

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    7
    1.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.
    • S
      SBrady
      last edited by

      I’m using Citrix XenCenter version 6.5 and built a Fog virtual server. Originally it was allocated 80GB of storage. I changed it to 160GB on XenCenter but can’t figure out how to do it on the Fog server. I’ve tried GParted and some command line stuff but nothing is working for me. How do I re-size this? Please let me know if you need any additional information or screen shots.

      0_1463690597288_FOG.JPG

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        Not exactly what you are asking but the end goals are about the same.

        https://forums.fogproject.org/topic/6642/moving-fog-s-images-files-off-the-root-partition

        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
        • I
          ITSolutions Testers
          last edited by

          I think @george1421’s suggestion is the best choice, especially if you may be needing to dynamically add more storage at anytime. This would also allow for easier rebuilds in case of OS corruption.

          george1421G 1 Reply Last reply Reply Quote 0
          • george1421G
            george1421 Moderator
            last edited by george1421

            There is a way to expand the filesystem using fdisk. It is scary as hell to delete the partition and then add it back on a live system but worked when I did it.

            https://codesilence.wordpress.com/2013/03/14/live-resizing-of-an-ext4-filesytem-on-linux/

            You may try gpartd to work for you. I think I was able to do that before too.

            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!

            S 1 Reply Last reply Reply Quote 0
            • george1421G
              george1421 Moderator @ITSolutions
              last edited by

              @ITSolutions It looks like the OP is using normal partitions so it is easier to extend those than the ones managed by lvm. With lvm you would just create a new disk and add it to the vg.

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

                This one may get the OP close with his original post (gives pictures)

                https://www.rootusers.com/use-gparted-to-increase-disk-size-of-a-linux-native-partition/

                But the right answer (IMO) is to move the images off the root partition and onto its own disk, where you can manage them and expend them from there.

                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
                • S
                  SBrady @george1421
                  last edited by

                  @george1421 Yea I tried to do the fdisk thing and also thought it was scary so stopped before I could do any damage. I might try again because I have a snapshot of the server so If I do anything I can just revert to the snapshot. I just wanted to be pointed in the right direction before I put time into it. I’m reading the first article you posted and if that doesn’t work I will try using fdisk. Thank you for replying, I’ll let you know what happens 🙂

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

                  233

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project