Move of LVM drive fails

bolzerrr

Well-Known Member
Apr 11, 2019
59
3
48
43
Hello,

i recently became issues with my primary drive so i decided to buy a new one and migrate everything.
So i added the drive to the PV added to the VG and successfully moved /swap and /root but i fail with /data.

I created a new LV "data_new" and i added it to storage.cfg, but when i try to move the disks in the WI i get:

create full clone of drive scsi0 (local-lvm:vm-104-disk-1)
Using default stripesize 64.00 KiB.
Logical volume "vm-104-disk-0" created.
transferred: 0 bytes remaining: 10737418240 bytes total: 10737418240 bytes progression: 0.00 %
qemu-img: Could not open '/dev/pve/vm-104-disk-1': Could not open '/dev/pve/vm-104-disk-1': No such file or directory
Logical volume "vm-104-disk-0" successfully removed
TASK ERROR: storage migration failed: copy failed: command '/usr/bin/qemu-img convert -p -n -f raw -O raw /dev/pve/vm-104-disk-1 zeroinit:/dev/pve/vm-104-disk-0' failed: exit code 1
And actually i see only "root" and "swap" in /dev/pve

here is a lvs output:

LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
base-999-disk-0 pve Vri---tz-k 4.00m data
data pve twi---tz-- 200.74g
data_new pve twi-aotz-- 100.00g 0.00 0.43
root pve -wi-ao---- 18.50g
snap_vm-100-disk-3_Januar2019 pve Vri---tz-k 10.00g data vm-100-disk-3
swap pve -wi-ao---- 4.00g
vm-100-disk-3 pve Vwi---tz-- 10.00g data
vm-101-disk-1 pve Vwi---tz-- 4.00m data
vm-101-disk-2 pve Vwi---tz-- 10.00g data
vm-102-disk-0 pve Vwi---tz-- 10.00g data
vm-102-disk-1 pve Vwi---tz-- 4.00m data
vm-103-disk-0 pve Vwi---tz-- 4.00m data
vm-103-disk-1 pve Vwi---tz-- 10.00g data
vm-104-disk-1 pve Vwi---tz-- 10.00g data
vm-104-disk-2 pve Vwi---tz-- 4.00m data
vm-105-disk-0 pve Vwi---tz-- 4.00m data
vm-105-disk-1 pve Vwi---tz-- 10.00g data

Gladly everything still works but i want to get rid of this situation. Any suggestions what to do?
 
Last edited:

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!