Increase Proxmox Virtual Machine Disk Size - Linux & Windows Guests

Поделиться
HTML-код
  • Опубликовано: 28 июн 2024
  • Increasing the size of an existing Virtual Machine disk image is tricky. If you miss a step, the guest OS will not see the additional available space.
    This is even more tricky in guests running Windows 11 due to interfering recovery partition.
    But if you follow the two steps shown in this guide, you should be able to increase the size of the disks for both Windows and Linux guest machines.
    #proxmox #homelab #homeserver #diskpartition #virtualmachines #windows11 #virtualization
    TIMESTAMPS
    0:00 Introduction & Problem Description
    1:42 Step 1: Increase Disk from Proxmox UI
    3:17 Step 2a: Download and Attach System-Rescue Disk
    4:39 Step 2b: Boot VM using System-Rescue Disk
    8:47 Step 2c: Increase Partition Size using GParted
    10:48 Reboot and Verify New Disk Size
    11:37 Closing Thoughts
    RELEVANT LINKS:
    🔗 • Proxmox 8 Makes Instal...
    🔗 www.proxmox.com/en/proxmox-ba...
    🔗 pve.proxmox.com/wiki/Resize_d...
    🔗 www.system-rescue.org/Download/
    MY PROXMOX HOST:
    🖥️ Topton V700 Intel i7-13800H Mini PC with 64 GB RAM: www.smarthomebeginner.com/go/... (Affiliate Link)
    SUPPORT MY WORK:
    🤝 www.smarthomebeginner.com/go/...
    JOIN THE COMMUNITY:
    👋 www.smarthomebeginner.com/go/...
    🌐 www.smarthomebeginner.com/
    FOLLOW US ON SOCIAL
    Get updates or reach out to Get updates on our Social Media Profiles!
    👥 Twitter: / anandslab
    👥 Facebook: / anandslab
    👥 Instagram: / smarthomebeginr
  • НаукаНаука

Комментарии • 30

  • @AnandsLab
    @AnandsLab  Месяц назад +1

    POST PUBLICATION NOTES:
    * There are multiple ways to perform step 2. The size of the partition can be expanded from within the Guest OS as well - described in the Proxmox documentation linked in the description.
    * What is shown in this video will work for all guest operating systems, the same way and is not guest OS dependent.
    * Decreasing the VM size is trickier/cumbersome and will be covered in a future video. Therefore, be careful while increasing the size.

  • @blueprint7
    @blueprint7 11 дней назад

    Thank you I was looking all over the internet for how to have my vm os recognize the boot resize in proxmox and this video finally did it.

  • @fourex59
    @fourex59 Месяц назад

    Anand, thanks! I didn’t even know that you could get into the bios of a virtual machine. It is amazing what I’m learning from your videos. I’m older now, but I used to have skills when I was younger and working, lol.

    • @AnandsLab
      @AnandsLab  Месяц назад

      Glad they are helpful!

  • @SteeleIT
    @SteeleIT Месяц назад +5

    +1 for proxmox backup server video!

    • @AnandsLab
      @AnandsLab  Месяц назад

      Yes. Its been a game changer for me.

  • @wizzbangtg
    @wizzbangtg Месяц назад +1

    Let's have a video for Proxmox Backup Server. Please.
    I had a similar situation going from 80GB to 120GB with the recover partition being in the way. I went with what I knew to work. Create a new VM and use CloneZilla to clone the disk on the source to the new destination, getting CloneZilla to increase the appropriate partition.
    This would be a good solution as well. I did not think of just removing the recovery partition. But you can also delete the recovery partition with DiskPart right from the running Windows Install.

    • @AnandsLab
      @AnandsLab  Месяц назад +1

      Yes, i will add PBS to the queue. CloneZilla is another way too. In fact, to the other way - reduce VM size, what you did the foolproof way.

  • @FunkoKoning
    @FunkoKoning 15 дней назад

    Great video! very informative. I would like to see how you mount an existing additional drive to a LXC as i am struggling with that at the moment. I have a drive with allot of movies on it and i want the new container to see that drive but i cannot get it to work

  • @richardfuller7506
    @richardfuller7506 Месяц назад

    Why not just use windows disk manager to extend the partition?
    +1 for backup server video

    • @AnandsLab
      @AnandsLab  Месяц назад

      You can do that as well as in the Proxmox documentation linked in the description.

  • @feitorimobile
    @feitorimobile Месяц назад

    Yes for proxmox backup server

  • @christoffbothma3905
    @christoffbothma3905 Месяц назад

    Why don you do a review on the v700

    • @AnandsLab
      @AnandsLab  Месяц назад

      Thanks. I will look into it.

  • @ewenchan1239
    @ewenchan1239 Месяц назад

    Stupid question -- how do you SHRINK a VM and/or CT disk size?

    • @AnandsLab
      @AnandsLab  Месяц назад +3

      It is not a stupid question. Shrinking, in my opinion, is the harder task. I will make a video on it at some point. But shrinking a VM disk will require you to create another disk of smaller size, then use the rescue cd and Clonezilla to clone the bigger one to smaller one. Delete the older one and use the new smaller disk. Phew! May be there is an easier way out there. But this is what has worked for me.

    • @ewenchan1239
      @ewenchan1239 Месяц назад

      ​@@AnandsLab
      You can't just use GParted to shrink the volume for the VM/CT in the same way that you're using GParted to increase the size???

    • @AnandsLab
      @AnandsLab  Месяц назад

      You can but it is very risky. If you don’t match the ends correctly, you could mess up your disk. Plus gparted will only shrink the partition. You have to do the shrinking on proxmox and match the exact size of the partition

    • @ewenchan1239
      @ewenchan1239 Месяц назад

      ​@@AnandsLab
      "If you don’t match the ends correctly"
      Can you expand a little bit more on this?
      I am not 100% sure that I understand what you mean by this.
      "You have to do the shrinking on proxmox and match the exact size of the partition"
      I don't suppose you know how to do this, would you?

    • @AnandsLab
      @AnandsLab  Месяц назад +1

      I leave this reference here for now as I have tons of things to do before put out a video on this: forum.proxmox.com/threads/decrease-a-vm-disk-size.122430/post-533255
      My twist to the above is, it is way easier to just create a new disk of lower size, attach it to the vm, boot into clonezilla, clone the bigger disk to the smaller disk, delete the bigger disk, and change VM boot order to use the new disk.

  • @cam_934
    @cam_934 Месяц назад

    Why can't this partition be expanded within windows itself after you allocated extra storage space with proxmox? OK recovery partition is in the way of C drive and Windows disk management doesn't do a shift but you could run gparted or minitools partition magic from within Windows. This seems like a major effort and if this is typical for Proxmox then yep I will avoid it.

    • @wizzbangtg
      @wizzbangtg Месяц назад

      Not typical for Proxmox. Although it is typical for Windows. But like you say, there are ways of removing the recovery partition directly with tools built into Windows. Also other solutions exist without removing the recovery partition.

    • @DeliberateGeek
      @DeliberateGeek Месяц назад

      Regardless - This is some good content. At the very least, it's a good reminder that you can't just change the Proxmox VM settings. You have to be sure to make properly configure the partitions in the guest OS.

    • @cam_934
      @cam_934 Месяц назад

      @@DeliberateGeek Regardless! so you have no idea if booting outside the OS is necessary as that's the point of the entire video so it's good content to waste people time with possible BS effort? Maybe stop being a fanboi and work out if all this effort was even required.

    • @AnandsLab
      @AnandsLab  Месяц назад +2

      No need to get aggressive. What @wizzbangtg proposed is another way too. But as mentioned, I tried to target both Windows and Linux guests. In addition, if you are already familiar with this approach it makes shrinking the size easier too.

    • @cam_934
      @cam_934 Месяц назад

      @@AnandsLab Lets be honast! this video was 100% unnessarry for Windows, if you are going to claim it was also for Linux users then show it for a linux OS. Though I suspect Gparted could have been installed if not already included and all done within Linux just like Windows.