ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Fedora on XenServer VM - Expand primary Partition

    Scheduled Pinned Locked Moved IT Discussion
    fedoraxenserverpartitionexpandvirtual machine
    26 Posts 4 Posters 3.6k Views
    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.
    • DustinB3403D
      DustinB3403
      last edited by

      fdisk /dev/xvda2

      and 'p'
      0_1459532049564_upload-f2fbfadc-5f0e-4a36-9128-ed2f6fa85a19

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        part of thei ssue is partitions needing to be resized. You either have to grow the right partition which is often not an option or you need to let LVM handle it. In this case, just make a new partition, use pvcreate to add it under LVM, add it to the existing volume group then grow things as before.

        stacksofplatesS 1 Reply Last reply Reply Quote 2
        • DustinB3403D
          DustinB3403
          last edited by DustinB3403

          So as a follow up to what @johnhooks and I were working on. This is what I have. (Had to revert as something broke) This VM only has 1 VHD. Of which I'd like to either expand the boot partition, or create a new partition and then allow it to be used by the primary.

          0_1459542801972_XenCenterMain_2016-04-01_16-33-12.png

          1 Reply Last reply Reply Quote 0
          • DustinB3403D
            DustinB3403
            last edited by

            In a LiveCD now and this is what Parted has.

            0_1459543299525_XenCenterMain_2016-04-01_16-41-26.png

            1 Reply Last reply Reply Quote 0
            • stacksofplatesS
              stacksofplates @scottalanmiller
              last edited by stacksofplates

              @scottalanmiller said:

              part of thei ssue is partitions needing to be resized. You either have to grow the right partition which is often not an option or you need to let LVM handle it. In this case, just make a new partition, use pvcreate to add it under LVM, add it to the existing volume group then grow things as before.

              For some reason I thought I resized a disk and live root volume on a VM before. I guess I was dreaming.

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • stacksofplatesS
                stacksofplates
                last edited by

                @DustinB3403 did you resolve the issue where it wouldn't let you create another primary partition?

                DustinB3403D 1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @stacksofplates
                  last edited by

                  @johnhooks said:

                  @scottalanmiller said:

                  part of thei ssue is partitions needing to be resized. You either have to grow the right partition which is often not an option or you need to let LVM handle it. In this case, just make a new partition, use pvcreate to add it under LVM, add it to the existing volume group then grow things as before.

                  For some reason I thought I resized a disk and live root volume on a VM before. I guess I was dreaming.

                  that it is a VM really isn't part of the equation 🙂

                  1 Reply Last reply Reply Quote 0
                  • DustinB3403D
                    DustinB3403 @stacksofplates
                    last edited by

                    @johnhooks no I tried again with Scott's help. I might just stand up a new fog server with a larger primary and go with that if it becomes an issues. (More than it is)

                    1 Reply Last reply Reply Quote 1
                    • coliverC
                      coliver
                      last edited by

                      My guess is that you are filling up the images location? Why not create a new drive with a large enough capacity and move the images over to it?

                      DustinB3403D 1 Reply Last reply Reply Quote 0
                      • DustinB3403D
                        DustinB3403 @coliver
                        last edited by

                        @coliver yeah I am, but I didn't want to deal with the individual directories and moving the images etc. within fog.

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          Just make a new partition, don't worry about extending the existing one.

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