Re: [lxc-users] cannot create a centos container on lvm with centos template

2015-01-21 Thread Serge Hallyn
Quoting 黄奕 (ruffian...@126.com): > lxc version:1.0.7 > I tried to create a lxc on lvm with command: > lxc-create -n mylxc2 -t centos -B lvm > and i got the errors: > > Copy /usr/local/var/cache/lxc/centos/x86_64/6/rootfs to /dev/lxc/mylxc2 ... > Copying rootfs to /dev/lxc/mylxc2 ...mkdir: cannot

[lxc-users] cannot create a centos container on lvm with centos template

2015-01-21 Thread 黄奕
lxc version:1.0.7 I tried to create a lxc on lvm with command: lxc-create -n mylxc2 -t centos -B lvm and i got the errors: Copy /usr/local/var/cache/lxc/centos/x86_64/6/rootfs to /dev/lxc/mylxc2 ... Copying rootfs to /dev/lxc/mylxc2 ...mkdir: cannot create directory ‘/dev/lxc/mylxc2’: File exist