usb disk passthrough for PBS & cache?

benoitc

Member
Dec 21, 2019
173
9
23
In a small setup (mostly for testing for now) I am deploying PBS inside a proxmox VM. Data will be stored in a usb external storage since that machine can't have more disks. Should I use the usb storage as a usb device inside the vm or better to use it as a disk and mount a zfs storage in proxmox? Also another question is this possible to cache the writes or metadata to speed revovery and backups?
 
I'd recommend against using USB passthrough for disk access, as it is rather slow and will limit your bandwidth. Just put a filesystem on the disk and assign that to the VM.

If you use ZFS you can look into special devices to speed things up (these can also be just a partition on a faster installed drive). We don't recommend using USB storage for VMs in general, but for a test setup that should work.
 
  • Like
Reactions: benoitc
thanks, for the answer. i went by i stalling zfs on the usdb disk and attach a part of it as a separate disk storage for the vm... let see how it gods