I really should read these emails more carefully... Sorry, thanks for pointing that out. I haven't done the filestore migration per OSD. I created a filestore OSD in my lab setup to play around with ceph-objectstore-tool but I couldn't find anything except for '--op dup' but it's not really clear what exactly that does. I figured it could be something like "duplicate" and tried a couple of different approaches but none of them succeeded. Maybe someone else has more insights. Zitat von Chris Dunlop <chris@onthe.net.au>:
Hi Eugen,
Reminder: I'm looking for guidance / hints on how to migrate from filestore to bluestore using a "per-osd device copy":
https://docs.ceph.com/en/latest/rados/operations/bluestore-migration/#per-os...
On Fri, Oct 09, 2020 at 07:03:33AM +0000, Eugen Block wrote:
I think by "copy function" would be the "bluefs-bdev-migrate" command from ceph-bluestore-tool, this is an excerpt from the man paage:
It looks like ceph-bluestore-tool is purely about dealing with bluestore osds, there's no facility to migrate from filestore to bluestore.
There have been several threads about the process on this list, I don't have a link at hand right now.
I've not been able to find any threads relating to migrating from filestore to bluestore using a per-osd device copy - i.e. where the osd data is copied directly from an original filestore store to a new bluestore store, then the new store "becomes" the original osd.
The advantage of doing this would be to remove the rebalancing involved in the simple method of creating a new bluestore osd and marking out the old filestore osd (then rinse and repeat until all filestores have been replaced).
Cheers,
Chris