HostOnNet Blog

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

Looking for Linux Server Admin or WordPress Expert? We can help.

500px-OpenVZ_complete_logo_vertical

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

Posted in Virtualization

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.