OSD recovery problem

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

 



Hi,

I extracted a disk with two partitions (journal and data) and copied its content in the hope to restart the OSD and recover its content.

   mount /dev/sdb1 /mnt
   rsync -avH --numeric-ids /mnt/ /var/lib/ceph/osd/ceph-$(cat /mnt/whoami)/
   rm /var/lib/ceph/osd/ceph-$(cat /mnt/whoami)/journal
   dd if=/dev/sdb2 of=/var/lib/ceph/osd/ceph-$(cat /mnt/whoami)/journal

and then

   start ceph-osd id=$(cat /mnt/whoami)

It crashes on https://github.com/ceph/ceph/blob/v0.72.2/src/osd/PG.cc#L2182 and before it happens there is

   load_pgs ignoring unrecognized meta

and the full "debug osd = 20" logs are in http://paste.ubuntu.com/7746993/ and this is

root at bm4202:/etc/ceph# dpkg -l | grep ceph
ii  ceph                        0.72.2-1trusty     amd64              distributed storage and file system
ii  ceph-common                 0.72.2-1trusty     amd64              common utilities to mount and interact with a ceph storage
ii  python-ceph                 0.72.2-1trusty     amd64              Python libraries for the Ceph distributed filesystem
root at bm4202:/etc/ceph# ceph --version
ceph version 0.72.2 (a913ded2ff138aefb8cb84d347d72164099cfd60)

Cheers
-- 
Lo?c Dachary, Artisan Logiciel Libre

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.ceph.com/pipermail/ceph-users-ceph.com/attachments/20140704/52647adb/attachment.pgp>


[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