Backup VMs to HDD RAID1

levtol

New Member
Feb 8, 2023
6
0
1
Hello, community.

I have one SSD disk where Proxmox is installed, and it stores VMs I create.
Also, I have 2 2TB HDD disks, and I want to use them as a reliable RAID1 storage that will store my family photos, videos, etc.

But also I want to use this disks (part of them)
- To add disks for logs for my VMs
- A place where VM backups are stored.

Now I have only one place to store VM backups - it a "local" storage, where ISO files are situated.

1687284180732.png


I tried to create a ZFS pool, but it has no "VZDump backup option", that (I suppose) is needed for VM backup creation possibility.

1687284371149.png

1687284417170.png


If I try to add new "Directory", it is created only at one physical disk, but I need redundancy and RAID1 x2 read speed :(

1687284681325.png



So, how can I create a reliable storage to use it as VM additional disks AND a backup storage?
 
If I try to add new "Directory", it is created only at one physical disk, but I need redundancy and RAID1 x2 read speed :(
Note RAID1 will have more or less the same speed as the lowest common denominator of your two disks.
 
Note RAID1 will have more or less the same speed as the lowest common denominator of your two disks.

My HDDs are identical and I have 350MB consecutive read speed in RAID1

Anyway, the only one option I see is creating RAID1 with mdadm and adding it to Proxmox as a separate disk :(
 
You can store files like backups, photo and whatever on ZFS mirror (=raid1). You just need to create a new dataset (zfs create YourPool/NewDatasetName) first, then create new "Directory" storage at Datacenter -> Storage -> Add -> Directory and point it to the mountpoint of that dataset (so probably "/YourPool/NewDatasetName"). That directory storge is then on top of your ZFS pool and a Directroy storage allows you to store backups there. And don't forget to run a pvesm set YourStorageID --is_mountpoint yes afterwards to prevent problems in the future.
 

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!