[Lxc-users] lxc-create -B zfs

Tamas Papp tompos at martos.bme.hu
Mon Jun 10 12:55:18 UTC 2013


hi,

# lxc-create -n pony -t ubuntu -B zfs --zfsroot=tank/lxc
getopt: unrecognized option '--rootfs=/usr/lib/x86_64-linux-gnu/lxc'
lxc-create: container creation template for pony failed

lxc-create: Error creating container pony


# lxc-create -n pony -t ubuntu -B zfs
cannot create 'lxc/pony': no such pool 'lxc'
lxc-create: Error creating backing store type zfs for pony
lxc-create: Error creating container pony

Pool name is 'tank' and containers are like /tank/lxc/<CONTAINER>.

# lsb_release -a
No LSB modules are available.
Distributor ID:    Ubuntu
Description:    Ubuntu 12.04.2 LTS
Release:    12.04
Codename:    precise
root at virt102:~/bin#


Linux virt102 3.2.0-45-generic #70-Ubuntu SMP Wed May 29 20:12:06 UTC 2013 x86_64 x86_64 x86_64 
GNU/Linux

ii lxc 0.9.0.0~staging~20130605-1508-0ubuntu1~ppa1~precise1 Linux Containers userspace tools


If I see correctly, lxc-create is already a binary file and probably compiled from C source.
It's way more then I can help:)

Thanks,
tamas




More information about the lxc-users mailing list