Re: ceph-volume lvm activate could not find osd..0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <dan@xxxxxxxxxxxxxx> 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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com



[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux