The partition type code for a data partition is
4FBD7E29-9D25-41B8-AFD0-062C0CEFF05D
and the partition type code for a journal is
45B0969E-9B03-4F30-B4C6-5EC00CEFF106.
That will fix your udev rules and probably make systemctl recognize them.
What you need to do to remove the entries from your ceph.conf is to get
them mounting in their default location. That is /var/lib/ceph/osd/ceph-#/
and make sure that the journal symlink in your osds points to the proper
journal device. Usually try to do this by pointing it towards something
that will persist on reboots like /dev/disk/by-uuid/{guid}.

On Wed, Jan 17, 2018 at 11:22 AM Smith, Eric <eric.sm...@ccur.com> wrote:

> We had to update the OS / kernel, chown all the data to ceph:ceph, and
> update the partition type codes on both the OSDs and journals. After this
> udev and systemd brought them up automatically.
>
>
> ------------------------------
> *From:* ceph-users <ceph-users-boun...@lists.ceph.com> on behalf of
> Stefan Priebe - Profihost AG <s.pri...@profihost.ag>
> *Sent:* Wednesday, January 17, 2018 10:45 AM
> *To:* ceph-users@lists.ceph.com
> *Subject:* [ceph-users] how to update old pre ceph-deploy osds to current
> systemd way?
>
> Hello,
>
> i've some osds which were created under bobtail or argonaut (pre
> ceph-deploy).
>
> Those are not recognized as a ceph-osd@57.service . Also they have an
> entry in the ceph.conf:
>
> [osd.12]
>         host=1336
>         osd_data = /ceph/osd.$id/
>         osd_journal = /dev/disk/by-partlabel/journal$id
>
> Is there any way to migrate them?
>
> Greets,
> Stefan
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
> ceph-users Info Page
> <http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com>
> lists.ceph.com
> To see the collection of prior postings to the list, visit the ceph-users
> Archives. Using ceph-users: To post a message to all the list members, send
> ...
>
>
> _______________________________________________
> ceph-users mailing list
> ceph-users@lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
>
_______________________________________________
ceph-users mailing list
ceph-users@lists.ceph.com
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com

Reply via email to