# filestore -\> bluestore migration

**URL:** <https://forums.suse.com/t/filestore-bluestore-migration/30643>\
**Category:** SUSE Enterprise Storage\
**Created:** [December 7, 2017, 3:23pm UTC](https://forums.suse.com/t/filestore-bluestore-migration/30643 "2017-12-07T15:23:31Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![thsundel](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@thsundel](https://forums.suse.com/u/thsundel)\
**Post date:** [December 7, 2017, 3:23pm UTC](https://forums.suse.com/t/filestore-bluestore-migration/30643/1 "2017-12-07T15:23:31Z")

</div>

Hi all,  
wondering if the documentation ( [https://www.suse.com/documentation/suse-enterprise-storage-5/book\_storage\_deployment/data/ceph\_upgrade\_4to5.html#filestore2bluestore](https://www.suse.com/documentation/suse-enterprise-storage-5/book_storage_deployment/data/ceph_upgrade_4to5.html#filestore2bluestore) ) how to migrate from filestore to bluestore is complete because it doesn’t seem to do anything in our environment?

Ran salt-run state.orch ceph.migrate.policy and that one did create a new “migrated-” directory which content looks okay but policy.cfg looks like it did prior.

So I guess we need to update the profile section in policy.cfg to reference to the new “migrated-” directory?

Thomas

---

<div class="post-metadata">

**Author:** ![thsundel](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@thsundel](https://forums.suse.com/u/thsundel)\
**Post date:** [December 7, 2017, 3:48pm UTC](https://forums.suse.com/t/filestore-bluestore-migration/30643/2 "2017-12-07T15:48:43Z")

</div>

[QUOTE=thsundel;40484]Hi all,  
wondering if the documentation ( [https://www.suse.com/documentation/suse-enterprise-storage-5/book\_storage\_deployment/data/ceph\_upgrade\_4to5.html#filestore2bluestore](https://www.suse.com/documentation/suse-enterprise-storage-5/book_storage_deployment/data/ceph_upgrade_4to5.html#filestore2bluestore) ) how to migrate from filestore to bluestore is complete because it doesn’t seem to do anything in our environment?

Ran salt-run state.orch ceph.migrate.policy and that one did create a new “migrated-” directory which content looks okay but policy.cfg looks like it did prior.

So I guess we need to update the profile section in policy.cfg to reference to the new “migrated-” directory?

Thomas[/QUOTE]

So I edited the policy to point to the new migrated directory but that didn’t help.

Thomas

---

<div class="post-metadata">

**Author:** ![thsundel](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@thsundel](https://forums.suse.com/u/thsundel)\
**Post date:** [December 7, 2017, 5:00pm UTC](https://forums.suse.com/t/filestore-bluestore-migration/30643/3 "2017-12-07T17:00:06Z")

</div>

[QUOTE=thsundel;40485]So I edited the policy to point to the new migrated directory but that didn’t help.

Thomas[/QUOTE]

I now I also found a profile-default directory that contains more information like db: db\_size: format: wal: wal\_size in the yml files… Maybe those dirs are what needs to be set in policy.cfg…

Thomas

---

<div class="post-metadata">

**Author:** ![thsundel](https://avatars.discourse-cdn.com/v4/letter/t/13edae/32.png) [@thsundel](https://forums.suse.com/u/thsundel)\
**Post date:** [December 12, 2017, 4:22pm UTC](https://forums.suse.com/t/filestore-bluestore-migration/30643/4 "2017-12-12T16:22:36Z")

</div>

[QUOTE=thsundel;40487]I now I also found a profile-default directory that contains more information like db: db\_size: format: wal: wal\_size in the yml files… Maybe those dirs are what needs to be set in policy.cfg…

Thomas[/QUOTE]

There were some issues with the profile, fixed those and ran salt-run state.orch ceph.stage.2 and after that salt-run state.orch ceph.migrate.osds went through.

Now on bluestore.

Thomas
