[SOLVED] Import previous data to proxmox fresh installation 8.3

dasc

Member
Sep 25, 2022
31
0
6
I there ;

A need your support to help me "save " all the data from my previous 7.4 installation due to my few proxmox knowledge.
Attached lsblk after fresh installation where sda should be the vm's disks drive and sdb1 the vz backup files that I don't find anyway to "discover" after 1 day googling and trying .Attached also a print screen of pve disks .
Any support will be more than appreciated.

proxmox1.jpg
root@pve:~# lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS sda 8:0 0 894.3G 0 disk sdb 8:16 0 3.6T 0 disk └─sdb1 8:17 0 3.6T 0 part sdc 8:32 0 476.9G 0 disk ├─sdc1 8:33 0 1007K 0 part ├─sdc2 8:34 0 1G 0 part /boot/efi └─sdc3 8:35 0 475.9G 0 part ├─pve-swap 253:0 0 8G 0 lvm [SWAP] ├─pve-root 253:1 0 96G 0 lvm / ├─pve-data_tmeta 253:2 0 3.6G 0 lvm │ └─pve-data 253:4 0 348.8G 0 lvm └─pve-data_tdata 253:3 0 348.8G 0 lvm └─pve-data 253:4 0 348.8G 0 lvm sdd 8:48 1 233G 0 disk └─sdd1 8:49 1 233G 0 part sde 8:64 1 114.6G 0 disk ├─sde1 8:65 1 224K 0 part ├─sde2 8:66 1 2.8M 0 part ├─sde3 8:67 1 1.1G 0 part └─sde4 8:68 1 300K 0 part
 
Attached lsblk after fresh installation where sda should be the vm's disks drive and sdb1 the vz backup files that I don't find anyway to "discover" after 1 day googling and trying .Attached also a print screen of pve disks .
You need to mount your sdb first (best by adding it via the UUID of the ext4 partition to your /etc/fstab). Then add a directory storage (WebUI: Datacenter -> Storage -> Add -> Directory) pointing to its mountpoint and then run pvesm set YourStorageID --is_mountpoint yes.
 
You need to mount your sdb first (best by adding it via the UUID of the ext4 partition to your /etc/fstab). Then add a directory storage (WebUI: Datacenter -> Storage -> Add -> Directory) pointing to its mountpoint and then run pvesm set YourStorageID --is_mountpoint yes.
Hi

Thank you so much for your support .The first battle it's won I have already found my vz files to recover the VM's and container's .It's missing now to make permanent the mount points on fstab, that I believe I can do wo major issues. Is there any way I can give you points , kudos...?
 
Hi

Thank you so much for your support .The first battle it's won I have already found my vz files to recover the VM's and container's .It's missing now to make permanent the mount points on fstab, that I believe I can do wo major issues. Is there any way I can give you points , kudos...?
See for example here: https://wiki.archlinux.org/title/fstab

So lsblk -f /dev/sdb2 to find the UUID. Create a empty folder for the mountpoint: mkdir /backups && chown root:root /backups. Then add something to the fstab like: UUID=YOUR-UUID-COMES-HERE /backups ext4 defaults 0 2.

And don't fotget the pvesm set YourStorageID --is_mountpoint yes. Without it you might fill up your root partition until the server crashes when the sdb2 can't be mounted.
 
Last edited:
See for example here: https://wiki.archlinux.org/title/fstab

So lsblk -f /dev/sdb2 to find the UUID. Create a empty folder for the mountpoint: mkdir /backups && chown root:root /backups. Then add something to the fstab like: UUID=YOUR-UUID-COMES-HERE /backups ext4 defaults 0 2.

And don't fotget the pvesm set YourStorageID --is_mountpoint yes. Without it you might fill up your root partition until the server crashes when the sdb2 can't be mounted.
I there ;I still ned your support for the 2nd step.When I tried to start the VM I've restored I had the following error message : TASK ERROR: KVM virtualisation configured, but not available. Either disable in VM configuration or enable in BIOS.

Any idea about what it's happening
 
Then your new machine isn't supporting virtualization features or at least they are not enabled in the BIOS/UEFI or you are running nested virtualization (like a rented VPS instead of a bare metal server). Check your BIOS for something like VT-d/VT-x/AMD-V.
 
Then your new machine isn't supporting virtualization features or at least they are not enabled in the BIOS/UEFI or you are running nested virtualization (like a rented VPS instead of a bare metal server). Check your BIOS for something like VT-d/VT-x/AMD-V.
Thank you; you are right I correct on the BIOS but now another challenge;TASK ERROR: volume 'backupoldvms:110/vm-110-disk-3.qcow2' does not exist

Again your support to achieve the goal!!!!
 
Thank you; you are right I correct on the BIOS but now another challenge;TASK ERROR: volume 'backupoldvms:110/vm-110-disk-3.qcow2' does not exist

Again your support to achieve the goal!!!!
What are pvesm status, cat /etc/pve/storage.cfg and qm config 110 returning?
 
What are pvesm status, cat /etc/pve/storage.cfg and qm config 110 returning?
Sorry to disturb you .My mistake ,I made a reboot to check BIOS and as I have not yet changed fstab the mount points disappear.
Now for the Lxc container and the VM I restore are running

Once again thank you so much for your support .
Regards
 

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!