Re: how to update old pre ceph-deploy osds to current systemd way?

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

 



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.Smith@xxxxxxxx> 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-bounces@xxxxxxxxxxxxxx> on behalf of Stefan Priebe - Profihost AG <s.priebe@xxxxxxxxxxxx>
Sent: Wednesday, January 17, 2018 10:45 AM
To: ceph-users@xxxxxxxxxxxxxx
Subject: 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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-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@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com
_______________________________________________
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]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux