[SOLVED] Why zfs as datastore for pbs?

Feb 20, 2021
88
10
13
For me it seems there are few reasons when zfs should be used as datastore for pbs:

pbs does:
- verification
- deduplication
- compression

So, whats the benefit of using zfs as datastore for pbs? IMHO it just makes things slower. The only reason for using ZFS is when you use multiple disks / devices for one pool, or did i miss something?
 
So, whats the benefit of using zfs as datastore for pbs? IMHO it just makes things slower. The only reason for using ZFS is when you use multiple disks / devices for one pool, or did i miss something?
PBS also got synchronization so I guess you need no ZFS replication. And PBS got encryption so you don't need ZFS for that too. And you need no snapshots for ransomeware protection because you can setup rights so PVEs can only create/restore but not prune oder destroy backups.

But one advantage of ZFS could be to use "special devices" or L2ARC in case your are using HDDs for your datastore. In that case metadata could be stored on faster SSDs so doing a garbage collection might be faster because it doesn't need to load the metadata of millions of chunk-files from the slow HDDs.
 
  • Like
Reactions: abma
You mean other than a failed disk:
- ZFS proper redundancy: replace disk, datastore "intact"
- All other *filesystems*: restore datastore from elsewhere
- LVM/mdraid: okay, replace disk, filesystems on top ok
but now you need a separate filesystem on top, and you have two sets of components to admin

ZFS also makes (IMO) life easier when you need to do quotas for different datastores (ala Tuxis.nl 's selling backup storage space)

That said, during installation you can pick your filesystem/volume management poison yourself, ZFS is just one of those things that I've fall in love with how it saved my bacon several times
 
  • Like
Reactions: abma
We use HP servers. So we build a RAID on controller basis, use ext4 as fs and use it as directory.
This results in much less RAM consumption and it is faster too. But we also use a remote PBS to sync this.
 
  • Like
Reactions: Fra

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!