<div>Hi Kir,</div><div><br></div><div><div>[root@mrmber ~]# uname -a</div><div>Linux <a href="http://mrmber.mainphrame.net">mrmber.mainphrame.net</a> 2.6.32-042stab052.8 #1 SMP Wed Mar 14 16:02:48 MSK 2012 i686 i686 i386 GNU/Linux</div>
</div><div><br></div><div>There was no dmesg content generated by the attempt to create the CT with ploop layout; /var/log/vzctl.log contained only this:</div><div><br></div><div>2012-03-22T17:01:46-0700 vzctl : CT 779 : Unable to get full ostemplate name for debian-5.0-x86</div>
<div>2012-03-22T17:01:46-0700 vzctl : CT 779 : Creating image: /vz/private/779.tmp/root.hdd/root.hdd size=2306867K</div><div>2012-03-22T17:01:46-0700 : PLOOP_IOC_ADD_DELTA /vz/private/779.tmp/root.hdd/root.hdd: Invalid argument</div>
<div>2012-03-22T17:01:46-0700 vzctl : CT 779 : Failed to create image: PLOOP_IOC_ADD_DELTA /vz/private/779.tmp/root.hdd/root.hdd: Invalid argument [3]</div><div>2012-03-22T17:01:46-0700 vzctl : CT 779 : Creation of container private area failed</div>
<div><br></div><div>Regards,</div><div><br></div><div>Joe</div><br><div class="gmail_quote">On Thu, Mar 22, 2012 at 12:26 PM, Kir Kolyshkin <span dir="ltr"><<a href="mailto:kir@openvz.org">kir@openvz.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On 03/22/2012 09:42 PM, jjs - mainphrame wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
My test platform is centos-6.2 32 bit. I had successfully created ploop-based containers when testing the ploop and vzctl from git last week. Today I installed the released ploop and vzctl rpms to test further.<br>
</blockquote>
<br></div>
Which kernel it is?<br>
<br>
Anything in dmesg output?<div class="HOEnZb"><div class="h5"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
When I issue a command to create a ploop-based container, vzctl is unable to complete the operation, exiting with errors:<br>
<br>
[root@mrmber ~]# vzctl create 777 --layout=ploop --config=vswap-256m --ostemplate=debian-5.0-x86<br>
Unable to get full ostemplate name for debian-5.0-x86<br>
Creating image: /vz/private/777.tmp/root.hdd/<u></u>root.hdd size=2306867K<br>
Creating delta /vz/private/777.tmp/root.hdd/<u></u>root.hdd bs=2048 size=4613734 sectors<br>
Storing /vz/private/777.tmp/root.hdd/<u></u>DiskDescriptor.xml<br>
Adding delta dev=/dev/ploop0 img=/vz/private/777.tmp/root.<u></u>hdd/root.hdd (rw)<br>
PLOOP_IOC_ADD_DELTA /vz/private/777.tmp/root.hdd/<u></u>root.hdd: Invalid argument<br>
Failed to create image: PLOOP_IOC_ADD_DELTA /vz/private/777.tmp/root.hdd/<u></u>root.hdd: Invalid argument [3]<br>
Creation of container private area failed<br>
[root@mrmber ~]#<br>
<br>
<br>
When I issue a command to create a container with the same parameters except using layout=simfs instead of ploop, vzctl succeeds:<br>
<br>
[root@mrmber ~]# vzctl create 777 --layout=simfs --config=vswap-256m --ostemplate=debian-5.0-x86<br>
Unable to get full ostemplate name for debian-5.0-x86<br>
Creating container private area (debian-5.0-x86)<br>
Performing postcreate actions<br>
CT configuration saved to /etc/vz/conf/777.conf<br>
Container private area was created<br>
[root@mrmber ~]#<br>
<br>
Where should I be looking to solve this mystery?<br>
<br>
Regards,<br>
<br>
Joe<br>
<br>
</blockquote>
<br>
</div></div></blockquote></div><br>