https://tracker.ceph.com/https://tracker.ceph.com/favicon.ico2020-01-30T15:19:46ZCeph bluestore - Bug #42928: ceph-bluestore-tool bluefs-bdev-new-db does not update lv tagshttps://tracker.ceph.com/issues/42928?journal_id=1574762020-01-30T15:19:46ZSage Weilsage@newdream.net
<ul><li><strong>Assignee</strong> set to <i>Igor Fedotov</i></li></ul> bluestore - Bug #42928: ceph-bluestore-tool bluefs-bdev-new-db does not update lv tagshttps://tracker.ceph.com/issues/42928?journal_id=1636542020-04-21T14:14:22ZStefan Priebes.priebe@profihost.ag
<ul></ul><p>Those two tags are missing:<br />ceph.db_device=/dev/BLOCKDB<br />ceph.db_uuid=k7Oc64-aShi-Z4Y0-Opov-daQM-Vdue-kJpIAN</p> bluestore - Bug #42928: ceph-bluestore-tool bluefs-bdev-new-db does not update lv tagshttps://tracker.ceph.com/issues/42928?journal_id=1636582020-04-21T14:33:46ZStefan Priebes.priebe@profihost.ag
<ul></ul><p>is ceph.db_uuid the LVM uuid?</p> bluestore - Bug #42928: ceph-bluestore-tool bluefs-bdev-new-db does not update lv tagshttps://tracker.ceph.com/issues/42928?journal_id=1641382020-04-24T18:43:49ZStefan Priebes.priebe@profihost.ag
<ul></ul><p>OK i was able to solve this by using the lv tools and copy all lv flags from the block device to db and just chaning the ceph.type from block to db.</p>
<p>Thanks!</p> bluestore - Bug #42928: ceph-bluestore-tool bluefs-bdev-new-db does not update lv tagshttps://tracker.ceph.com/issues/42928?journal_id=1791782020-11-13T20:32:04ZSimon Pierre Desrosiers
<ul></ul><p>Quick question, what if the bluestore device is not an lvm device ? All my devices were created with luminous with ceph-deploy. I added the db device using bluestore, but the osd does not start on reboot ( I have to reset permission on the lvm device ). And I note that there are no rules in usr/lib/udev/rules.d/ anyway.</p> bluestore - Bug #42928: ceph-bluestore-tool bluefs-bdev-new-db does not update lv tagshttps://tracker.ceph.com/issues/42928?journal_id=1824212021-01-12T09:44:54ZGlen Baars
<ul></ul><p>Any way to determine the correct DB->Block arrangement after they are lost? I have a host that has hit this bug and am trying to recover it.</p> bluestore - Bug #42928: ceph-bluestore-tool bluefs-bdev-new-db does not update lv tagshttps://tracker.ceph.com/issues/42928?journal_id=1824232021-01-12T10:23:39ZGlen Baars
<ul></ul><p>to answer my question - head -n 2 /dev/vg/lv will give the block device uuid</p> bluestore - Bug #42928: ceph-bluestore-tool bluefs-bdev-new-db does not update lv tagshttps://tracker.ceph.com/issues/42928?journal_id=1861882021-03-01T09:15:06ZIgor Fedotovigor.fedotov@croit.io
<ul></ul><p>Related patch in ceph-volume: <a class="external" href="https://github.com/ceph/ceph/pull/39580">https://github.com/ceph/ceph/pull/39580</a></p> bluestore - Bug #42928: ceph-bluestore-tool bluefs-bdev-new-db does not update lv tagshttps://tracker.ceph.com/issues/42928?journal_id=1954092021-05-18T12:54:43ZIgor Fedotovigor.fedotov@croit.io
<ul><li><strong>Related to</strong> <i><a class="issue tracker-1 status-3 priority-4 priority-default closed" href="/issues/49554">Bug #49554</a>: add ceph-volume lvm [new-db|new-wal|migrate] commands</i> added</li></ul> bluestore - Bug #42928: ceph-bluestore-tool bluefs-bdev-new-db does not update lv tagshttps://tracker.ceph.com/issues/42928?journal_id=1954182021-05-18T12:58:16ZIgor Fedotovigor.fedotov@croit.io
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Closed</i></li></ul><p>Complete bluefs volume migration is now implemented at ceph-volume level. See <a class="external" href="https://github.com/ceph/ceph/pull/39580">https://github.com/ceph/ceph/pull/39580</a><br />ceph-bluestore-tool's migrate command just implements the actual copying and ceph-volume handles LVM tags on its own.<br />Hence closing this ticket.</p> bluestore - Bug #42928: ceph-bluestore-tool bluefs-bdev-new-db does not update lv tagshttps://tracker.ceph.com/issues/42928?journal_id=2454722023-08-31T15:15:58ZIgor Fedotovigor.fedotov@croit.io
<ul><li><strong>Duplicated by</strong> <i><a class="issue tracker-1 status-1 priority-4 priority-default" href="/issues/62593">Bug #62593</a>: ceph-bluestore-tool bluefs-bdev-new-db creates block.db symlink to non-persistent /dev/dm-## instead of given and stable /dev/VG_NMAE/LV_NAME path</i> added</li></ul>