Did you wipe all of the existing partitions and such first?  Which version
of ceph?  The below commands are what I ran to re-add my osds as bluestore
after moving all data off of them.

ceph-volume lvm zap /dev/sdb
ceph-volume lvm create --bluestore --data /dev/sdb

On Thu, Jan 25, 2018 at 9:41 PM Nathan Dehnel <[email protected]> wrote:

> The doc at
> http://docs.ceph.com/docs/master/ceph-volume/lvm/prepare/#ceph-volume-lvm-prepare
> says I can pass a physical device to ceph-volume. But when I try to do that:
>
> gentooserver ~ # ceph-volume lvm create --bluestore --data /dev/sdb
> usage: ceph-volume lvm create [-h] [--journal JOURNAL] --data DATA
>                               [--journal-size GB] [--bluestore]
> [--filestore]
>                               [--osd-id OSD_ID] [--osd-fsid OSD_FSID]
> ceph-volume lvm create: error: Logical volume must be specified as
> 'volume_group/logical_volume' but got: /dev/sdb
>
> Am I missing something?
> _______________________________________________
> ceph-users mailing list
> [email protected]
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to