[SOLVED] LVM KVM?


Recommended Posts

Can I pass LVM to KVM?

I don't want to use .img .qcow or .raw files.

 

In virtualbox You can use a partition as disk VM

 

Can I use the same in KVM + unraid?

How I format a drive to apply LVM?

 

We do not have support for LVM at this time.

Link to comment

Solved,

 

KVM support LVM passthru

 

example

 

< disk type='block' device='disk' >

< source dev='/dev/vgpool/test'/ >

 

you need to create manually the LVM struct from unraid

 

The Drive is OUT of the array, SNAP plugin  Not support LVM I think.

 

Work well but performance it's not improved :(

Link to comment
  • 7 months later...

Any chance to see this in upcoming releases ?

Meh, I played with LVM and was not impressed at all. Doubt we will include official support for it any time soon.  If someone can prove / show a use case for it, we could consider working on it, but for now, it seems like a lot of work to test and maintain with very little real benefit.  There are tons of things we COULD do with VM storage, but why should we when there are other areas needing much more attention.

Link to comment

Any chance to see this in upcoming releases ?

Meh, I played with LVM and was not impressed at all. Doubt we will include official support for it any time soon.  If someone can prove / show a use case for it, we could consider working on it, but for now, it seems like a lot of work to test and maintain with very little real benefit.  There are tons of things we COULD do with VM storage, but why should we when there are other areas needing much more attention.

 

Like SSD Performance  ;D

Link to comment

Any chance to see this in upcoming releases ?

Meh, I played with LVM and was not impressed at all. Doubt we will include official support for it any time soon.  If someone can prove / show a use case for it, we could consider working on it, but for now, it seems like a lot of work to test and maintain with very little real benefit.  There are tons of things we COULD do with VM storage, but why should we when there are other areas needing much more attention.

 

Like SSD Performance  ;D

?  How so. My tests didn't show that and when multiple VMs are in an LVM, I don't think it scales very well. Plus, shouldn't you just buy an SSD?

Link to comment

Any chance to see this in upcoming releases ?

Meh, I played with LVM and was not impressed at all. Doubt we will include official support for it any time soon.  If someone can prove / show a use case for it, we could consider working on it, but for now, it seems like a lot of work to test and maintain with very little real benefit.  There are tons of things we COULD do with VM storage, but why should we when there are other areas needing much more attention.

 

Like SSD Performance  ;D

?  How so. My tests didn't show that and when multiple VMs are in an LVM, I don't think it scales very well. Plus, shouldn't you just buy an SSD?

 

Sorry, I was implying that SSD performance should be further up the list of 'things to do' than LVM support.

Link to comment

I have now added my 2:nd SSD and use that as LVM volume, I used dd to migrate a exixting VM from my  SSD-1 to the LVM on SSD-2

 

Question are how to do a performance test for these 2 VM ?

 

 

root@Tower:~# lvscan
  ACTIVE            '/dev/vm-disk/OSX' [90.00 GiB] inherit
  ACTIVE            '/dev/vm-disk/Backup' [15.00 GiB] inherit

 

root@Tower:~# pvdisplay
  --- Physical volume ---
  PV Name               /dev/sdm1
  VG Name               vm-disk
  PV Size               119.24 GiB / not usable 3.34 MiB
  Allocatable           yes
  PE Size               4.00 MiB
  Total PE              30525
  Free PE               3645
  Allocated PE          26880
  PV UUID               N8Mff2-kkCL-xoWi-wBil-8mw0-Iv5t-TLpDA8

//Peter

 

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.