Yea i know btrfs has snapshot abilities but my entire server is ext4. I could format a extra drive with btrfs. Would that allow me to use btrfs for containers? Are there any other ideas or processes i can try out?<br><br><div class="gmail_quote">
On Thu, Jan 6, 2011 at 12:50 PM, C Anthony Risinger <span dir="ltr"><<a href="mailto:anthony@extof.me">anthony@extof.me</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Thu, Jan 6, 2011 at 12:02 PM, Noah Campbell <<a href="mailto:noahcampbell@gmail.com">noahcampbell@gmail.com</a>> wrote:<br>
><br>
> With my limited knowledge of lxc, I would recommend looking at a filesystem that supports snapshots.<br>
<br>
</div>yes, in the past i've used btrfs for this (.32 kernel). some will say<br>
that it's not suitable for use (and in some situations it may not be),<br>
but imo, it's stable enough for my uses; i've had a server running<br>
since .32 was released (2 yrs?) hosting several btrfs-based containers<br>
without any issue... and btrfs was only considered "ready for early<br>
adopters" at that point.<br>
<br>
using a couple of template subvolumes, i was able to snapshot them<br>
into usable domains in < 1 second, and create backups just as fast,<br>
while at the same time reusing blocks and saving enormous amounts of<br>
disk space.<br>
<br>
works like a treat :-) i plan on using it extensively very soon for an<br>
updated KVM+LXC server using libvirt.<br>
<br>
C Anthony<br>
<br>
ps....depending on how... bold... you are, there are LZO compression<br>
patches queued for .38:<br>
<br>
<a href="http://www.spinics.net/lists/linux-btrfs/msg07748.html" target="_blank">http://www.spinics.net/lists/linux-btrfs/msg07748.html</a><br>
<br>
and some dedup work is basic but workable:<br>
<br>
<a href="http://www.spinics.net/lists/linux-btrfs/msg07819.html" target="_blank">http://www.spinics.net/lists/linux-btrfs/msg07819.html</a><br>
<a href="http://www.spinics.net/lists/linux-btrfs/msg07820.html" target="_blank">http://www.spinics.net/lists/linux-btrfs/msg07820.html</a><br>
<br>
both will be very useful for containerized environments.<br>
</blockquote></div><br><br clear="all"><br>-- <br>God Bless<br>