<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<STYLE>
BLOCKQUOTE {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px; MARGIN-LEFT: 2em
}
OL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
UL {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
DIV.FoxDiv20121109105205879469 {
COLOR: #000000
}
P {
MARGIN-TOP: 0px; MARGIN-BOTTOM: 0px
}
BODY {
LINE-HEIGHT: 1.5; FONT-FAMILY: 微软雅黑; COLOR: #000080; FONT-SIZE: 10.5pt
}
</STYLE>
<META name=GENERATOR content="MSHTML 9.00.8112.16450"></HEAD>
<BODY style="MARGIN: 10px">
<DIV>Thank you.</DIV>
<DIV> </DIV>
<HR style="WIDTH: 210px; HEIGHT: 1px" align=left color=#b5c4df SIZE=1>
<DIV><SPAN>zouxinzhe</SPAN></DIV>
<DIV> </DIV>
<DIV
style="BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0cm; PADDING-LEFT: 0cm; PADDING-RIGHT: 0cm; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<DIV
style="PADDING-BOTTOM: 8px; PADDING-LEFT: 8px; PADDING-RIGHT: 8px; BACKGROUND: #efefef; COLOR: #000000; FONT-SIZE: 12px; PADDING-TOP: 8px">
<DIV><B>From:</B> <A href="mailto:rsmontero@opennebula.org">Ruben S.
Montero</A></DIV>
<DIV><B>Date:</B> 2012-11-09 06:20</DIV>
<DIV><B>To:</B> <A href="mailto:zouxinzhe@gmail.com">zouxinzhe</A></DIV>
<DIV><B>CC:</B> <A href="mailto:jmelis@opennebula.org">Jaime Melis</A>; <A
href="mailto:users@lists.opennebula.org">Users OpenNebula</A></DIV>
<DIV><B>Subject:</B> Re: [one-users] OpenNebula won't keep the disk after
detached</DIV></DIV></DIV>
<DIV>
<DIV class=FoxDiv20121109105205879469>Hi
<DIV><BR></DIV>
<DIV>Detach will perform a standard epilog action (i.e. as with any other disks
when you shutdown the VM). so,</DIV>
<DIV><BR></DIV>
<DIV>- If the disk is non-persistent it will be removed from the host
(deleted)</DIV>
<DIV>- If the disk is persistent it will be moved back to the datasotre</DIV>
<DIV><BR></DIV>
<DIV>Cheers</DIV>
<DIV><BR></DIV>
<DIV>Ruben</DIV>
<DIV class=gmail_extra><BR><BR>
<DIV class=gmail_quote>On Fri, Nov 2, 2012 at 11:27 AM, zouxinzhe <SPAN
dir=ltr><<A href="mailto:zouxinzhe@gmail.com"
target=_blank>zouxinzhe@gmail.com</A>></SPAN> wrote:<BR>
<BLOCKQUOTE
style="BORDER-LEFT: #ccc 1px solid; MARGIN: 0px 0px 0px 0.8ex; PADDING-LEFT: 1ex"
class=gmail_quote><U></U>
<DIV style="MARGIN: 10px">
<DIV>
<DIV>Hi,</DIV>
<DIV>I find another problem that OpenNebula will not keep disk<STRONG
style="FONT-FAMILY: 宋体; FONT-SIZE: 10.5pt"> <SPAN>I attach to VM when I detach
it. </SPAN></STRONG></DIV>
<DIV><STRONG style="FONT-FAMILY: 宋体; FONT-SIZE: 10.5pt"><SPAN>Everytime I
detach a disk ,OpenNebula will remove the snapshot(my datastore is LVM). But
it seems more </SPAN></STRONG><STRONG><FONT
style="FONT-FAMILY: 宋体; FONT-SIZE: 10.5pt; FONT-WEIGHT: normal" color=#000001
size=1 face=""><SPAN>improtant to keep my old disk if I wanna use
it</SPAN><SPAN> on another VM.</SPAN></FONT></STRONG></DIV>
<DIV><STRONG><FONT
style="FONT-FAMILY: 宋体; FONT-SIZE: 10.5pt; FONT-WEIGHT: normal" color=#000001
size=1 face=""><SPAN>Could anyone explain this
design?</SPAN></FONT></STRONG></DIV></DIV>
<DIV> </DIV>
<HR style="MIN-HEIGHT: 1px; WIDTH: 210px" align=left color=#b5c4df SIZE=1>
<SPAN class=HOEnZb><FONT color=#888888>
<DIV><SPAN>zouxinzhe</SPAN></DIV></FONT></SPAN></DIV><BR>_______________________________________________<BR>Users
mailing list<BR><A
href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</A><BR><A
href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org"
target=_blank>http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</A><BR><BR></BLOCKQUOTE></DIV><BR><BR
clear=all>
<DIV><BR></DIV>-- <BR>Ruben S. Montero, PhD<BR>Project co-Lead and Chief
Architect<BR>OpenNebula - The Open Source Solution for Data Center
Virtualization<BR><A href="http://www.OpenNebula.org"
target=_blank>www.OpenNebula.org</A> | <A href="mailto:rsmontero@opennebula.org"
target=_blank>rsmontero@opennebula.org</A> |
@OpenNebula<BR></DIV></DIV></DIV></BODY></HTML>