Doh!
The activate command needs the *osd* fsid, not the cluster fsid.
So this works:

   ceph-volume lvm activate 0 6608c0cf-3827-4967-94fd-5a3336f604c3

Is an "activate-all" equivalent planned?

-- Dan


On Tue, Dec 12, 2017 at 11:35 AM, Dan van der Ster <d...@vanderster.com> wrote:
> Hi all,
>
> Did anyone successfully prepare a new OSD with ceph-volume in 12.2.2?
>
> We are trying the simplest thing possible and not succeeding :(
>
> # ceph-volume lvm prepare --bluestore --data /dev/sdb
> # ceph-volume lvm list
>
> ====== osd.0 =======
>
>   [block]    
> /dev/ceph-4da6fd06-b069-49af-901f-c9513baabdbd/osd-block-6608c0cf-3827-4967-94fd-5a3336f604c3
>
>       type                      block
>       osd id                    0
>       cluster fsid              4da6fd06-b069-49af-901f-c9513baabdbd
>       cluster name              ceph
>       osd fsid                  6608c0cf-3827-4967-94fd-5a3336f604c3
>       block uuid                6HRKMQ-5O7f-SXMl-pwMr-xTwL-J103-uWCcWh
>       block device
> /dev/ceph-4da6fd06-b069-49af-901f-c9513baabdbd/osd-block-6608c0cf-3827-4967-94fd-5a3336f604c3
>
> # ceph-volume lvm activate 0 4da6fd06-b069-49af-901f-c9513baabdbd
> -->  RuntimeError: could not find osd.0 with fsid
> 4da6fd06-b069-49af-901f-c9513baabdbd
>
> Cheers, Dan
>
> P.S: ceph-disk --bluestore used to create separate partitions for
> block/db/wal, but ceph-volume seems to create one big data pv. Is that
> the recommended way forward?
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to