OpenVZ不会创建容器错误“DISKINODES的值无效”

时间:2012-01-21 12:42:49

标签: linux containers openvz

请帮助我真的不知道为什么它不起作用,这是日志

顺便说一下,我正在使用SolusVM作为VPS管理器。我按照给定的指示做了一切,但没有为我工作。

我也在互联网上搜索找到解决方案,但根本没有希望:(

2012-01-22T02:32:02+0700 vzctl : CT 101 : Container config file does not exist
2012-01-22T02:32:32+0700 vzctl : CT 101 : WARNING: /etc/vz/conf/101.conf not found: No such file or directory
2012-01-22T02:32:32+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:32+0700 vzctl : CT 101 : Destroying container private area: /vz/private/101
2012-01-22T02:32:32+0700 vzctl : CT 101 : Warning: failed to remove /vz/root/101: No such file or directory
2012-01-22T02:32:32+0700 vzctl : CT 101 : Container private area was destroyed
2012-01-22T02:32:43+0700 vzctl : CT 101 : Warning at /etc/vz/conf/ve-basic.conf-sample:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:43+0700 vzctl : CT 101 : Creating container private area (centos-5.0-x86)
2012-01-22T02:32:49+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:49+0700 vzctl : CT 101 : Container is not running
2012-01-22T02:32:49+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:49+0700 vzctl : CT 101 : Container is not running
2012-01-22T02:32:54+0700 vzctl : CT 101 : Performing postcreate actions
2012-01-22T02:32:54+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:54+0700 vzctl : CT 101 : Container private area was created
2012-01-22T02:32:54+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:54+0700 vzctl : CT 101 : Restarting container
2012-01-22T02:32:54+0700 vzctl : CT 101 : Starting container ...
2012-01-22T02:32:54+0700 vzctl : CT 101 : Container is mounted
2012-01-22T02:32:54+0700 vzctl : CT 101 : Setting CPU units: 1000
2012-01-22T02:32:54+0700 vzctl : CT 101 : Container start in progress...
2012-01-22T02:32:54+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:54+0700 vzctl : CT 101 : Adding IP address(es): 103.2.115.120
2012-01-22T02:32:56+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:56+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:56+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:56+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:56+0700 vzctl : CT 101 : UB limits were set successfully
2012-01-22T02:32:56+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:56+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:56+0700 vzctl : CT 101 : UB limits were set successfully
2012-01-22T02:32:56+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:56+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:56+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:56+0700 vzctl : CT 101 : Bad parameter for --diskspace: 21474836480K:21474836480K
2012-01-22T02:32:56+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:56+0700 vzctl : CT 101 : Unable to turn on second-level disk quota on a running container
2012-01-22T02:32:56+0700 vzctl : CT 101 : WARNING: Some of the parameters could not be applied to a running container.
    Please consider using --setmode option
2012-01-22T02:32:56+0700 vzctl : CT 101 : Unable to apply new quota values: ugid quota not initialized
2012-01-22T02:32:56+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:56+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:56+0700 vzctl : CT 101 : UB limits were set successfully
2012-01-22T02:32:56+0700 vzctl : CT 101 : Setting CPU limit: 400
2012-01-22T02:32:56+0700 vzctl : CT 101 : Setting CPU units: 10000
2012-01-22T02:32:56+0700 vzctl : CT 101 : Setting CPUs: 4
2012-01-22T02:32:56+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:56+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:56+0700 vzctl : CT 101 : UB limits were set successfully
2012-01-22T02:32:56+0700 vzctl : CT 101 : CT configuration saved to /etc/vz/conf/101.conf
2012-01-22T02:32:56+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped
2012-01-22T02:32:56+0700 vzctl : CT 101 : Restarting container
2012-01-22T02:32:56+0700 vzctl : CT 101 : Stopping container ...

1 个答案:

答案 0 :(得分:1)

2012-01-22T02:32:54+0700 vzctl : CT 101 : Warning at /etc/vz/conf/101.conf:43: invalid value for DISKINODES ("20000000000:20000000000"), skipped

20.000.000.000,这对于inode来说是一个相当高的价值,我最好的猜测是你的主机甚至没有那么多可用的inode传递给容器。从一个像300.000这样的sain号码开始,看看你是否可以用它启动VPS。