[ceph-users] ceph osd after xfs repair only 50 percent data and osd won't start

Christian Wuerdig christian.wuerdig at gmail.com
Sun Nov 26 13:26:00 PST 2017


In filestore the journal is crucial for the operation of the OSD to
ensure consistency. If it's toast then so is the associated OSD in
most cases. I think people often overlook this fact when they share
many OSDs to a single journal drive to save cost.

On Sun, Nov 26, 2017 at 5:23 AM, Hauke Homburg <hhomburg at w3-creative.de> wrote:
> Hello List,
>
> Yesterday i repaired a Partition with an osd. I flushed and recreated
> the yournal. After This i saw that i only have 50 Percent of Data in the
> OSD. Now the OSD Daemon will not start. An enable of the Debug brings
>
> ceph tell osd.0 injectargs --debug-osd 0/5
> Error ENXIO: problem getting command descriptions from osd.0
>
> The last Log Entry of the osd:
>
> 2017-11-25 15:22:00.351424 7f146f95b800  1 journal check: header looks ok
> 2017-11-25 15:22:00.351433 7f146f95b800  1 journal close
> /var/lib/ceph/osd/ceph-0/journal
> 2017-11-25 15:22:00.351514 7f146f95b800 -1 created new journal
> /var/lib/ceph/osd/ceph-0/journal for object store /var/lib/ceph/osd/ceph-0
>
> i have set ceph osd noout.
>
> Can anybody help me to start the OSD Daemon? I guess the OSD daesn't
> start because the OSD has only 50% Data. IS this correct? How can i
> repair this? I tried unset noout but after this the OSD Crashed, too
>
> Hauke
>
> --
> www.w3-creative.de
>
> www.westchat.de
>
> https://friendica.westchat.de/profile/hauke
>
> _______________________________________________
> ceph-users mailing list
> ceph-users at lists.ceph.com
> http://lists.ceph.com/listinfo.cgi/ceph-users-ceph.com


More information about the ceph-users mailing list