[lxc-users] Linux containers network bandwidth

2014-07-04 Thread Divya Vyas
Hi All, I am running multiple containers and I want to limit the network bandwidth. But I am not getting the desired output. Here is my method: 1) echo 0x1001 > /sys/fs/cgroup/lxc//net_cls.classid 2) tc qdisc add dev br0 root handle 10: htb 3) tc class add dev br0 parent 10: classid 10:1 ht

[lxc-users] Fwd: Linux container network bandwidth

2014-07-09 Thread Divya Vyas
Hi All, I am running multiple containers and I want to limit the network bandwidth. But I am not getting the desired output. Here is my method: 1) echo 0x1001 > /sys/fs/cgroup/lxc//net_cls.classid 2) tc qdisc add dev br0 root handle 10: htb 3) tc class add dev br0 parent 10: classid 10:1 ht

[lxc-users] disk IO limit

2014-07-17 Thread Divya Vyas
Hi , I am using two containers on top of disk /dev/sda and I want to limit a disk IO write speed to 1 mb/sec of one of the containers. I gave this command -> echo "8:0 1048576" > /sys/fs/cgroup/blkio//lxc/vm5/blkio.throttle.write_bps_device But not getting the desired output. dd if=/dev/zero o

Re: [lxc-users] disk IO limit

2014-07-17 Thread Divya Vyas
Hi Fajar, Thanks for your reply . Can you please help me how can I test the assigned bandwidth? On Thu, Jul 17, 2014 at 1:54 PM, Fajar A. Nugraha wrote: > On Thu, Jul 17, 2014 at 3:18 PM, Divya Vyas wrote: > >> Hi , >> >> I am using two containers on top of disk /dev/

Re: [lxc-users] net_cls.classid in unprivileged container no effect

2014-07-25 Thread Divya Vyas
Hi, sudo tc class add dev vethx parent 1: classid 1:1 htb rate 10mbit Here you should give classid 10:2 as u are giving lxc-cgroup -n container net_cls.classid 0x00010002 . Does tc command work in unprivileged mode also ? On Mon, Jul 7, 2014 at 11:57 AM, Nguyễn Thành Long wrote: > Hi a

[lxc-users] Andriod container on ubuntu

2015-07-20 Thread Divya Vyas
Hi, I am looking for creating a andriod container on ubuntu host. Is there a template avaialble for android. From where can I take rootfs? Thanks, Divya ___ lxc-users mailing list lxc-users@lists.linuxcontainers.org http://lists.linuxcontainers.org/list

[lxc-users] lxc_log_init called with log already initialized - Lxc container reboot failing

2015-07-20 Thread Divya Vyas
- lxc_create.c:main:271 - Error creating container andr while If I dont give -W option, it gives that reboot not completed in timeout. While I manually stop and start again it is working fine. Let me know If you have any idea about this problem. Thanks, Divya Vyas

[lxc-users] Fwd: cgroup error in lxc-start

2015-07-28 Thread Divya Vyas
Hi, I am using lxc-1.0.7 and while lxc-start I am getting this error lxc/start.c: __lxc_start: 1080 failed to spawn 'vm0 lxc/cgfs.c: cgroup_rmdir: 207 Device or resource busy - cgroup_rmdir: failed to delete /cgroup/lxc/vm0 My mount output is : /dev/sda10 on / type ext4 (rw,relatime,data=order

[lxc-users] cgroup error in lxc-start

2015-07-28 Thread Divya Vyas
Hi, I am using lxc-1.0.7 and while lxc-start I am getting this error lxc/start.c: __lxc_start: 1080 failed to spawn 'vm0 lxc/cgfs.c: cgroup_rmdir: 207 Device or resource busy - cgroup_rmdir: failed to delete /cgroup/lxc/vm0 My mount output is : /dev/sda10 on / type ext4 (rw,relatime,data=order

Re: [lxc-users] Cannot delete container

2015-07-29 Thread Divya Vyas
lxc-destroy should do that On Wed, Jul 29, 2015 at 2:24 PM, Valerio Mariani wrote: > Dear All, > >I am trying to delete all containers from my system. If I type lxc > list, I see: > > vmariani@cfeld-valerio2:~/Downloads$ lxc list > +--+-+--+--+---+---+

Re: [lxc-users] Cannot delete container

2015-07-29 Thread Divya Vyas
15 11:14, Florian Leparoux wrote: > > And lxc-destroy -n centos\/6 ? > > > Le 29/07/2015 11:13, Valerio Mariani a écrit : > > Dear Divya, > >thank you for the suggestion. If I try: > > lxc-destroy -n centos/6 > > I get: > > Container is not defined >

[lxc-users] OpenWRT container on yocto based filesystem

2015-11-02 Thread Divya Vyas
Hi, I am trying to create a openWRT lxc container on a yocto based filesystem. Has any one any idea about openwrt template to create the container. Is it need ant kernel changes on host? Thanks, Divya ___ lxc-users mailing list lxc-users@lists.linuxcont

[lxc-users] Android lxc container on yocto

2015-11-15 Thread Divya Vyas
Hi, I am looking for running android lxc container on yocto based file system. First thing might be I need to make kernel changes to tun android in container. Has anybody tried this out? Thanks, Divya ___ lxc-users mailing list lxc-users@lists.linuxco

[lxc-users] Android lxc container on yocto

2015-11-18 Thread Divya Vyas
Hi, I am looking for running android lxc container on yocto based file system. First thing might be I need to make kernel changes to tun android in container. Has anybody tried this out? Thanks, Divya ___ lxc-users mailing list lxc-users@lists.linuxco

[lxc-users] How to pass wlan0 interface to container ( Container with wireless support)

2015-11-24 Thread Divya Vyas
Hi, I am creating a lxc container with this conf file lxc.rootfs = /home/root/rootfs lxc.devttydir = lxc lxc.tty = 4 lxc.pts = 1024 #lxc.network.type = veth lxc.network.flags = up # Bridge net on the host lxc.network.link = lxcbr0 # link name on the guest lxc.network.name = eth0 lxc.network.mt

[lxc-users] does lxc container virtualizes wireless card

2015-11-25 Thread Divya Vyas
Hi, I am not able to get wlan on my container iwconfig iwconfig lono wireless extensions. tunl0 no wireless extensions. eth0 no wireless extensions. tun0 no wireless extensions. ___ lxc-users mailing list lxc-users@lists.linuxc

Re: [lxc-users] does lxc container virtualizes wireless card

2015-11-25 Thread Divya Vyas
o use that on host machine > after this, and also u have to run lxc in privileged mode > On Nov 25, 2015 3:47 AM, "Divya Vyas" wrote: > >> Hi, >> >> I am not able to get wlan on my container >> >> iwconfig >> >> iwconfig >> lo

Re: [lxc-users] does lxc container virtualizes wireless card

2015-11-25 Thread Divya Vyas
Hi, Actually I am creating a container as wifi hotspot. So I want wlan interface to be there on container. I am not finding a way how to pass wlan0 to container. On Thu, Nov 26, 2015 at 10:03 AM, Luis Michael Ibarra < michael.iba...@gmail.com> wrote: > > > 2015-11-25 21:22 GMT-0

Re: [lxc-users] does lxc container virtualizes wireless card

2015-11-26 Thread Divya Vyas
lxc..network.type=phys passing wlan0 giving error, cannot move wlan0 On Thu, Nov 26, 2015 at 5:31 PM, Luis Michael Ibarra < michael.iba...@gmail.com> wrote: > > > 2015-11-26 0:29 GMT-05:00 Divya Vyas : > >> Hi, >> >> Actually I am creating a conta

[lxc-users] Add wlan0 to container fails

2015-11-29 Thread Divya Vyas
Hi, l am using lxc 1.1.4 and passing wlan0 to my container lxc-device -n vm0 -- add wlan0 -o log -l DEBUG lxc-device: lxc_device.c: main: 152 Failed to add wlan0 to vm0. log is not getting created to debug mode. iwconfig showing wlan0 . ___ lxc-user