summaryrefslogtreecommitdiffstats
path: root/src/tools/rbd_recover_tool/FAQ
blob: 1655e8530413c3df74eed0a2a4021cb0b05d5458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# author: min chen(minchen@ubuntukylin.com) 2014 2015

1. error "get_image_metadata_v2: no meta_header_seq input"
cause: 
  database is old, refresh database
solution:
  ./rbd-recover-tool database

2. Error initializing leveldb: IO error: lock /var/lib/ceph/osd/ceph-0/current/omap/LOCK: Resource temporarily unavailable
   ERROR: error flushing journal /var/lib/ceph/osd/ceph-0/journal for object store /var/lib/ceph/osd/ceph-0: (1) Operation not permitted
cause: 
  when ./rbd-recover-tool database is interrupted , but command has been sent to each osd node, and there is a process reading leveldb and it is LOCKED
  if run ./rbd-recover-tool database again, all command are sent to osd nodes again, while previous process is locking leveldb, so all new command
  are failed.
solution:
  wait until all previous command finished.