[lxc-devel] [PATCH] implement loopback backing store

Tomas Pospisek tpo2 at sourcepole.ch
Wed Jun 5 14:32:25 UTC 2013


Am 05.06.2013 14:45, schrieb Serge Hallyn:
> 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 remember some discussion on LWN about loopback deadlocking and also
some non-drbd related discussion on lkml. But I don't have those links
handy and can't find them. I have this here [4] which looks related.
*t

[4] https://bugs.launchpad.net/wubi/+bug/204133




More information about the lxc-devel mailing list