Re: [Ceph-community] How to setup Ceph OSD auto boot up on node reboot

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

 



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-bounces@xxxxxxxxxxxxxx] On Behalf Of David Turner
Sent: Wednesday, September 5, 2018 8:12 PM
To: Pardhiv Karri <meher4india@xxxxxxxxx>
Cc: ceph-users <ceph-users@xxxxxxxxxxxxxx>; ceph-community@xxxxxxxxxxxxxx
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 <meher4india@xxxxxxxxx> 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-community@xxxxxxxxxxxxxx
http://lists.ceph.com/listinfo.cgi/ceph-community-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]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux