[SOLVED] tried to replace LV in virtual machine and it failed

oah433

Member
Apr 8, 2021
31
1
8
40
Hi
Long story short, I have a working VM with the following config:
1676502004868.png


I created another thin-volume (named 104_replica) in the same thin-pool and did:
dd if=/dev/pve/vm-104-disk-0 of=/dev/pve/104_replica

the result was as shown below:
1676502198617.png

next I edited the config of the vm-104 machine
which was originally like this:

1676502240701.png

so I went ahead and change the "virtio0" target to the following:

1676502307228.png


i.e., i replaced the thin-target from vm-104disk-0 to 104_replica
The machine now refuses to start and shows the following error:
"TASK ERROR: lvm name ' 104_replica' contains illegal characters"

1676502395575.png
any ideas on how to move next?
 
the disk naming must conform to specific format. You have an example of the format in the name of the original volume.
Name your new disk vm-104-disk-1, or rename your original disk to vm-104-disk-original and new disk to vm-104-disk-0.


Blockbridge : Ultra low latency all-NVME shared storage for Proxmox - https://www.blockbridge.com/proxmox
thank you so much, that solved it for me.
 

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!