archive mirror
 help / color / mirror / Atom feed
From: Zdenek Kabelac <>
To: "LVM general discussion and development" <>,
	"Tomas Dalebjörk" <>
Subject: Re: [linux-lvm] what will happen with lvconvert merge after reboot?
Date: Mon, 10 Aug 2020 17:24:56 +0200	[thread overview]
Message-ID: <> (raw)
In-Reply-To: <>

Dne 10. 08. 20 v 1:19 Tomas Dalebj�rk napsal(a):
> hi
> If a user starts a
> # lvconvert --merge -b snaplv
> and reboots the server before the convert/merge has completed
> will the merge/converting process continue after reboot?
> or will the volume be stale?
> if the merge/convert is restarted, can it resume where it was?


Merge 'starts' when origin&snap device are unused.
Once snapshot merge start - it cannot be reverted.

If there is any sort of 'failure' (i.e. poweroff) - merging continue
after reboot and should safely finish.

Note - once the merge starts - you can already use 'merged' LV since merging 
is running in the background (blocks are copied and you can 'monitor' its 
status with  'lvs' command).

If you would be using 'thin' snapshot - merge is an instant operation.



      parent reply	other threads:[~2020-08-10 15:24 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-08-09 23:19 Tomas Dalebjörk
2020-08-10  9:36 ` [linux-lvm] how often does lvm team update source code in ftp site heming.zhao
2020-08-10 10:22   ` Marian Csontos
     [not found]     ` <>
2020-08-10 15:26       ` heming.zhao
2020-08-10 15:44         ` Frank Ch. Eigler
2020-08-10 15:24 ` Zdenek Kabelac [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:

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

  git send-email \ \ \ \ \
    --subject='Re: [linux-lvm] what will happen with lvconvert merge after reboot?' \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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).