Re: [Users] openvz container migration

2012-01-27 Thread Andrew Vagin
On 12/22/2011 07:04 AM, Tommy wrote: hi all I'm doing sth on openvz migration and want to skip the sync time I put the container's private area on the share storge which both the src node and the des node can access. then I modify the vzmigrate script simply. I skip the sync part, umount the p

Re: [Users] howto device by-id

2012-03-12 Thread Andrew Vagin
On 02/02/2012 06:29 PM, lxnf9...@gmail.com wrote: How do I pass a device to a VE using the by-id link # vzctl set 3261 --devnodes /dev/tape/by-id/scsi-200900de606413000:rw Bad parameter for --devnodes: /dev/tape/by-id/scsi-200900de606413000:rw You should cut "/dev/": vzctl set 3261 --devnodes t

Re: [Users] sync in container

2012-03-13 Thread Andrew Vagin
On 02/02/2012 08:56 AM, Maoke wrote: hi all, we found sync in container may cause high disk I/O load (not able to supress it even with blkio throttle settings). Yes, it's known issue and it's, because all containers use one file system. Below you can find a few workarounds of this problem: * Y

Re: [Users] Re: cat: /proc/self/mountinfo: Cannot allocate memory

2012-03-13 Thread Andrew Vagin
Hello Benjamin, Pls, file this bug in https://bugzilla.openvz.org/ On 02/14/2012 03:07 PM, Benjamin Henrion wrote: On Tue, Feb 14, 2012 at 11:48 AM, Benjamin Henrion wrote: On Tue, Feb 14, 2012 at 11:29 AM, Benjamin Henrion wrote: On Tue, Feb 14, 2012 at 11:26 AM, Benjamin Henrion wrote:

Re: [Users] Re: cat: /proc/self/mountinfo: Cannot allocate memory

2012-03-13 Thread Andrew Vagin
Hello again This bug is fixed in latest OpenVZ RHEL6 kernel. Actually RHEL6 kernel is fully supported by OpenVZ team now, it has better performance and a few new features like vswap. Enjoy. [root@dhcp-10-30-22-214 /]# cat /proc/self/mountinfo 33 26 0:21 /private/101 / rw,relatime - simfs /vz/

Re: [Users] Re: cat: /proc/self/mountinfo: Cannot allocate memory

2012-03-13 Thread Andrew Vagin
On 03/13/2012 01:09 PM, Benjamin Henrion wrote: 2012/3/13 Andrew Vagin: Hello again This bug is fixed in latest OpenVZ RHEL6 kernel. Actually RHEL6 kernel is fully supported by OpenVZ team now, it has better performance and a few new features like vswap. Enjoy. [root@dhcp-10-30-22-214 /]# cat

Re: [Users] Re: cat: /proc/self/mountinfo: Cannot allocate memory

2012-03-13 Thread Andrew Vagin
Is this patch published somewhere in the GIT? It's published, but it's not in GIT. You can find this code in source rpms: http://download.openvz.org/kernel/branches/rhel6-2.6.32/042stab049.6/vzkernel-2.6.32-042stab049.6.src.rpm ___ Users mailing list

Re: [Users] Re: cat: /proc/self/mountinfo: Cannot allocate memory

2012-03-14 Thread Andrew Vagin
On 03/13/2012 02:42 PM, Aleksandar Ivanisevic wrote: Andrew Vagin writes: Hello again This bug is fixed in latest OpenVZ RHEL6 kernel. Actually RHEL6 kernel is fully supported by OpenVZ team now, it has better performance and a few new features like vswap. Enjoy. I see that http

Re: [Users] Outbound networking failure

2012-03-14 Thread Andrew Vagin
2.6.18-194.3.1.el5.028stab069.6xen is a very old version. Could you update it? On 03/14/2012 10:28 AM, Maoke wrote: sorry if this is more of a Xen problem. we are running openvz in Xen PVs (kernel 2.6.18-194.3.1.el5.028stab069.6xen), and occasionally the network of a PV, as well as the PV's

Re: [Users] Outbound networking failure

2012-03-14 Thread Andrew Vagin
http://download.openvz.org/kernel/branches/rhel5-2.6.18/stable/ This issue may be already fixed. - maoke 2012/3/14 Andrew Vagin <mailto:ava...@parallels.com>> 2.6.18-194.3.1.el5.028stab069.6xen is a very old version. Could you update it? On 03/14/2012 10:28 AM, Maoke wrote:

Re: [Users] Processes in D state when vzctl chkpnt suspend

2012-03-21 Thread Andrew Vagin
On 03/20/2012 08:44 PM, Stoyan Stoyanov wrote: Hi, I have an issue when trying vzbackups that happens randomly. The issue is with the vzctl chkpnt veid --suspend . what happens is , all ve's process goes into D states. no logs on dmesg or anywhere on the node system in the container itself. As

Re: [Users] IO usage stat within containers

2012-03-21 Thread Andrew Vagin
On 03/18/2012 08:17 PM, Nilesh Bairagi wrote: Hello, I am trying to get IO stat for each container. Like read requests, writes requests, %cpu utilized for IO etc. The command iostat -d, works but does not print any values. Does anybody have any idea how to get such values (similar to iostat). It

Re: [Users] Hornet Queue (jboss) vs sever resource shortage

2012-03-22 Thread Andrew Vagin
Which kernel do you use? Could you show content of /proc/bc/CTID/resources? On 03/22/2012 04:08 PM, Dariush Pietrzak wrote: Hello, we have encountered a very strange behaviour of HornetQueue, running it inside vz results in: bash: fork: Cannot allocate memory or xmalloc: cannot allocate

Re: [Users] Hornet Queue (jboss) vs sever resource shortage

2012-03-23 Thread Andrew Vagin
On 03/22/2012 06:28 PM, Dariush Pietrzak wrote: (as you can see I tried limiting some of the resources, when it was first noticed, everything was unlimited:unlimited except physpages which is at 16G, and swap which was set to 0.) When the hornetq is stopped inside container, HN returns back to

Re: [Users] ploop utility - download where?

2012-09-02 Thread Andrew Vagin
On Sun, Sep 02, 2012 at 09:18:13AM +0400, Rene C. wrote: > http://wiki.openvz.org/Ploop/readme shows the use of a ploop command - > but it doesn't exist on my server and a "yum search ploop" comes up > blank. (I do have the vz repo configured). > > Is it beta software? If not why isn't it in the r

Re: [Users] Docs to understand how OpenVZ is implemented.

2012-09-07 Thread Andrew Vagin
On Fri, Sep 07, 2012 at 05:17:28PM +0400, Kentaro Ebisawa wrote: > Hi, > > Are there any documents/blogs/books I should read to understand how OpenVZ is > implemented? > I went over http://wiki.openvz.org/Main_Page , searched Google but could not > find details. > > I'm especially interested in

Re: [Users] vzquota uses too much(?) time

2012-10-30 Thread Andrew Vagin
On Mon, Oct 29, 2012 at 05:07:01PM +0400, Christer Solskogen wrote: > When creating a guest/vps/container vzquota uses too much time on my > system. About 30 seconds to turn it off(?) - Is that normal? > When I comment out the disk quota stuff from the config file, it will > just take about 3-4 s

Re: [Users] fib6_clean_all: NULL exec env (table->owner_env)

2013-01-26 Thread Andrew Vagin
Hello Acton, 2.6.32-5-openvz-amd64 is out of date. Currently only two branches 2.6.18-028stab* and 2.6.32-042 stab* are officially supported by the OpenVZ team. You can follow the instructions from here: http://wiki.openvz.org/Installation_on_Debian and install the last stable kernel http://open

Re: [Users] Backing up ploop-based containers

2013-03-21 Thread Andrew Vagin
On Thu, Mar 21, 2013 at 08:45:48PM +0100, Toke Høiland-Jørgensen wrote: > Hi > > I am looking to experiment with ploop-based containers, and am trying to > figure out how to implement backups. I currently have a backup solution > consisting of vzdump combined with an rdiff-based offsite storage of

Re: [Users] Mounting a cgroup namesapce (special device cgroup does not exist)

2013-04-01 Thread Andrew Vagin
On Sun, Mar 31, 2013 at 06:51:28AM +0300, David Shwatrz wrote: > Hello all, > > How should I mount a cgroup namesapce ? > Following this link I tried: Where is a link? > > mount -t cgroup -ons cgroup /cgroup I could not find "ns" in the mainstream kernel. > > But I got: > mount: special devi

Re: [Users] Mounting a cgroup namesapce (special device cgroup does not exist)

2013-04-01 Thread Andrew Vagin
On Sun, Mar 31, 2013 at 10:50:51AM +0300, David Shwatrz wrote: > Hi, > I appreciate if somebody who has Fedora 18 (or maybe other distro with > support to cgroups) will try mounting namespaces (with mount -t cgroup > -ons .) and report upon success/failure. I believe this should > work. ns_cgr

Re: [Users] Beancounters, cgroup and writes

2013-10-28 Thread Andrew Vagin
On Thu, Oct 17, 2013 at 05:02:59PM -0400, Mark J. wrote: > Noticing that the write counter is not incrementing in the beancounter file, > nor is it allowing the cgroups to limit the writes either (guessing since the > counter isn't changing the cgroup isn't being applied since its not seeing a >

Re: [Users] vzctl compact fails to compact container, what can i do

2013-12-21 Thread Andrew Vagin
On Sat, Dec 21, 2013 at 09:08:43PM +0700, Rene C. wrote: > We have a container that needs moving to another hardware node, but a > vzpbackup of it is 250G. > > Within the container only 1.9G is used: > > /dev/ploop33244p1 393G 1.9G 371G 1% / > > Tried running a vzctl compact but it just sho

Re: [Users] vzctl compact fails to compact container, what can i do

2013-12-23 Thread Andrew Vagin
f a file system spreads blocks far from each other, it can freeze much more space in ploop image. We know this problem and going to fix it in a near future. > > On Sat, Dec 21, 2013 at 11:13 PM, Andrew Vagin wrote: > > On Sat, Dec 21, 2013 at 09:08:43PM +0700, Rene C. wrote: > &g

Re: [Users] Kernel panic on restore

2014-03-26 Thread Andrew Vagin
Hello Roman, Could you file a bug to bugzilla.openvz.org and assign it to me? Thanks. On Wed, Mar 26, 2014 at 05:35:55PM +0100, Roman Haefeli wrote: > Hi all > > I happened to be able to crash one hostnode of our testing cluster when > restoring a CT. > > Hostnodes: > * 3 hostnodes running Deb

Re: [Users] problems with sparse errors with ploop

2014-04-10 Thread Andrew Vagin
Hello Rene, How often do you see such errors? Did you move this image? Which version of the ploop package do you use? On Wed, Apr 09, 2014 at 02:51:47PM +0700, Rene C. wrote: > no takers? > > On Mon, Apr 7, 2014 at 10:33 AM, Rene C. wrote: > > Suddenly getting these errors. What can I do to

Re: [Users] Container Live Clone

2014-04-10 Thread Andrew Vagin
On Wed, Apr 09, 2014 at 02:14:30AM -0400, Nipun Arora wrote: > Hi, > > I am looking for a functionality similar to "Live Clone"... > > i.e. I would like to clone an existing running container, such that the clone > is a copy of the original. > > This would be similar to something like live migra

Re: [Users] Question About /proc file system in VMs.

2011-08-02 Thread Andrew Vagin
On 08/03/2011 03:42 AM, shule ney wrote: *Hi, all:* *I'm wondering if I can write and execute virtual file system like /proc in OpenVz VMs. For example , write a module to check the incoming traffic rate of this VM and show it in this VM's /proc as a file. I know different VMs share one kernel

Re: [Users] Question About /proc file system in VMs.

2011-08-02 Thread Andrew Vagin
On 08/03/2011 03:42 AM, shule ney wrote: *Hi, all:* *I'm wondering if I can write and execute virtual file system like /proc in OpenVz VMs. For example , write a module to check the incoming traffic rate of this VM and show it in this VM's /proc as a file. I know different VMs share one kernel