[one-users] lvm, configure oneimage

Jaime Melis jmelis at opennebula.org
Wed Jul 18 07:25:34 PDT 2012


Hello,

Take a look at this thread, it covers an explanation on why SOURCE
shouldn't be used, and what's the proper workflow.

http://lists.opennebula.org/pipermail/users-opennebula.org/2012-July/009546.html

Cheers,
Jaime

On Wed, Jul 18, 2012 at 4:20 PM, <haseningo at gmx.de> wrote:

> Hi,
>
> if I use the source this way "../../../../dev/one_vm/windowstest" it
> works, but that is very uncomfortable.
>
> bye
>
> Stefan
>
> -------- Original-Nachricht --------
> > Datum: Tue, 17 Jul 2012 11:16:55 +0200
> > Von: haseningo at gmx.de
> > An: users at lists.opennebula.org
> > Betreff: [one-users] lvm, configure oneimage
>
> > Hi everybody,
> >
> > my configuration:
> >
> > 1 iscsi device which has a LVM on top. over the nodes I have configured
> > clvm. everything is fine, if I created a new lvm-device, every node can
> > access this new image.
> > now I want to configure my existing blockdevices to my virtual machines.
> > For example my blockdevice is this:
> >
> > /dev/one_vm/windowstest (ACTIVE '/dev/one_vm/windowstest' [40.00 GiB]
> > inherit)
> >
> > How can I configure opennebula (oneimage) to use this device? I
> configured
> > the lvm-driver in oned.conf and changed the default lvm name in
> > opennebula. New lvm-blockdevices will created by opennebula in my
> lvm-cluster, great.
> > But how can I use existing devices?
> >
> > Error-message:
> > ####
> > Tue Jul 17 10:58:50 2012 [VMM][D]: Message received: LOG I 20 error:
> > internal error process exited while connecting to monitor: kvm: -drive
> >
> file=/var/lib/one//datastores/0/20/disk.3,if=none,id=drive-virtio-disk3,format=raw,cache=none:
> > could not open disk image /var/lib/one//datastores/0/20/disk.3: No such
> > file or directory
> > ####
> >
> > The symlink is not correct.
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>



-- 
Jaime Melis
Project Engineer
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | jmelis at opennebula.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20120718/d09628d3/attachment-0003.htm>


More information about the Users mailing list