pve5 couldn't create ceph osd with btrfs filestore

hrens

Member
Jun 23, 2014
1
0
21
pve-manager version: 5.2-7
When I try to create ceph osd with btrfs filestore, I got an error:

pveceph createosd /dev/sdf --bluestore=0 --fstype=btrfs
create OSD on /dev/sdf (btrfs)
Creating new GPT entries.
GPT data structures destroyed! You may now partition the disk using fdisk or
other utilities.
Creating new GPT entries.
The operation has completed successfully.
Setting name!
partNum is 0
REALLY setting name!
The operation has completed successfully.
WARNING: --leafsize is deprecated, use --nodesize
ERROR: cannot check mount status of /dev/sdf1: Not a directory
btrfs-progs v4.7.3
'/sbin/mkfs -t btrfs -f -m single -l 32768 -n 32768 -- /dev/sdf1' failed with status code 1
command 'ceph-disk prepare --zap-disk --cluster ceph --cluster-uuid 7b50c376-f549-4039-8f90-92b8c76475f9 --filestore --fs-type btrfs /dev/sdf' failed: exit code 1

I've try to execute this command manually and got an error message:
/sbin/mkfs -t btrfs -f -m single -l 32768 -n 32768 -- /dev/sdf1
WARNING: --leafsize is deprecated, use --nodesize
btrfs-progs v4.7.3
ERROR: cannot check mount status of /dev/sdf1: Not a directory


Is there any solution, how to create create ceph osd with btrfs filestore ?
It was works fine on earlier pve4.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!