记录日常工作关于系统运维,虚拟化云计算,数据库,网络安全等各方面问题。

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 ~]# 


转载请标明出处【OpenVZ VPS Creation Error – The ploop image can not be used on ext3 or ext4】。

《www.micoder.cc》 虚拟化云计算,系统运维,安全技术服务.

网站已经关闭评论