Re: [Lxc-users] help regarding lxc

2011-08-29 Thread nishant mungse
hii The entry in host's fstab contains none /cgroup cgroup defaults 0 0s And i have deleted all entries from guest's fstab file The guest container is created abut when i exe it it shows following error lxc-execute -n guest -f /home/nishant/lxc/conf.guest /bin/bash

Re: [Lxc-users] help regarding lxc

2011-08-29 Thread Joerg Gollnick
Hi Nishant, your rootfs is missing rootfs/dev/pts. I use normaly following script: (replace rootfs with your location of the container rootfs) DEV=rootfs/dev rm ${DEV}/null rm ${DEV}/zero mknod -m 666 ${DEV}/null c 1 3 mknod -m 666 ${DEV}/zero c 1 5 mknod -m 666 ${DEV}/random c 1 8 mknod -m 666

Re: [Lxc-users] lxc-clone

2011-08-29 Thread Serge Hallyn
Quoting Ramez Hanna (rha...@informatiq.org): Hi, I have started using lxc to setup a pre-production system instead of KVM at first glance clone seemd to me that it would copy everything to a new roots but turns out that in case of LVM it will snapshot AFAIK snapshots are meant more for

Re: [Lxc-users] lxc-clone

2011-08-29 Thread Ramez Hanna
On Mon, Aug 29, 2011 at 4:19 PM, Serge Hallyn serge.hal...@canonical.com wrote: Quoting Ramez Hanna (rha...@informatiq.org): Hi, I have started using lxc to setup a pre-production system instead of KVM at first glance clone seemd to me that it would copy everything to a new roots but turns

Re: [Lxc-users] [PATCH] multiple mods to lxc-clone

2011-08-29 Thread Serge Hallyn
Thanks, Ramez. It looks good to me. My only comment would be that if the rootfs copy fails (either rsync or lvm clone), and you've frozen the original container, then you need to unfreeze the original container before erroring out. -serge Quoting Ramez Hanna (rha...@informatiq.org): * allow