PVE 中的 win 主机为什么无法备份?

273 天前
 Eaglemask

不管 win 主机是开机还是关机状态都不行, 下面是 log , 可能问题会在哪里?

INFO: starting new backup job: vzdump 888 --compress zstd --node datacenter --mode snapshot --storage local --remove 0 --notes-template '{{guestname}}' INFO: Starting Backup of VM 888 (qemu) INFO: Backup started at 2023-08-30 08:21:47 INFO: status = stopped INFO: backup mode: stop INFO: ionice priority: 7 INFO: VM Name: Win11-EN INFO: include disk 'virtio0' 'local-lvm:vm-888-disk-2' 600G INFO: include disk 'efidisk0' 'local-lvm:vm-888-disk-0' 4M INFO: include disk 'tpmstate0' 'local-lvm:vm-888-disk-1' 4M INFO: creating vzdump archive '/var/lib/vz/dump/vzdump-qemu-888-2023_08_30-08_21_47.vma.zst' INFO: starting kvm to execute backup task swtpm_setup: Not overwriting existing state file. INFO: attaching TPM drive to QEMU for backup INFO: started backup task '5f06b0fb-9ea3-4ca0-8dff-f7777be72d2d' INFO: 0% (775.8 MiB of 600.0 GiB) in 3s, read: 258.6 MiB/s, write: 227.9 MiB/s INFO: 1% (6.0 GiB of 600.0 GiB) in 31s, read: 192.8 MiB/s, write: 191.3 MiB/s zstd: error 25 : Write error : No space left on device (cannot write compressed block) INFO: 2% (12.3 GiB of 600.0 GiB) in 1m 1s, read: 212.8 MiB/s, write: 203.7 MiB/s ERROR: vma_queue_write: write error - Broken pipe INFO: aborting backup job INFO: stopping kvm after backup task trying to acquire lock... OK ERROR: Backup of VM 888 failed - vma_queue_write: write error - Broken pipe INFO: Failed at 2023-08-30 08:22:50 INFO: Backup job finished with errors TASK ERROR: job errors

1379 次点击
所在节点    程序员
7 条回复
Quarter
273 天前
看错误是没空间了😳
supertan
273 天前
Write error : No space left on device (cannot write compressed block)
Tink
273 天前
没空了
defunct9
273 天前
分区分错了把。
jayeli
273 天前
安装 PVE 的时候默认用了 LVM 分区,只显示 95.95GiB 这个是 lvm_root ,应该还有 lvm_swap 和 lvm_data 之类的。另外,备份时空间不足是因为只能备份到 lvm_root 。解决方案是安装的时候就考虑到分区的大小或者你先试试调整 lvm 分区大小。我自己是有两块盘,所以没这个问题。
Eaglemask
273 天前
@jayeli

@defunct9

按照这个教程扩容 pve-root, 用了几年 pve 了,今天才发现竟然还有 pve-root 容量限制这么个回事。

https://zhuanlan.zhihu.com/p/624319515?utm_id=0
busier
272 天前
@Eaglemask 明摆着是个 pve-root 是个 lvm 逻辑卷,好比普通分区,初始化肯定要指定一个分区大小,而并非什么容量限制!

你应该庆 pve 幸用了 lvm 逻辑卷,不然扩展容量会变得极为麻烦!

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://www.v2ex.com/t/969357

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX