Article ID: 121601, created on May 16, 2014, last review on Jun 17, 2016

  • Applies to:
  • Virtuozzo 6.0
  • Virtuozzo containers for Linux 4.7


Process of converting a VZFS4 container to the ploop format may fall due to the huge inodes limit. Here is an example of such error:

~]# vzctl convert 4132963 --velayout 5
Bind mount CT root to /vz/private/4132963/bind_mnt
Calculate disk usage...
Creating image: /vz/private/4132963/root.hdd/root.hds size=68719476720K
Failed to create image: Error in do_check_size (ploop.c:281): An incorrect block device size is specified: 137438953440 sectors. The maximum allowed size is 34359738368 sectors [38]
Failed to convert Container to the ploop layout


Inodes limit is too high for a problematic container. (The example below describes that the inodes limits, both softlimit and hardlimit, equal to 4294967295).

[root@ ~]# vzquota stat 4132963
   resource          usage       softlimit      hardlimit    grace
  1k-blocks        2899000        52428800       52428800
     inodes         256331      4294967295     4294967295            


The issue is fixed in scope of PSBM-26570 in Parallels Cloud Server 6.0 Update 8 (6.0.8-2536).

In case updates installation was postponed, to workaround the issue, reduce the inodes softlimit and hardlimit and re-try conversion.

NOTE: Pay attention to the current inodes so the limits value is not lower than the current inodes usage.

# vzctl set CT_ID --diskinodes NEW_SOFTLIMIT:NEW_HARDLIMIT -–save

Change CT_ID, NEW_SOFTLIMIT and NEW_HARDLIMIT with appropriate values.

Real life example:

# vzctl set 4132963 --diskinodes 1450000:1450000 -–save

Search Words

Error in do_check_size

An incorrect block device size is specified

Failed to resize image

Error in ploop_resize_image


VZFS4 to ploop

The maximum allowed size

e8e50b42231236b82df27684e7ec0beb 2897d76d56d2010f4e3a28f864d69223 d02f9caf3e11b191a38179103495106f c62e8726973f80975db0531f1ed5c6a2 0dd5b9380c7d4884d77587f3eb0fa8ef 0c05f0c76fec3dd785e9feafce1099a9

Email subscription for changes to this article
Save as PDF