Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support block.wal in not-PVC deployment #14142

Open
chenyuanrun opened this issue Apr 30, 2024 · 3 comments
Open

Support block.wal in not-PVC deployment #14142

chenyuanrun opened this issue Apr 30, 2024 · 3 comments
Labels

Comments

@chenyuanrun
Copy link

Rook seems support block.wal only if the osd is running under PVC, It would be better if we can use block.wal for high speed devices in host.

Is this a bug report or feature request?

  • Feature Request

What should the feature do:

What is use case behind this feature:

Environment:

@travisn
Copy link
Member

travisn commented Apr 30, 2024

Have you tried with the metadataDevice setting? This

  storage:
    config:
      metadataDevice: nvme01

The config section can also be under the nodes, like this:

  storage:
    nodes:
    - name: node1
      config:
        metadataDevice: nvme01

This will pass the device to the ceph-volume arg --db-devices. IIRC ceph will also put the wal on this metadata device as well. But if you really want the wal on a separate device, you're correct I don't see that option.
@satoru-takeuchi Is that correct?

@satoru-takeuchi
Copy link
Member

@chenyuanrun
Copy link
Author

@travisn Yes I mean use a separate device for wal, I have checked the code of rook and I confirm that rook support only ONE metadata device for both db and wal for non-PVC disk, but if you use PVC for osd, you can use separate wal device.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants