Hi Kir,<div><br></div><div>In trying to duplicate the problem with a newly created CT, I found that resize is working as expected. It may be that I was using a CT created with the earlier version of vzctl and ploop installed. I'll chalk it up to senile dementia and keep testing, thanks for the sanity check.</div>
<div><br></div><div>Joe<br><br><div class="gmail_quote">On Fri, Mar 23, 2012 at 1:47 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/23/2012 10:27 PM, jjs - mainphrame wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
We can successfully resize the simfs-based CT 777:<br>
<br>
[root@mrmber conf]# vzctl set 777 --diskspace=20000000:24000000 --save<br>
CT configuration saved to /etc/vz/conf/777.conf<br>
</blockquote>
<br></div>
For simfs case, this is not a real resize, but change of vzquota values. That is why you have two values for quota -- soft and hard (and --quotatime to set a grace period).<div class="im"><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
But attempting to resize ploop-based CT 779 results in an error:<br>
<br>
[root@mrmber conf]# vzctl set 779 --diskspace=20000000:24000000 --save<br>
</blockquote>
<br></div>
This is irrelevant to the bug report, but just in case:<br>
1 there's no need to specify two values for ploop disk size<br>
2 you can use suffixes (like --diskspace 24G).<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Can't ioctl mount_point: No such file or directory<br>
Failed to resize image: Can't ioctl mount_point: No such file or directory [3]<br>
</blockquote>
<br></div>
This means ploop can't find the balloon file. That's pretty strange.<br>
<br>
1 Have you created this CT using the same version of vzctl and ploop?<br>
2 Do you have anything strange in dmesg?<br>
3 Are you able to stop/start/mount/umount this CT?<br>
<br>
In the meantime, I have tried to do the same as you did on my box (running the same version of kernel, vzctl, and ploop):<br>
<br>
[root@dhcp-10-30-21-127 ~]# vzctl set 200 --diskspace=20000000:24000000 --save<br>
Growing dev=/dev/ploop0 size=4613734 sectors (new size=48000000)<br>
Storing GPT<br>
Executing: /sbin/resize2fs -p /dev/ploop0p1<br>
resize2fs 1.41.12 (17-May-2010)<br>
Filesystem at /dev/ploop0p1 is mounted on /vz/root/200; on-line resizing required<br>
old desc_blocks = 1, new_desc_blocks = 2<br>
Performing an on-line resize of /dev/ploop0p1 to 5999739 (4k) blocks.<br>
The filesystem on /dev/ploop0p1 is now 5999739 blocks long.<br>
<br>
Executing: /sbin/tune2fs -r 300000 /dev/ploop0p1<br>
tune2fs 1.41.12 (17-May-2010)<br>
Setting reserved blocks count to 300000<br>
CT configuration saved to /etc/vz/conf/200.conf<br>
[root@dhcp-10-30-21-127 ~]# vzctl exec 200 df -h<br>
Filesystem Size Used Avail Use% Mounted on<br>
/dev/ploop0p1 23G 674M 21G 4% /<div class="im"><br>
<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
CT configuration saved to /etc/vz/conf/779.conf<br>
<br>
[root@mrmber conf]# for i in `vzlist -1`; do echo $i; vzctl exec $i df -T ; done<br>
777<br>
Filesystem Type 1K-blocks Used Available Use% Mounted on<br>
/dev/simfs simfs 20000000 376820 18532204 2% /<br>
tmpfs tmpfs 131072 0 131072 0% /lib/init/rw<br>
tmpfs tmpfs 131072 0 131072 0% /dev/shm<br>
779<br>
Filesystem Type 1K-blocks Used Available Use% Mounted on<br>
/dev/ploop0p1 ext4 2268760 445756 1707756 21% /<br>
tmpfs tmpfs 131072 0 131072 0% /lib/init/rw<br>
tmpfs tmpfs 131072 0 131072 0% /dev/shm<br>
[root@mrmber conf]#<br>
<br>
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.<br>
<br>
Regards,<br>
<br>
Joe<br>
<br>
</blockquote>
<br></div>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@openvz.org" target="_blank">Users@openvz.org</a><br>
<a href="https://openvz.org/mailman/listinfo/users" target="_blank">https://openvz.org/mailman/<u></u>listinfo/users</a><br>
</blockquote></div><br></div>