[SOLVED] lvm-thin migration - if interrupted,deletes lv

zima

Renowned Member
Nov 7, 2014
43
7
73
After hitting [stop] in the middle of migration, ct shows on the destination node but without data (no lv - in log we see twice that lv successfully removed)

Jun 17 11:48:10 starting migration of CT 130 to node 'dreadnought' (10.10.10.111)
Jun 17 11:48:10 copy mountpoint 'rootfs' (local-lvm:vm-130-disk-1) to node ' dreadnought'
Logical volume "vm-130-disk-1" created.
successfully created 'local-lvm:vm-130-disk-1'
Logical volume "vm-130-disk-1" successfully removed
Logical volume "vm-130-disk-1" successfully removed
Jun 17 11:48:37 start final cleanup
Jun 17 11:48:38 migration finished successfully (duration 00:00:28)
TASK OK

upload_2016-6-17_12-11-29.png

lvs output on both nodes:
vm-101-disk-1 pve Vwi-a-tz-- 20.00g data 98.45
vm-134-disk-1 pve Vwi-a-tz-- 50.00g data 3.96

vm-100-disk-1 pve Vwi-a-tz-- 32.00g data 90.63
vm-133-disk-1 pve Vwi-a-tz-- 50.00g data 4.05

no 130 lv ;)

pveversion -v:
proxmox-ve: 4.2-54 (running kernel: 4.4.10-1-pve)
pve-manager: 4.2-14 (running version: 4.2-14/655f944a)
pve-kernel-4.4.6-1-pve: 4.4.6-48
pve-kernel-4.4.8-1-pve: 4.4.8-52
pve-kernel-4.4.10-1-pve: 4.4.10-54
lvm2: 2.02.116-pve2
corosync-pve: 2.3.5-2
libqb0: 1.0-1
pve-cluster: 4.0-42
qemu-server: 4.0-80
pve-firmware: 1.1-8
libpve-common-perl: 4.0-68
libpve-access-control: 4.0-16
libpve-storage-perl: 4.0-54
pve-libspice-server1: 0.12.5-2
vncterm: 1.2-1
pve-qemu-kvm: 2.5-19
pve-container: 1.0-68
pve-firewall: 2.0-29
pve-ha-manager: 1.0-31
ksm-control-daemon: 1.2-1
glusterfs-client: 3.5.2-2+deb8u2
lxc-pve: 1.1.5-7
lxcfs: 2.0.0-pve2
cgmanager: 0.39-pve1
criu: 1.6.0-1
zfsutils: 0.6.5-pve9~jessie
 

Attachments

  • upload_2016-6-17_12-10-59.png
    upload_2016-6-17_12-10-59.png
    45 KB · Views: 5

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!