[lxc-devel] [PATCH] implement loopback backing store
Serge Hallyn
serge.hallyn at ubuntu.com
Wed Jun 5 12:45:34 UTC 2013
Quoting Tomas Pospisek (tpo2 at sourcepole.ch):
> Am 03.06.2013 23:38, schrieb Serge Hallyn:
> > Create a loopfile backed container by doing:
> >
> > lxc-create -B loop -t template -n name
> >
> > or
> >
> > lxc-clone -B loop -o dir1 -n loop1
> >
> > The rootfs in the configuration file will be
> >
> > loop:/var/lib/lxc/loop1/rootdev
>
> While I applaud usability improvements, I am not sure VMs in a loopback
> device should be promoted.
>
> It's known that the loopback device can deadlock and loose data
> [1][2][3], which I find highly problematic.
Hm, but all three of those links are specifically about drbd on loopback.
We could add a documentation note (not sure where - lxc-create man
page?) about running drbd nodes on loopback-backed containers...
I suspect the qemu-nbd backing store (which I'll do next, at some point)
will be far more widely used than loopback.
-serge
More information about the lxc-devel
mailing list