[ovirt-users] how to attach lvm device to VM ?

Fred Rolland frolland at redhat.com
Thu Mar 16 21:06:22 UTC 2017


What you are trying to do is not supported in oVirt.
You cannot have local disks unless all the DC is configured with local
storage.

Like you mentioned, the engine and VDSM are not aware of this disk and
therefore no operation are supported (snapshot, copy, move...)

On Thu, Mar 16, 2017 at 3:41 PM, TranceWorldLogic . <
tranceworldlogic at gmail.com> wrote:

> Hi,
>
> I have created LVM partition in host.
> I don't want that partition to act as storage domain in ovirt, but I want
> to attach that partition to VM.
>
> So I used virsh command to attach device to VM and it was successfully
> attached (block device as raw type).
> But when I tried to take snapshot of VM from Ovirt, it fail to get
> snapshot.
>
> I think it may be due to vdsm as it is not aware of newly attached lvm
> device.
>
> Can someone help me to know another way to attach device to VM in Ovirt?
> I tried with vdsClient but not got idea or command that will attach device
> to VM.
>
> Thanks,
> ~Rohit
>
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20170316/dc99b2cd/attachment-0001.html>


More information about the Users mailing list