This patch series is an update and adds the Cephfs to our list of storages. You can mount the storage through the kernel or fuse client. The plugin for now allows all content formats, but this needs further testing.
Config and keyfile locations are the same as in the RBD plugin. Example entry: cephfs: cephfs0 monhost 192.168.1.2:6789 path /mnt/pve/cephfs0 content iso,backup,images,vztmpl,rootdir subdir /blubb fuse 0 username admin Comments and tests are very welcome. ;) Changes in V5: * Merged methods from CephFSPlugin.pm to helper * Add creation and removal of keyfile for RBD/CephFS storage * Cleanup of get_monlist method * Use of PVE::Tools::file_get_contents & file_set_contents instead of IO::File Alwin Antreich (5): Cephfs storage wizard www/manager6/Makefile | 1 + www/manager6/Utils.js | 10 ++++++ www/manager6/storage/CephFSEdit.js | 71 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 82 insertions(+) create mode 100644 www/manager6/storage/CephFSEdit.js Add cephfs to allowed storages for vzdump backup PVE/VZDump.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Merge RBD and CephFS code into a helper module PVE/Storage/CephTools.pm | 55 ++++++++++++++++++++++++++++++++++++++++++++++++ PVE/Storage/Makefile | 2 +- 3 files changed, 61 insertions(+), 51 deletions(-) create mode 100644 PVE/Storage/CephTools.pm Add simple keyring check for cephfs rbd PVE/Storage/CephTools.pm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) Cephfs storage plugin PVE/Storage.pm | 2 + PVE/Storage/CephFSPlugin.pm | 177 ++++++++++++++++++++++++++++++++++++++++++++ PVE/Storage/CephTools.pm | 102 +++++++++++++++++++++++++ PVE/Storage/Makefile | 2 +- PVE/Storage/Plugin.pm | 1 + debian/control | 1 + 7 files changed, 292 insertions(+), 21 deletions(-) create mode 100644 PVE/Storage/CephFSPlugin.pm -- 2.11.0 _______________________________________________ pve-devel mailing list pve-devel@pve.proxmox.com https://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-devel