M
M
Michael2021-05-27 16:18:28
linux
Michael, 2021-05-27 16:18:28

How to correctly increase the disk size for a VM in Proxmox?

The situation is this, there is a proxy, it has a VM with onlyoffice, which gobbled up all 72 gigabytes of the allocated disk space.
I moved it from ssd to hdd disk (in the same machine, just migrated) and gave the disk size 100 gigs.
But.. The VM still sees the previous 72 gigabytes..
How to do it right so that the VM on Linux (not a container, but a full-fledged tench) sees and applies the new disk size?
Proxy disks in qcow2 Tnx
format

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Andrey Barbolin, 2021-05-27
@dronmaxman

https://partners-intl.aliyun.com/help/doc-detail/2...
This is for the general case. If you have LVM or xfs there, then you need a different disk expansion scheme.
It's really strange that he ate so much space. Can I see the output?
sudo du -sh /*

P
Puma Thailand, 2021-05-27
@opium

resize2fs usually do

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question