Hello all,
unfurtunately, I've had some issues while upgrading from PVE 6.4 to PVE 7, so I decided to install PVE 7 from scratch. I created backups of all LXCs and VMs and saved them on a PBS (V 2.0-4). Of course, I saved network configuration, storage.cfg and the config files of the LXCs and VMs as well.
After initial setup of PVE 7, I wanted to restore the LXCs, but unfortunatley, the restore process ended with
"TASK ERROR: unable to restore CT XXX- no such logical volume pve/vm-XXX-disk-0"
(replace XXX by LXC-ID).
Originally, the LXCs were stored on local-lvm and the virtual disk ist configured in the LXC config files (rootfs). However, the virtual disks are not shown in local-lvm --> CT volumes.
So my "stupid" question is: How can I restore my backup LXCs?
I have only one VM to restore (OpenMediaVault with 2.5TB, so it will take a while...), the process is currently running and the VM Disk is shown in local-lvm --> VM Disks.
Thanks a lot in advance for your help!
If you need any more information, feel free to ask.
EDIT:
I just took a deeper look into the log of the restore process:
If I get that correcty, a logical volume is created in the first step, is getting removed right afterwards and in the end, the process stops since there is no logical volume available?
BR, Skream
unfurtunately, I've had some issues while upgrading from PVE 6.4 to PVE 7, so I decided to install PVE 7 from scratch. I created backups of all LXCs and VMs and saved them on a PBS (V 2.0-4). Of course, I saved network configuration, storage.cfg and the config files of the LXCs and VMs as well.
After initial setup of PVE 7, I wanted to restore the LXCs, but unfortunatley, the restore process ended with
"TASK ERROR: unable to restore CT XXX- no such logical volume pve/vm-XXX-disk-0"
(replace XXX by LXC-ID).
Originally, the LXCs were stored on local-lvm and the virtual disk ist configured in the LXC config files (rootfs). However, the virtual disks are not shown in local-lvm --> CT volumes.
So my "stupid" question is: How can I restore my backup LXCs?
I have only one VM to restore (OpenMediaVault with 2.5TB, so it will take a while...), the process is currently running and the VM Disk is shown in local-lvm --> VM Disks.
Thanks a lot in advance for your help!
If you need any more information, feel free to ask.
EDIT:
I just took a deeper look into the log of the restore process:
Code:
recovering backed-up configuration from 'PBS:backup/ct/102/2022-06-17T21:00:19Z'
Logical volume "vm-102-disk-0" created.
Creating filesystem with 2097152 4k blocks and 524288 inodes
Filesystem UUID: 665ea033-2387-4d07-ac2a-05807a63cc02
Superblock backups stored on blocks:
32768, 98304, 163840, 229376, 294912, 819200, 884736, 1605632
Logical volume "vm-102-disk-0" successfully removed
TASK ERROR: unable to restore CT 102 - no such logical volume pve/vm-102-disk-0
BR, Skream
Last edited: