I am trying to move a container to a new number on the same server and I don't understand the command. The bottom line is that I don't understand the instructions. I simply want to move 101 to 1001 using Virtuozzo 4. I appreciate any help. Thank you in advance.
I don't understand /my_dir and /ct111 because ct111 is not how the node is referenced. It is referenced as /vz/private/101 or /vz/root/101
Moving Container Within Hardware Node
The vzmlocal utility allows you to move Containers within your Hardware Node. Moving a Container within one and the same Hardware Node consists in changing the Container ID and its private area and root paths. So, you may use vzmlocal to change the ID of the corresponding Container only or to additionally modify its private area and root path.
Let us assume that you wish to change the ID of your Container from 101 to 111 and modify its private area and root paths from /vz/private/101 to /vz/private[b]/my_dir[/b] and from /vz/root/101 to /vz/root[b]/ct111[/b], respectively. To this effect, you should execute the following command on the Hardware Node:
# vzmlocal 101:111:/vz/private/my_dir:/vz/root/ct111
Moving/copying Container#101 -> Container#111,
[/vz/private/my_dir], [/vz/root/ct111] ...
[root@hw006 ~]# vzmlocal 101:1001:/vz/private/101:/vz/root/1001
Moving/copying CT#101 -> CT#1001, [/vz/private/101], [/vz/root/1001] ...
OfflineManagement CT#101 ...
Stopping CT#101 ...
vzctl : Failed to run vzquota off for Container 101 
/usr/sbin/vzctl exited with code 66
can not stop/umount CT#101 : /usr/sbin/vzctl exited with code 66
Can't move/copy CT#101 -> CT#1001, [/vz/private/101], [/vz/root/1001] : can not stop/umount CT#101 : /usr/sbin/vzctl exited with code 66