Project

General

Profile

Feature #1484

libvirt: map rbd via kernel driver

Added by Sage Weil almost 8 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
08/31/2011
Due date:
% Done:

0%

Spent time:
Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

this should share a common image description schema as the qemu driver. we can treat qemu+librbd as a (preferred) optimization, as long as we have an option to force use of the kernel driver or librbd (and have the latter fail on non-qemu hypervisors). Something along the lines of type = {krbd, librbd, auto}.

History

#1 Updated by Sage Weil almost 8 years ago

  • Target version deleted (v0.37)
  • translation missing: en.field_position set to 1

#2 Updated by Sage Weil almost 8 years ago

  • translation missing: en.field_position deleted (13)
  • translation missing: en.field_position set to 12

#3 Updated by Sage Weil almost 8 years ago

  • translation missing: en.field_position deleted (13)
  • translation missing: en.field_position set to 12

#4 Updated by Sage Weil almost 8 years ago

  • translation missing: en.field_position deleted (46)
  • translation missing: en.field_position set to 13

#5 Updated by Wido den Hollander over 7 years ago

In the current design of libvirt I don't see how you could achieve this.

With my storage pool work I found out that you can only start and stop an entire storage pool inside libvirt.

This would be you would (un)map all images inside a specific pool, you can't start (map) or stop (unmap) just one image.

If you are talking about mapping an image to a virtual machine, I'm not aware of any hooks you can execute, but why would you? You can pass down /dev/rbd0 as a device to a guest, you just need some way to get it mapped, that's the hardest part.

#6 Updated by Sage Weil about 7 years ago

  • Project changed from Ceph to rbd
  • Category deleted (libvirt)

#7 Updated by Sage Weil about 7 years ago

  • translation missing: en.field_position deleted (319)
  • translation missing: en.field_position set to 1326

#8 Updated by Jason Dillaman over 2 years ago

  • Status changed from New to Rejected

Not a high-priority objective for RBD

Also available in: Atom PDF