Recovered Linux Physical Machine Contains Temporary LVM Snapshot
Product version: 11.3
Last modified: 12 November 2026
Problem
After a full recovery or Flash boot of a Linux physical machine that uses LVM, the recovered machine contains the temporary LVM snapshot that the backup job created. The source machine does not contain this snapshot. The recovered machine boots and operates as expected.
On the recovered machine, the output of the lsblk and lvs commands contains the following:
-
A read-only logical volume. Its name consists of the name of the original volume, a dot, the backup session ID, and a number, for example:
ubuntu-vg/ubuntu-lv.63fd128e-6ef5-40bf-9e2c-73776351eba1-1
-
The 1 GiB storage area of the snapshot. In the lsblk output, its name ends with -cow.
-
1 GiB of volume group space in use for each leftover snapshot.
File-level recovery is not affected.
Background
The backup job creates the temporary snapshot inside the volume group of the machine before it reads the disk, so the layout record of the volume group on the disk lists this snapshot. The job backs up the disk together with that layout record and with the 1 GiB area where the snapshot stores its data. After the backup, NAKIVO Backup & Replication deletes the snapshot on the source machine only. Full recovery and Flash boot restore the disk as it was backed up, so the recovered machine contains the snapshot as well.
Remove the leftover snapshot for the following reasons:
-
While the snapshot exists, writes to the original volume can be slower, because LVM copies the old data into the storage area of the snapshot the first time each part of the volume changes.
-
If the volume group has little free space, the next backup of the recovered machine can have no room for its own snapshot.
-
The data inside the leftover snapshot can be inconsistent. Do not use it.
Solution
On the recovered machine, remove the leftover snapshots as the root user:
-
List the logical volumes:
lvs
-
In the output, find the snapshots whose name contains a backup session ID, in the <volume name>.<session ID>-<number> format.
Note
Do not remove the snapshots that you created on the source machine. They are part of the backup as well.
-
Remove each snapshot that you found. The name of a snapshot is long, so copy it from the lvs output:
lvremove <volume group>/<snapshot name>
Example
lvremove ubuntu-vg/ubuntu-lv.63fd128e-6ef5-40bf-9e2c-73776351eba1-1
-
Enter y to confirm the removal:
Do you really want to remove and DISCARD active logical volume ubuntu-vg/ubuntu-lv.63fd128e-6ef5-40bf-9e2c-73776351eba1-1? [y/n]:
The data of the original volume does not change. Proceed as described in Physical Machine Recovery and Creating Flash Boot Jobs for Physical Machines.