[SOLVED] How can I add a disk with files intact...?

burger1113

New Member
Jun 16, 2023
12
1
3
I have ZSTD backup files in a spare SSD, and I thought I would be able to simply add it as a directory to restore my VMs when I set up a new rig, but after an hour of fiddling and looking around the internet, I can't seem to get it! I'm guessing that I don't know the proper directory to enter into the parameters...

Screenshot 2023-08-04 at 18.11.10.pngThat Plextor SSD highlighted is the one in question...

Really appreciate anyone looking in!

Screenshot 2023-08-04 at 18.04.30.png
 
Last edited:
Hello. What did you attempt to get this error?

/dev/sda is a block device. Wen you say say "/dev/sda" to the computer its like saying "the disk" while "/dev/sda1" for example means "first partition on the disk"

Does that mean that your backups are on /dev/sda2? You could mount it from the Terminal with

Code:
mkdir /media/backup_disk
mount -t ext4 -o ro /dev/sda2 /media/backup_disk

(the "-o ro" part only specifies that you mount it as read only. If you want to write too you can replace it with "-o rw")

After that you can add a Storage at Datacenter > Storage > Add > Directory and "/media/backup_disk" as path
 
Last edited:
Hello. What did you attempt to get this error?

/dev/sda is a block device. Wen you say say "/dev/sda" to the computer its like saying "the disk" while "/dev/sda1" for example means "first partition on the disk"

Does that mean that your backups are on /dev/sda2? You could mount it from the Terminal with

Code:
mkdir /media/backup_disk
mount -t ext4 -o ro /dev/sda2 /media/backup_disk

(the "-o ro" part only specifies that you mount it as read only. If you want to write too you can replace it with "-o rw")

After that you can add a Storage at Datacenter > Storage > Add > Directory and "/media/backup_disk" as path
Thank you for your answer! I actually found this post below and got it to work! Just needed the drive mounted for a min to get the VM, so it isn't a problem if it isn't permanent.
https://forum.proxmox.com/threads/adding-an-existing-hdd-to-proxmox.118361/post-512628
 

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!