<div>Just an added data point to follow up my earlier post - </div><div><br></div>Although the online re-size of the ploop-based disk CT fails, creating a CT with the desired disk size using "layout=ploop --diskspace=20000000:24000000" works.<div>
<br></div><div>Thanks for your work on this, hope to see it in PVC one day.</div><div><br></div><div>Joe<br><div><br><div class="gmail_quote">On Fri, Mar 23, 2012 at 11:27 AM, jjs - mainphrame <span dir="ltr"><<a href="mailto:jjs@mainphrame.com">jjs@mainphrame.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div>Running kernel 2.6.32-042stab053.3, vzctl-3.1 and ploop-1.1 on centos-6.2 32 bit, I created 2 similar vswap-256 CTs running debian-5.0-x86.</div>
<div><br></div><div>The only appreciable difference between the CTs is the layout: CT 777 is simfs, CT 779 is ploop</div>
<div><br></div><div>[root@mrmber conf]# for i in `vzlist -1`; do ech0 $i; vzctl exec $i df -T; done</div><div>777</div><div>Filesystem Type 1K-blocks Used Available Use% Mounted on</div><div>/dev/simfs simfs 2097152 376820 1720332 18% /</div>
<div>tmpfs tmpfs 131072 0 131072 0% /lib/init/rw</div><div>tmpfs tmpfs 131072 0 131072 0% /dev/shm</div><div>779</div><div>Filesystem Type 1K-blocks Used Available Use% Mounted on</div>
<div>/dev/ploop0p1 ext4 2268760 445756 1707756 21% /</div><div>tmpfs tmpfs 131072 0 131072 0% /lib/init/rw</div><div>tmpfs tmpfs 131072 0 131072 0% /dev/shm</div>
<div><br></div><div>We can successfully resize the simfs-based CT 777:</div><div><br></div><div>[root@mrmber conf]# vzctl set 777 --diskspace=20000000:24000000 --save</div><div>CT configuration saved to /etc/vz/conf/777.conf</div>
<div><br></div><div>But attempting to resize ploop-based CT 779 results in an error:</div><div><br></div><div>[root@mrmber conf]# vzctl set 779 --diskspace=20000000:24000000 --save</div><div>Can't ioctl mount_point: No such file or directory</div>
<div>Failed to resize image: Can't ioctl mount_point: No such file or directory [3]</div><div>CT configuration saved to /etc/vz/conf/779.conf</div><div><br></div><div>[root@mrmber conf]# for i in `vzlist -1`; do echo $i; vzctl exec $i df -T ; done</div>
<div>777</div><div>Filesystem Type 1K-blocks Used Available Use% Mounted on</div><div>/dev/simfs simfs 20000000 376820 18532204 2% /</div><div>tmpfs tmpfs 131072 0 131072 0% /lib/init/rw</div>
<div>tmpfs tmpfs 131072 0 131072 0% /dev/shm</div><div>779</div><div>Filesystem Type 1K-blocks Used Available Use% Mounted on</div><div>/dev/ploop0p1 ext4 2268760 445756 1707756 21% /</div>
<div>tmpfs tmpfs 131072 0 131072 0% /lib/init/rw</div><div>tmpfs tmpfs 131072 0 131072 0% /dev/shm</div><div>[root@mrmber conf]# </div><div><br></div><div>Any advice on where to look for more info? dmesg had nothing to say about it, and vzctl.log says only what the command reported above.</div>
<div><br></div><div>Regards,</div><div><br></div><div>Joe</div><div><br></div>
</blockquote></div><br></div></div>