[pve-devel] [manager] remove 'btrfs' as OSD fstype.

Wolfgang Link w.link at proxmox.com
Fri Aug 31 08:10:58 CEST 2018


btrfs is deprecated since Luminous and it will no more be tested.

If btrfs is used, you have to add an extra parameter to ceph.conf
to allow ceph-disk to activate btrfs OSD's.
In our default config this is not the case.

>From Luminous release note [1]:

"We no longer test the FileStore ceph-osd backend in combination with
btrfs. We recommend against using btrfs. If you are using
btrfs-based OSDs and want to upgrade to luminous you will need to
add the follwing to your ceph.conf:

enable experimental unrecoverable data corrupting features = btrfs
The code is mature and unlikely to change, but we are only
continuing to test the Jewel stable branch against btrfs. We
recommend moving these OSDs to FileStore with XFS or BlueStore."

[1] https://ceph.com/releases/v12-2-0-luminous-released/
---
 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 9251ea51..69489a70 100644
--- a/PVE/API2/Ceph.pm
+++ b/PVE/API2/Ceph.pm
@@ -207,7 +207,7 @@ __PACKAGE__->register_method ({
 	    fstype => {
 		description => "File system type (filestore only).",
 		type => 'string',
-		enum => ['xfs', 'ext4', 'btrfs'],
+		enum => ['xfs', 'ext4'],
 		default => 'xfs',
 		optional => 1,
 	    },
-- 
2.11.0





More information about the pve-devel mailing list