From: "Jürgen Groß" <jgross@suse.com>
To: "linux-block@vger.kernel.org" <linux-block@vger.kernel.org>,
Jens Axboe <axboe@kernel.dk>
Subject: [RFC] Enhancement of loop driver?
Date: Fri, 13 Nov 2020 07:59:23 +0100 [thread overview]
Message-ID: <1a5ccfd6-d7c1-28d5-3562-05178f44ed3d@suse.com> (raw)
[-- Attachment #1.1.1: Type: text/plain, Size: 1232 bytes --]
Hi,
a large customer is asking for storage migration of the disk images of
their virtual machines. They don't want to migrate the VM to another
host, but only the disk image from one filer to another while the VM
keeps running.
The natural way to setup something like this would be LVM and use
mirroring, but the problem is that this requires to copy the image to
a LVM enabled disk first, and this is no option due to time constraints
(copying many GB of data takes too long, and in the end I'd like to be
able to do the switch from the original image to the LVM backed with
the VM kept running).
So my idea was to enhance the loop driver to be capable to support a
list of backing files instead of only one and use a small prepended
file for storing the needed LVM metadata, resulting in the ability to
keep the existing disk image.
Would such an addition be acceptable?
An alternative would be to have an additional layer on top of the
current loop driver doing the concatenation of multiple loop devices,
but this would require a lot of code duplication. And using a common
base driver for the common code would be more code churn than just
adding the support to loop.c.
Thoughts?
Juergen
[-- Attachment #1.1.2: OpenPGP_0xB0DE9DD628BF132F.asc --]
[-- Type: application/pgp-keys, Size: 3135 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 495 bytes --]
next reply other threads:[~2020-11-13 6:59 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-11-13 6:59 Jürgen Groß [this message]
2020-11-13 8:44 ` [RFC] Enhancement of loop driver? Christoph Hellwig
2020-11-13 8:59 ` Jürgen Groß
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=1a5ccfd6-d7c1-28d5-3562-05178f44ed3d@suse.com \
--to=jgross@suse.com \
--cc=axboe@kernel.dk \
--cc=linux-block@vger.kernel.org \
/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