Debian 13 vm - disk drive never expands #15294
Replies: 2 comments
-
|
This behavior is currently documented in the post-install steps under “Resize the Bootdisk” and “Expand VM Disk using parted”. We can consider improving the VM creation flow so the selected disk size and guest-side expansion are handled more conveniently. But this is in this Case Not a Bug, or Script issue. Its maybe an Task. |
Beta Was this translation helpful? Give feedback.
-
|
FWIW, I consider this to be unintuitive behavior, and would hope that improving this behavior is a task that's prioritized in the near term. Other community scripts I've experimented with (including the Debian 13 LXC container script) automatically ensure the disk is the size requested by the user. At the very least, a more prominent warning near the end of the script linking to the exact steps would be a major improvement. The "post-install" steps mentioned currently aren't obvious. The link to that page says:
I would not assume something this important (and mandatory) to be hidden under a link of "additional tips after installation". |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
✅ Have you read and understood the above guidelines?
Yes
🔎 Did you run the script with verbose mode enabled?
Yes, verbose mode was enabled and the output is included below
📜 What is the name of the script you are using?
Debian 13
📂 What was the exact command used to execute the script?
bash -c "$(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/vm/debian-13-vm.sh)"
⚙️ What settings are you using?
🖥️ Which Linux distribution are you using?
Debian 13
📈 Which Proxmox version are you on?
9
📝 Provide a clear and concise description of the issue.
After you install the VM, no matter what size disk drive you choose during creation, the partition is the same size as the image that the script uses to create the virtual machine.
It looks like it is supposed to be expanding the partition to fill whatever drive size you chose during creation but that never happens.
🔄 Steps to reproduce the issue.
Run the script and create a new VM.
Afterwards, df -h
You will notice that the partition has not filled the drive and most of the space is unusable. You will have to use gparted to manually expand the partition.
❌ Paste the full error output (if available).
There are no errors
🖼️ Additional context (optional).
No response
Beta Was this translation helpful? Give feedback.
All reactions