proxmox ceph osd create

zkzk

New Member
Nov 19, 2018
15
0
1
32
Is it possible to create OSD and - journal_dev using existing disk partitions?
i create two partitions with fdisk on /dev/sdc
,however when i create osd by "pveceph createosd /dev/sdc2 -journal_dev /dev/sdc1 -bluestore 0"
it shows like

command '/sbin/zpool list -HPLv' failed: open3: exec of /sbin/zpool list -HPLv failed: No such file or directory at /usr/share/perl5/PVE/Tools.pm line 429.
unable to get device info for 'sdc2'

there is the partitions

NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT
sda 8:0 0 111.8G 0 disk
└─sda1 8:1 0 111.8G 0 part /
sdb 8:16 0 931.5G 0 disk
├─sdb1 8:17 0 46.6G 0 part
└─sdb2 8:18 0 884.9G 0 part
sdc 8:32 0 931.5G 0 disk
├─sdc1 8:33 0 46.6G 0 part
└─sdc2 8:34 0 884.9G 0 part

ceph -v
ceph version 12.2.10 (177915764b752804194937482a39e95e0ca3de94) luminous (stable)
 
Please try with ceph-disk, this case isn't supported by the pveceph tooling. Future releases will use ceph-volume and use LVM underneath, so this is subject to change.