linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Austin S Hemmelgarn <ahferroin7@gmail.com>
To: Russell Coker <russell@coker.com.au>
Cc: linux-btrfs <linux-btrfs@vger.kernel.org>
Subject: Re: How to replicate a Xen VM using BTRFS as the root filesystem.
Date: Thu, 29 Oct 2015 07:16:53 -0400	[thread overview]
Message-ID: <56320025.4050208@gmail.com> (raw)
In-Reply-To: <201510291339.52680.russell@coker.com.au>

[-- Attachment #1: Type: text/plain, Size: 952 bytes --]

On 2015-10-28 22:39, Russell Coker wrote:
> On Wed, 28 Oct 2015 11:07:20 PM Austin S Hemmelgarn wrote:
>> Using this methodology, I can have a new Gentoo PV domain running in
>> about half an hour, whereas it takes me at least two and a half hours
>> (and often much longer than that) when using the regular install process
>> for Gentoo.
>
> On my virtual servers I have a BTRFS subvol /xenstore for the block devices of
> virtual machines.  When I want to duplicate a VM I run
> "cp -a --reflink=aways /xenstore/A /xenstore/B" which takes a few seconds.
Well yes, that works quickly too, but is kind of hard to do when using 
LVM or other non-file-backed block storage, and the usual recommendation 
when not using blktap for storage is to use normal block storage devices 
(that, and I've had some horrible experience WRT performance with 
running VM's with BTRFS filesystems on files on a BTRFS filesystem on 
the host system).



[-- Attachment #2: S/MIME Cryptographic Signature --]
[-- Type: application/pkcs7-signature, Size: 3019 bytes --]

      reply	other threads:[~2015-10-29 11:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-28 12:07 How to replicate a Xen VM using BTRFS as the root filesystem Austin S Hemmelgarn
2015-10-29  2:39 ` Russell Coker
2015-10-29 11:16   ` Austin S Hemmelgarn [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=56320025.4050208@gmail.com \
    --to=ahferroin7@gmail.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=russell@coker.com.au \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).