[Lxc-users] lxc-create -B zfs

Tamas Papp tompos at martos.bme.hu
Mon Oct 7 07:15:40 UTC 2013


On 10/01/2013 07:14 AM, Serge Hallyn wrote:
> Right now if we say
>
> 	lxc-create -t ubuntu -n u1 -B zfs
>
> that means make the rootfs be type zfs.  Where/how should it be
> specified that $lxcpath/$lxcname should be a new zfs, not
> $lxcpath/$lxcname/rootfs?  'zfs.mounttype = [whole | rootfs]' ?

Well, it's good idea.
BTW I think it would be the same for lvm, btrfs and so on.

> Something like that would be ok for me, my main concern is actually
> that the special casing in lxcapi_create() and lxcapi_destroy()
> be done cleanly and concisely.  But yeah it should be possible.  Do
> you mind sending a patch?

It would be great, but I checked and unfortunately it's much more then I
can do with my programming skills:(


tamas




More information about the lxc-users mailing list