From: Zdenek Kabelac <zkabelac@redhat.com>
To: LVM general discussion and development <linux-lvm@redhat.com>,
Oleksandr Panchuk <panolex@gmail.com>
Subject: Re: [linux-lvm] Prepend LV
Date: Mon, 3 Sep 2018 16:52:10 +0200 [thread overview]
Message-ID: <b227ce32-6612-7604-477d-70f2b46a9543@redhat.com> (raw)
In-Reply-To: <CAAjPMgNf6RWUHidgpDC_8Jo7q6GN7u2bgU3nk7nMtKq_URN6JQ@mail.gmail.com>
Dne 3.9.2018 v 11:04 Oleksandr Panchuk napsal(a):
> Hello, All
>
> I have not found any documentation about how to prepend LV with some free space
> .
> Possible use case - we have LV with filesystem and data on it. But to migrate
> this LV to KVM virtual machine we need to craft partition inside this LV with
> already existing data.
>
> I know it is possible to create new LV and copy data here, but it could be
> time consuming for big LVs.
>
> So, Is there any way to prepend LV with some free space ?
>
Hi
Lvm2 does NOT support prepend ATM - as there was no big need for such operation.
On the other hand - experienced user can with really low 'math-skill'
requirements for a manual extension on the 'ASCII VG metadata' file in 'vi'
editor - the format is quite easy to follow.
I assume there is already some RFE to provide such support - in terms of
existing limitation that you need to always prepend whole 'extent' (so i.e.
with 4MiB extent size - you need to prepend at least 4MiB)
Regards
Zdenek
next prev parent reply other threads:[~2018-09-03 14:52 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-03 9:04 [linux-lvm] Prepend LV Oleksandr Panchuk
2018-09-03 10:40 ` Daniel Etter
2018-09-03 11:02 ` Oleksandr Panchuk
2018-09-03 14:52 ` Zdenek Kabelac [this message]
2018-09-10 16:09 ` Ondrej Kozina
2018-09-21 13:07 ` Oleksandr Panchuk
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=b227ce32-6612-7604-477d-70f2b46a9543@redhat.com \
--to=zkabelac@redhat.com \
--cc=linux-lvm@redhat.com \
--cc=panolex@gmail.com \
/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).