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

Thomas Lamprecht t.lamprecht at proxmox.com
Wed Jun 20 15:02:43 CEST 2018


On 6/18/18 7:49 PM, Alwin Antreich wrote:
> 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. ;)
> 

If I just add a PVE CephFS with an arbitrary name through webUI I get error 
> create storage failed: error with cfs lock 'file-storage_cfg': mount error

If I then try the same again:
> create storage failed: error with cfs lock 'file-storage_cfg': ceph authx keyring file for storage 'sdf' already exists! 

but no configuration entry is there, so I cannot clean this up easily and a
user probably does not know that he has to delete:
/etc/pve/priv/ceph/sdf.keyring

Such an error should be idempotent?




More information about the pve-devel mailing list