[PVE-User] Backup to Ceph / NFSv4
Uwe Sauter
uwe.sauter.de at gmail.com
Thu May 18 11:40:58 CEST 2017
Hi,
as my Proxmox hosts don't have enough local storage I wanted to do backups into the "network". One option that came into mind was
using the existing Ceph installation to do backups. What's currently missing for that (as far as I can tell) is Proxmox support
for a Ceph-backed filesystem (CephFS) including a Ceph metadata server.
CephFS would also allow to store ISO images so that there is no need to have local copies (which are required on every host where
a VM can be migrated to (if the VM's DVD drive is currently connected to the ISO)).
Are there plans to support CephFS in the future?
Lacking CephFS support I wanted to use a remote NFSv4 server for backups (as TCP-based NFSv4 is easier to configure in firewalls).
Is the information on [1] still correct? With PVE 4.4 I don't have the option to select a NFS version (or any other NFS mount
option at all) but the wiki page suggests otherwise.
Will TCP-only NFSv4 work with PVE? My iptables config on the NFS server side is:
[…]
-A INPUT -s 192.168.253.192/26 -p tcp -m state --state NEW -m tcp --dport 111 -m comment --comment "NFS: Portmapper" -j ACCEPT
-A INPUT -s 192.168.253.192/26 -p tcp -m state --state NEW -m tcp --dport 662 -m comment --comment "NFS: Statd" -j ACCEPT
-A INPUT -s 192.168.253.192/26 -p tcp -m state --state NEW -m tcp --dport 875 -m comment --comment "NFS: Quota" -j ACCEPT
-A INPUT -s 192.168.253.192/26 -p tcp -m state --state NEW -m tcp --dport 892 -m comment --comment "NFS: Mountd" -j ACCEPT
-A INPUT -s 192.168.253.192/26 -p tcp -m state --state NEW -m tcp --dport 2049 -m comment --comment "NFS: NFSv4" -j ACCEPT
-A INPUT -s 192.168.253.192/26 -p tcp -m state --state NEW -m tcp --dport 32803 -m comment --comment "NFS: Lockd" -j ACCEPT
[…]
Regards,
Uwe
[1] https://pve.proxmox.com/wiki/Storage:_NFS
More information about the pve-user
mailing list