[one-users] lvm, configure oneimage

haseningo at gmx.de haseningo at gmx.de
Mon Jul 23 00:44:26 PDT 2012


Hi Jamie,

thank you for the advice. I need the link directly, so I decided to do the following change:

changed: /var/lib/one-old/remotes/tm/shared/ln

< SRC_PATH="../../${SRC_PATH##"$DS_DIR/"}"
---
> #SRC_PATH="../../${SRC_PATH##"$DS_DIR/"}"

bye

Stefan

-------- Original-Nachricht --------
> Datum: Wed, 18 Jul 2012 16:25:34 +0200
> Von: Jaime Melis <jmelis at opennebula.org>
> An: haseningo at gmx.de
> CC: users at lists.opennebula.org
> Betreff: Re: [one-users] lvm, configure oneimage

> 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


More information about the Users mailing list