关于Proxmox磁盘迁移至LVM-Thin时停留在100%进度20分钟的疑问
Proxmox磁盘迁移至LVM-Thin时停留在100%进度20分钟的疑问
Hey there! Let me share what I’ve picked up from dealing with similar Proxmox migration scenarios—this stuck-at-100% thing is more common than you might think, and it’s usually just behind-the-scenes work that doesn’t update the progress bar.
Here’s what’s likely happening after the progress hits 100%:
- Old NFS disk cleanup & unbinding: It’s not just deleting a file. Proxmox has to safely unmount the old NFS disk from the VM, release any locks that might be holding onto it, and then trigger the deletion on the NFS server. If your NFS share has high latency or the server is under load, this step can drag on for minutes.
- LVM-Thin metadata sync & integrity check: LVM-Thin relies on metadata to track block allocations. Once the data copy finishes, Proxmox has to update this metadata to reflect the new disk, plus run a quick consistency check to make sure all the copied data is intact. This runs in the background, so the progress bar stays stuck at 100% while it completes.
- VM configuration updates: Proxmox needs to edit the VM’s config file to swap the disk source from the NFS path to the LVM-Thin volume, then reload the QEMU process to pick up the new config. If your host is busy with other VMs, this can take longer than expected.
If you want to see exactly what’s going on during that stuck period, try checking the real-time logs:
- Run
journalctl -u pvedaemon -fin the Proxmox shell to watch daemon activity - Or look at the specific task log in
/var/log/pve/tasks/—each migration gets a unique log file you can tail to see step-by-step progress
A couple quick checks to speed this up:
- Verify your NFS server’s network and disk performance—slow NFS responses are a common culprit here
- Check if your LVM-Thin pool has enough metadata space with
lvs -o+thin_pool_metadata_used_percent—if metadata is near full, syncs will slow to a crawl
备注:内容来源于stack exchange,提问作者BitMage
相关产品推荐
相关产品推荐

