惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

月光博客
月光博客
有赞技术团队
有赞技术团队
S
SegmentFault 最新的问题
宝玉的分享
宝玉的分享
量子位
小众软件
小众软件
The Cloudflare Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
大猫的无限游戏
大猫的无限游戏
C
Check Point Blog
G
Google Developers Blog
博客园 - 叶小钗
H
Help Net Security
Jina AI
Jina AI
Y
Y Combinator Blog
Last Week in AI
Last Week in AI
GbyAI
GbyAI
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Apple Machine Learning Research
Apple Machine Learning Research
MyScale Blog
MyScale Blog
T
Tailwind CSS Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Vercel News
Vercel News

Proxmox Support Forum

[SOLVED] - Github Auth for Mirrors-Kernel Repo? [Automation] Mass migration tool for MS Win11/Server Proxmox GUI hang - not response is it possible to reject or quarantine spam based on conditions I set ? The PVENode task list in PVE9 is partially obscured due to the terminal font being too large. About 100% error reporting due to pveproxy.service hooks Kubernetes overlay networking breaks when upgrading from PVE 9.1 to PVE 9.2.3 Zentraler Speicher No space left on device Combine datastore and direct file archival to tape Kernel panic VFS: Unable to mount root fs on unknown-block (0,0) sobald ein 7.x Kernel verwendet wird. How to migrate disk of a VM from one ZFS to another Windows Server 2025 fails to boot after PVE 9.2 / Linux 7.0 Kernel upgrade Cannot Install Proxmox on T610 Poweredge with H700 PERC card sdn Config. gateway not reachable How to safely change domain/FQDN? Welche Filterquote erreicht ihr? NFS Share status unknown on 2 of 5 nodes Can't connect to PVE9 consoles [solved] Can't connect to PVE9 consoles [solved] [SOLVED] - Use secondary network for PVE commands Created cluster, one node storage gone BUG: proxmox mail gateway FROM = null bypass spam filtering Moving existing PBS from VMWare workstation to PVE cluster Does eBGP SDN fabric support external peering? Bug: PDM 1.1 not recognizing valid license status Proxmox GUI hang - not response PVE crashes unexpectedly Proxmox Backup Server 4.2 released! Advice
Discard / Thin Provisioning
invalid@exam · 2026-06-21 · via Proxmox Support Forum

Hello, I was hoping that in 2026 there would be some kind of fix for this by now but I'm still not seeing one. Hopefully I'm just missing something.

Context: I have 4x PVE 9.1 nodes in a cluster. Each has local storage as local-lvm.

After live migrating a VM from one host to another. The disk becomes "thick" that is, if it's a 200GB disk, but only 10GB are used. The size of the virtual drive on the host disk expands to 200GB (No longer being "thin").

This can be resolved by enabling "discard" on the VM disk and performing an fstrim in the guest. However there are two issues with that.
1. If the VM has discard enabled, the live migration process absolutely thrashes the destination host. Causing high io load and freezing disk access for the most part for the other VMs on the destination host. If you disable discard on the disk, and do the same migration. This doesn't occur.
2. Enabling/Disabling discard requires a power down of the guest VM to apply. So the process becomes Migrate>Power Down VM>Enable Discard>Boot VM>Do fstrim>Power Down VM>Disable Discard>Boot VM. Which is a pretty painful process end-to-end. And has to be done after each host migration.

Besides some kind of shared storage (Ceph, a SAN..etc.) is there really no other option?

Last edited:

Thank you!

Yes. That option is already enabled. But if discard isn't enabled on the disk, the trim doesn't flow to the virtual disk on the host storage and remains "thick".

ZFS may be an option (Currently using RAID cards, so would need to convert to an HBA..etc). These migrations don't happen super often. So it's probably best that I just leave it. Just was hoping for a better solution!. Thank you for your reply!

Thank you!

Yes. That option is already enabled. But if discard isn't enabled on the disk, the trim doesn't flow to the virtual disk on the host storage and remains "thick".

ZFS may be an option (Currently using RAID cards, so would need to convert to an HBA..etc). These migrations don't happen super often. So it's probably best that I just leave it. Just was hoping for a better solution!. Thank you for your reply!

although not tested: lvm-vdo beneath the lvm-thin pool could be a solution ... it adds additional burden but for the zero block detection only -> compression and dedup can be disabled .... which helps performance