Hi,<div><br></div><div>Sorry to bring this up again. Now i am trying the clonezilla method to downsize one of my VM. I have created a smaller storage volume and added to the VM. I boot up wih clonezilla but have issue cloning the drive over. Should I use Disk-Image or Device-Device?</div>
<div><br></div><div>Please advise.</div><div><br></div><div>Thanks!</div><div><br></div><div>Yongsan<br><br><div class="gmail_quote">On Mon, Feb 7, 2011 at 3:09 AM, compdoc <span dir="ltr"><<a href="mailto:compdoc@hotrodpc.com">compdoc@hotrodpc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt">Well, I can tell you how I do it. Might help…</span></font></p>
<p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt"> </span></font></p><p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt">1) create a new storage volume of the size you want with Virtual Manager. (Host details>Storage tab)</span></font></p>
<p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt"> </span></font></p><p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt">2) shut down the VM and add the new volume to the VM ( it now has two virtual drives - the original and the new)</span></font></p>
<p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt"> </span></font></p><p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt">3) boot with clonezilla, clone one drive to the other. Then boot gparted and resize as needed</span></font></p>
<p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt"> </span></font></p><p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt">4) delete both drives from the vm, and then add back the new volume. Boot.</span></font></p>
<p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt"> </span></font></p><p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt">5) keep the old, smaller volume around for a while as backup.</span></font></p>
<p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt"> </span></font></p><p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt"> </span></font></p><p class="MsoNormal">
<font size="2" face="Verdana"><span style="font-size:11.0pt">When you add a volume, Virtual Manager assigns a device name to it: hda to the first drive, hdb to the second, ect. </span></font></p><p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt"> </span></font></p>
<p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt">So, you have to delete them both to get Virtual Manager to assign hda to the new one, otherwise the OS will not be able to boot.</span></font></p>
<p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt"> </span></font></p><p class="MsoNormal"><font size="2" face="Verdana"><span style="font-size:11.0pt"> </span></font></p></div></div><br>_______________________________________________<br>

CentOS-virt mailing list<br>
<a href="mailto:CentOS-virt@centos.org">CentOS-virt@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-virt" target="_blank">http://lists.centos.org/mailman/listinfo/centos-virt</a><br>
<br></blockquote></div><br></div>