Hey Dan,
I had the same issue that Jacek had after changing my OS and Ceph version from Ubuntu 14 - Hammer to Centos 7 - Jewel. I was also able to recover from the failure by renaming the .ldb files to .sst files.
Do you know why this works?
Is it just because leveldb changed the file naming standard and it isn't backwards compatible with the older version on Centos?
Jake
On Mon, Dec 14, 2015 at 5:09 AM Jacek Jarosiewicz <jjarosiewicz@xxxxxxxxxxxxx> wrote:
On 12/10/2015 02:56 PM, Jacek Jarosiewicz wrote:
> On 12/10/2015 02:50 PM, Dan van der Ster wrote:
>> On Wed, Dec 9, 2015 at 1:25 PM, Jacek Jarosiewicz
>> <jjarosiewicz@xxxxxxxxxxxxx> wrote:
>>> 2015-12-09 13:11:51.171377 7fac03c7f880 -1
>>> filestore(/var/lib/ceph/osd/ceph-5) Error initializing leveldb :
>>> Corruption:
>>> 29 missing files; e.g.: /var/lib/ceph/osd/ceph-5/current/omap/046388.sst
>>
>> Did you have .lbd files? If so, this should make it work:
>>
>> rename -v .ldb .sst /var/lib/ceph/osd/ceph-5/current/omap/*.ldb
>>
>> Cheers, Dan
>>
>
> I will try that after reinstalling next node, I had to act quickly and
> this one is allready backfilling :)
>
> J
>
Renaming files did the trick! Thanks!
J
--
Jacek Jarosiewicz
Administrator Systemów Informatycznych
----------------------------------------------------------------------------------------
SUPERMEDIA Sp. z o.o. z siedzibą w Warszawie
ul. Senatorska 13/15, 00-075 Warszawa
Sąd Rejonowy dla m.st.Warszawy, XII Wydział Gospodarczy Krajowego
Rejestru Sądowego,
nr KRS 0000029537; kapitał zakładowy 42.756.000 zł
NIP: 957-05-49-503
Adres korespondencyjny: ul. Jubilerska 10, 04-190 Warszawa
----------------------------------------------------------------------------------------
SUPERMEDIA -> http://www.supermedia.pl
dostep do internetu - hosting - kolokacja - lacza - telefonia
_______________________________________________
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