[SOLVED] How to mount old drive with backup

Serhioromano

New Member
Jun 12, 2023
25
4
3
Recently I had pve OS drive crash and lost access to PVE. it is still on that drive. But I installed a new drive for OS and installed new PVE. I wanted to update to 8.1 anyway. I installed it. I have also SATA connected SSD where I had all my backups. I do not remember exactly the method I added that drive, perhaps it was ZFS as a single disc. I can see in a disk list (see attachment). But hoe to mount it to PVE so I could access images to restore my LCXs? `zfs list` do not give any result.
 

Attachments

  • 2024-02-06_11-54-02.png
    2024-02-06_11-54-02.png
    25.8 KB · Views: 14
First I run command `lsblk -afp` and find my disc there. That was sda and I noticed it is ext4 format.

Then i run `ls -l /dev/disk/by-uuid/*` and find path of my disk
Then I created a folder `mkdir /mnt/SSD` where I'll mount my drive
Now open `nano /etc/fstab` and I added there a line

/dev/disk/by-uuid/********** /mnt/SSD ext4 defaults 0

then I run `mount -a`
And last `systemctl daemon-reload`

That is, it. Of caurse ***** is an ID of drive you find with `ls` command. It worked for me. Now in Datacenter/Storage I added a directory /mnt/SSD as drive, and I can access all my backups.
 
Last edited:
  • Like
Reactions: zvangi

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!