On Tue, Sep 24, 2013 at 03:07:11PM +0530, Aarti Sawant wrote: > i have create a system container test1 and trying to mount /dev/shm inside > a container > > <domain type='lxc'> > <name>test1</name> > <memory>102400</memory> > <os> > <type>exe</type> > <init>/sbin/init</init> > </os> > <vcpu>1</vcpu> > <devices> > <console type='pty'/> > <emulator>/usr/libexec/libvirt_lxc</emulator> > <filesystem type='mount' accessmode='passthrough'> > <source dir='/lxc/test1/'/> > <target dir='/'/> > </filesystem> > <interface type='bridge'> > <source bridge='br0'/> > </interface> > </devices> > </domain> You need to add a RAM filesystem http://libvirt.org/formatdomain.html#elementsFilesystems eg <filesystem type='ram'> <source usage='10000'/> <target dir='/dev/shm'/> </filesystem> usage is in KB Daniel -- |: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :| |: http://libvirt.org -o- http://virt-manager.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :| _______________________________________________ libvirt-users mailing list libvirt-users@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvirt-users