Yes, if you mark your disk as non-persistent and it is *not* deleted this
is a bug. Check:

http://dev.opennebula.org/issues/1635

You may want to try the modifications to the LVM drivers that are part of:

http://dev.opennebula.org/projects/opennebula/repository/revisions/6ce0a5b07986440b19b0bfd745f2ec1c25a38360

Cheers

Ruben


On Fri, Nov 9, 2012 at 3:58 AM, zouxinzhe <[email protected]> wrote:

> ** ****
> It's maybe not a bug,because I set my disk as non-persistent.
> Thank you very much.
>
> ------------------------------
> zouxinzhe
>
>  *From:* Mark Petersen <[email protected]>
> *Date:* 2012-11-09 07:24
> *To:* zouxinzhe <[email protected]>; Jaime Melis <[email protected]>
> *CC:* Users OpenNebula <[email protected]>
> *Subject:* RE: [one-users] OpenNebula won't keep the disk after detached
>  ****
>
> Which version of OpenNebula?  There is/was a bug with LVM (assuming it’s a
> persistent disk image) where it would remove non-snapshots as well as
> snapshots.  There’s  a patch to fix it but I don’t believe it made into
> 3.6.  If it’s not a persistent image it will be removed by design.****
>
> mark****
>
> *From:* [email protected] [mailto:
> [email protected]] *On Behalf Of *zouxinzhe
> *Sent:* Friday, November 02, 2012 5:27 AM
> *To:* Jaime Melis
> *Cc:* Users OpenNebula
> *Subject:* [one-users] OpenNebula won't keep the disk after detached****
>
> ** **
>
> Hi,****
>
> I find another problem that OpenNebula will not keep disk* I attach to VM
> when I detach it. *****
>
> *Everytime I detach a disk ,OpenNebula will remove the snapshot(my
> datastore is LVM). But it seems more **improtant to keep my old disk if I
> wanna use it on another VM.*****
>
> *Could anyone explain this design?*****
>
>  ****
>  ------------------------------
>
> zouxinzhe****
> ------------------------------
> See http://www.peak6.com/email_disclaimer/ for terms and conditions
> related to this email
>
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Ruben S. Montero, PhD
Project co-Lead and Chief Architect
OpenNebula - The Open Source Solution for Data Center Virtualization
www.OpenNebula.org | [email protected] | @OpenNebula
_______________________________________________
Users mailing list
[email protected]
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to