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
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
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
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/
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
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_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
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
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-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
> +--+-+--+--+---+---+
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
>
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
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
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
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
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
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
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
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
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
20 matches
Mail list logo