Add more "content" types to an already existing storage

damarges

Member
Jul 25, 2022
32
5
13
41
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