Re: [libvirt] failed to mount cgroup

2013-03-13 Thread Yin Olivia-R63875
1 1 Best Regards, Olivia > -Original Message- > From: Gao feng [mailto:gaof...@cn.fujitsu.com] > Sent: Thursday, March 07, 2013 4:58 PM > To: Yin Olivia-R63875 > Cc: libvir-list@redhat.com > Subject: Re: [libvirt] failed to mount cgroup > > On 2013/03/07 16:45,

Re: [libvirt] failed to mount cgroup

2013-03-08 Thread Yin Olivia-R63875
Thanks, It works now. Best Regards, Olivia > -Original Message- > From: Gao feng [mailto:gaof...@cn.fujitsu.com] > Sent: Thursday, March 07, 2013 4:58 PM > To: Yin Olivia-R63875 > Cc: libvir-list@redhat.com > Subject: Re: [libvirt] failed to mount cgroup > >

Re: [libvirt] failed to mount cgroup

2013-03-07 Thread unicell
On Tue, Mar 5, 2013 at 5:48 PM, Hu Tao wrote: > On Tue, Mar 05, 2013 at 05:29:02PM +0800, Gao feng wrote: > > On 2013/03/05 14:43, Yin Olivia-R63875 wrote: > > > Hi, > > > > > > I tried to run libvirt-1.0.2 with LXC as below, but it failed to mount > cgroup. > > > > > > > You should change your c

Re: [libvirt] failed to mount cgroup

2013-03-07 Thread Gao feng
On 2013/03/07 16:45, Yin Olivia-R63875 wrote: > cgroup on /sys/fs/cgroup type cgroup > (rw,relatime,freezer,devices,memory,cpuacct,cpuset) If you prefer to mount these subsystems together. you should try below steps: mkdir /sys/fs/cgroup/freezer,devices,memory,cpuacct,cpuset mount -t cgroup -of

Re: [libvirt] failed to mount cgroup

2013-03-07 Thread Yin Olivia-R63875
Regards, Olivia > -Original Message- > From: Gao feng [mailto:gaof...@cn.fujitsu.com] > Sent: Tuesday, March 05, 2013 5:29 PM > To: Yin Olivia-R63875 > Cc: libvir-list@redhat.com > Subject: Re: [libvirt] failed to mount cgroup > > On 2013/03/05 14:43, Yin Olivia-R6387

Re: [libvirt] failed to mount cgroup

2013-03-05 Thread Gao feng
On 2013/03/05 17:48, Hu Tao wrote: > On Tue, Mar 05, 2013 at 05:29:02PM +0800, Gao feng wrote: >> On 2013/03/05 14:43, Yin Olivia-R63875 wrote: >>> Hi, >>> >>> I tried to run libvirt-1.0.2 with LXC as below, but it failed to mount >>> cgroup. >>> >> >> You should change your cgroup configuration a

Re: [libvirt] failed to mount cgroup

2013-03-05 Thread Hu Tao
On Tue, Mar 05, 2013 at 05:29:02PM +0800, Gao feng wrote: > On 2013/03/05 14:43, Yin Olivia-R63875 wrote: > > Hi, > > > > I tried to run libvirt-1.0.2 with LXC as below, but it failed to mount > > cgroup. > > > > You should change your cgroup configuration as below > cgroup on /sys/fs/cgroup/cp

Re: [libvirt] failed to mount cgroup

2013-03-05 Thread Gao feng
On 2013/03/05 14:43, Yin Olivia-R63875 wrote: > Hi, > > I tried to run libvirt-1.0.2 with LXC as below, but it failed to mount cgroup. > You should change your cgroup configuration as below cgroup on /sys/fs/cgroup/cpuset type cgroup (rw,nosuid,nodev,noexec,relatime,cpuset) cgroup on /sys/fs/cg

[libvirt] failed to mount cgroup

2013-03-04 Thread Yin Olivia-R63875
Hi, I tried to run libvirt-1.0.2 with LXC as below, but it failed to mount cgroup. 1). mount /cgroup # mkdir /cgroup # mount -t cgroup cgroup /cgroup # vi vm1.xml vm1 32768 exe /bin/sh 1 destroy restart destroy /usr/libexec/libvirt_lxc