虚拟化容器,大数据,DBA,中间件,监控。

OpenVZ VPS Creation Error – The ploop image can not be used on ext3 or ext4

16 10月
作者:admin|分类:容器虚拟化

OpenVZ VPS Creation Error – The ploop image can not be used on ext3 or ext4


When i create a VPS, i got error

[root@server70 ~]# vzctl create 102 --ostemplate ubuntu-14.04-x86_64
Creating image: /vz/private/102.tmp/root.hdd/root.hdd size=2306867K
Creating delta /vz/private/102.tmp/root.hdd/root.hdd bs=2048 size=4614144 sectors v2
Storing /vz/private/102.tmp/root.hdd/DiskDescriptor.xml
Error in check_mount_restrictions (ploop.c:1536): The ploop image can not be used on ext3 or ext4 file system without extents
Failed to create image: Error in check_mount_restrictions (ploop.c:1536): The ploop image can not be used on ext3 or ext4 file system without extents [21]
Destroying container private area: /vz/private/102
Creation of container private area failed
[root@server70 ~]#

This is because OpenVZ recently started using ploop image for OpenVZ virtual machines. To fix this, edit /etc/vz/vz.conf

vi /etc/vz/vz.conf

Find

#VE_LAYOUT=ploop

Replace With

VE_LAYOUT=simfs

Now you will be able to create VPS.

[root@server70 ~]# vzctl create 102 --ostemplate ubuntu-14.04-x86_64
Creating container private area (ubuntu-14.04-x86_64)
Performing postcreate actions
CT configuration saved to /etc/vz/conf/102.conf
Container private area was created
[root@server70 ~]# 
浏览2921 评论0
返回
目录
返回
首页
Install OpenVZ on your RHEL 6 (CentOS 6) Opnevz 安装OpenVZ Web Panel附中文包