Libro sobre Proxmox maestria
options vers=3 content images, vztmp1, backup, rootdir maxfiles 1
Almost all the settings in storage.cfg can be changed from the Proxmox GUI without using any CLI.
Attached storages abide by the following common format in the storage.cfg file:
storage_type: storage_name path </path to folder> target <target file name> (for iSCSI) portal <server IP address> (for iSCSI) vgname <volume group name> (for LVM)
base <base volume group> (for LVM) server <storage server IP address> export </shared location on NFS server> content <type of files the storage can hold> maxfile <maximum number of old backup to keep>
Based on the previous storage configuration format, let us take a look at the local storage segment in the storage.cfg file:
dir: local path /var/lib/vz content images, iso, vztmpl, rootdir maxfiles 0
From the previous configuration, we can tell that this is a local directory-based storage, which is mounted on the /var/lib/vz path in the local Proxmox node. The following are the content types it can hold:
With maxfiles set to 0, this storage location cannot do any VM backup.
Now, we will look at the second storage section in the storage.cfg file as follows:
nfs: ISO-nfs-01 path /mnt/pve/ISO-nfs-01