Hi,

If it’s problem with UUID of partition You can use this commands:



sgdisk --change-name={journal_partition_number}:'ceph journal' 
--typecode={journal_partition_number}:45b0969e-9b03-4f30-b4c6-b4b80ceff106 
--mbrtogpt -- /dev/{journal_device}

sgdisk --change-name={data_partition_number}:'ceph data'  
--typecode=1:4FBD7E29-9D25-41B8-AFD0-062C0CEFF05D --mbrtogpt /dev/{data_device}



Just adjust {journal_partition_number}, {journal_device}, 
{data_partition_number} and {data_device}.



After this ‘ceph-disk list’ should show proper list of Your devices.



Regards

Mateusz



From: ceph-users [mailto:ceph-users-boun...@lists.ceph.com] On Behalf Of David 
Turner
Sent: Wednesday, September 5, 2018 8:12 PM
To: Pardhiv Karri <meher4in...@gmail.com>
Cc: ceph-users <ceph-users@lists.ceph.com>; ceph-commun...@lists.ceph.com
Subject: Re: [ceph-users] [Ceph-community] How to setup Ceph OSD auto boot up 
on node reboot



The magic sauce to get Filestore OSDs to start on a node reboot is to make sure 
that all of your udev magic is correct.  In particular you need to have the 
correct UUID set for all partitions.  I haven't dealt with it in a long time, 
but I've written up a few good ML responses about it.



On Tue, Sep 4, 2018 at 12:38 PM Pardhiv Karri 
<meher4in...@gmail.com<mailto:meher4in...@gmail.com>> wrote:

   Hi,



   I created a ceph cluster  manually (not using ceph-deploy). When I reboot 
the node the osd's doesn't come backup because the OS doesn't know that it need 
to bring up the OSD. I am running this on Ubuntu 1604. Is there a standardized 
way to initiate ceph osd start on node reboot?

   "sudo start ceph-osd-all" isn't working well and doesn't like the idea of 
"sudo start ceph-osd id=1" for each OSD in rc file.Need to do it for both 
Hammer (Ubuntu 1404) and Luminous (Ubuntu 1604).

   --

   Thanks,

   Pardhiv Karri
   "Rise and Rise again until LAMBS become LIONS"



   _______________________________________________
   Ceph-community mailing list
   ceph-commun...@lists.ceph.com<mailto:ceph-commun...@lists.ceph.com>
   http://lists.ceph.com/listinfo.cgi/ceph-community-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