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:[email protected]] On Behalf Of David
Turner
Sent: Wednesday, September 5, 2018 8:12 PM
To: Pardhiv Karri <[email protected]>
Cc: ceph-users <[email protected]>; [email protected]
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
<[email protected]<mailto:[email protected]>> 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
[email protected]<mailto:[email protected]>
http://lists.ceph.com/listinfo.cgi/ceph-community-ceph.com
_______________________________________________
ceph-users mailing list
[email protected]
http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com