OpenVZ - 无法获取 ploop 统计信息:没有此进程

OpenVZ - 无法获取 ploop 统计信息:没有此进程

有人能帮忙吗?我甚至无法创建模板缓存或任何东西。一切都失败,出现“ploop”错误。Ploop 已安装并可直接运行。

这是 OpenVZ 7。

[root@virt1 ~]# vzpkg create cache ubuntu-22.04-x86_64
Creating OS template cache for ubuntu-22.04-x86_64 template
The operation has completed successfully.
mke2fs 1.42.9 (28-Dec-2013)
Discarding device blocks: done                            
Filesystem label=
OS type: Linux
Block size=4096 (log=2)
Fragment size=4096 (log=2)
Stride=128 blocks, Stripe width=256 blocks
655360 inodes, 2620928 blocks
131046 blocks (5.00%) reserved for the super user
First data block=0
Maximum filesystem blocks=2151677952
80 block groups
32768 blocks per group, 32768 fragments per group
8192 inodes per group
Superblock backups stored on blocks: 
    32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632

Allocating group tables: done                            
Writing inode tables: done                            
Creating journal (32768 blocks): done
Writing superblocks and filesystem accounting information: done 

tune2fs 1.42.9 (28-Dec-2013)
Setting maximal mount count to -1
Setting error behavior to 2
Setting interval between checks to 0 seconds
mv: cannot stat ‘bin/*’: No such file or directory
mv: cannot stat ‘lib/*’: No such file or directory
mv: cannot stat ‘libx32/*’: No such file or directory
mv: cannot stat ‘lib32/*’: No such file or directory
mv: cannot stat ‘lib64/*’: No such file or directory
Error: Failed to get ploop stats: No such process
E: Unable to determine a suitable packaging system type
Error: /usr/bin/apt-get failed, exitcode=100
Error: Failed to get ploop stats: No such process
Error: Failed to umount ploop image /vz/tmp//vzpkg.hkYSkv/cache-private/root.hdd: Error in ploop_umount_image (ploop.c:2817): Image /vz/tmp/vzpkg.hkYSkv/cache-private/root.hdd/root.hds is not mounted 40

答案1

今天,我在安装带有 debian-12 容器的新 openVz 裸机服务器时遇到了类似的问题。就我而言,我不得不从 OpenVZ 版本 7.0 降级。21 至 OpenVZ 版本 7.0。20,之后就完全没有问题了。

您还可以检查这些内容:

  1. 您的系统上有模板(应该在 /vz/template/ubuntu/22 并出现在给出的列表中vzpkg list -O),如果没有,请尝试通过此处添加它vzpkg install template ubuntu-22.04-x86_64(就我而言,让它工作是完全不可能的,我已在这里投降并降级)此部分的文档来源:https://docs.openvz.org/openvz_users_guide.webhelp/_updating_ez_templates.html
  2. 如果您无法更新它并且比我更有效率,您可以在这里找到 ubuntu-22 模板:https://download.openvz.org/virtuozzo/releases/7.0/x86_64/os/Packages/u/

你也许可以通过以下方式得到提示:

  1. /var/log/ploop.log 因为错误中提到了它。

祝你好运

相关内容