[pve-devel] [PATCH v4 storage/manager] Cephfs storage plugin

Alwin Antreich a.antreich at proxmox.com
Mon Jun 18 19:49:27 CEST 2018


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 V4:
Code cleanup, as suggest by review.


Alwin Antreich (7):
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

Merge RBD and CephFS code into a helper module
 PVE/Storage/CephTools.pm | 55 ++++++++++++++++++++++++++++++++++++++++++++++++
 PVE/Storage/Makefile     |  2 +-
 2 files changed, 56 insertions(+), 1 deletion(-)
 create mode 100644 PVE/Storage/CephTools.pm

Add cephfs to allowed storages for vzdump backup
 PVE/VZDump.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Call methods from Storage CephTools package
 1 file changed, 5 insertions(+), 50 deletions(-)

Add simple keyring check for cephfs rbd
 PVE/Storage/CephTools.pm | 33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Cephfs storage plugin
 PVE/API2/Storage/Config.pm  |   2 +-
 PVE/Storage.pm              |   2 +
 PVE/Storage/CephFSPlugin.pm | 224 ++++++++++++++++++++++++++++++++++++++++++++
 PVE/Storage/Makefile        |   2 +-
 PVE/Storage/Plugin.pm       |   1 +
 debian/control              |   1 +
 6 files changed, 230 insertions(+), 2 deletions(-)
 create mode 100644 PVE/Storage/CephFSPlugin.pm
-- 
2.11.0





More information about the pve-devel mailing list