Skip to main content

SMB/CIFS als Storage hinzufügen

auf PVE Host: 

nano /etc/pve/storage.cfg


image.png

dir: local
        path /var/lib/vz
        content vztmpl,backup,iso
        prune-backups keep-daily=1,keep-last=2,keep-weekly=1
        shared 0

zfspool: local-zfs
        pool rpool/data
        content images,rootdir
        sparse 1

cifs: HOSENAS
        path /mnt/pve/HOSENAS
        server 192.168.1.10
        share NAS
        content snippets
        prune-backups keep-all=1
        username Eike

dir: HOSENAS_Backups
        path /mnt/pve/HOSENAS/P_Proxmox
        content backup
        prune-backups keep-daily=1,keep-last=2,keep-weekly=1
        shared 0

pbs: pbs-wpd-truenas
        datastore truenas
        server wpd.eike-f.de
        content backup
        fingerprint 73:c0:6e:1c:5b:41:6d:46:47:19:fa:5e:1b:94:0c:af:a5:df:16:c0:e8:73:c8:57:c0:cf:ec:4f:b9:1e:f6:49
        prune-backups keep-all=1
        username root@pam

Passwörter in seperater Datei unter /etc/pve/priv/storage/STORAGE-ID.pw

siehe https://pve.proxmox.com/wiki/Storage:_CIFS

image.png