Situation, I created a Debian 12 VM, so far so fine, it works
No I like to expand sda1 containing \
So I increased the VM disk from 16 Gb to 21 Gb, I can see the new size under Hardware
I can see the new unused space online and offline in gparted
But I cant add the new space to sda1.
Ok I understand the free space is at the end and there are sda2 and sd5 between
So I used gparted to offline move sda2 and sda5 to the end and make free space behind sda1, but gparted would not to
I tried everything from here https://pve.proxmox.com/wiki/Resize_disks, I did Google research for hours but found nothing new.
I tried the same on local-lvm, same game. Tried with a SUSE SLES 15. SP4 too (on ZFS)
The three are just quick test installations, the final target is to expand a 500 Gb Debian 11 VM I imported from ESXi.
Need some help or link to a working article/tutorial
Thank you
Sorry to have so many posts with questions but I am new to PROXMOX
No I like to expand sda1 containing \
So I increased the VM disk from 16 Gb to 21 Gb, I can see the new size under Hardware
I can see the new unused space online and offline in gparted
Code:
root@deb12:~# fdisk -l
Disk /dev/sda: 21 GiB, 22548578304 bytes, 44040192 sectors
Disk model: QEMU HARDDISK
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x0474cae2
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 2048 31553535 31551488 15G 83 Linux
/dev/sda2 31555582 33552383 1996802 975M 5 Extended
/dev/sda5 31555584 33552383 1996800 975M 82 Linux swap / Solari
But I cant add the new space to sda1.
Ok I understand the free space is at the end and there are sda2 and sd5 between
So I used gparted to offline move sda2 and sda5 to the end and make free space behind sda1, but gparted would not to
I tried everything from here https://pve.proxmox.com/wiki/Resize_disks, I did Google research for hours but found nothing new.
I tried the same on local-lvm, same game. Tried with a SUSE SLES 15. SP4 too (on ZFS)
The three are just quick test installations, the final target is to expand a 500 Gb Debian 11 VM I imported from ESXi.
Need some help or link to a working article/tutorial
Thank you
Sorry to have so many posts with questions but I am new to PROXMOX