Add more "content" types to an already existing storage

damarges

Member
Jul 25, 2022
29
3
8
40
Bad Kreuznach, Germany
I've added a ZFS pool with the content type "rootdir, images". But now I want to use this storage for my vm backups too. How can I edit it?
I've tried to edit (I added backup,iso,vztmpl manually) /etc/pve/storage.cfg as shown below but not effect.


Code:
zfspool: tank
        pool tank
        content rootdir,images,backup,iso,vztmpl
        mountpoint /tank
        nodes pve
 
Hi,

The zfspool is only support for images [0], as a workaround you can create a folder `mkdir -p /rpool/data/backups` and create a Directory storage by going to your Proxmox VE Web UI -> `Datacenter -> Storage -> Add -> Directory ` and give the name and content-type you want and the path `/rpool/data/backups`.

[0] https://pve.proxmox.com/pve-docs/chapter-pvesm.html#_storage_types
 
  • Like
Reactions: damarges

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!