[pve-devel] [PATCH pve-manager] Fix pveceph createosd

Wolfgang Link w.link at proxmox.com
Tue Jul 18 11:07:12 CEST 2017


The --filestore flag is now required see doc of ceph.

If the --bluestore argument is given, a bluestore objectstore will be
created.  If --filestore is provided, a legacy FileStore objectstore
will be created.  If neither is specified, we default to BlueStore.
---
 PVE/API2/Ceph.pm | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/PVE/API2/Ceph.pm b/PVE/API2/Ceph.pm
index 9378095c..64233985 100644
--- a/PVE/API2/Ceph.pm
+++ b/PVE/API2/Ceph.pm
@@ -260,7 +260,7 @@ __PACKAGE__->register_method ({
 		push @$cmd, '--bluestore';
 	    } else {
 		print "create OSD on $devpath ($fstype)\n";
-		push @$cmd, '--fs-type', $fstype;
+		push @$cmd, '--filestore', '--fs-type', $fstype;
 	    }
 
 	    if ($journal_dev) {
-- 
2.11.0





More information about the pve-devel mailing list