导出对象的方法:
1、 stop ceph-osd id=x
2、 ceph-objectstore-tool --data-path /var/lib/ceph/osd/ceph-x --journal-path /var/lib/ceph/osd/ceph-x/journal --type filestore --pgid xxx --op export --file xxx.txt
问题现象:
使用ceph-objectstore-tool在导出PG中的数据的过程中,出现Teminated,导致导出数据失败。如图所示:
修正方法:
在ceph-objectstore-tool中追加signal处理函数