Alex,<div><br></div><div> Suggestion for use GlusterFS to oVirt, look: </div><div> </div><div> <a href="http://www.gluster.org/2012/07/installing-ovirt-3-1-and-glusterfs-using-either-nfs-or-posix-native-file-system-node-install-2/">http://www.gluster.org/2012/07/installing-ovirt-3-1-and-glusterfs-using-either-nfs-or-posix-native-file-system-node-install-2/</a><br clear="all">
<div><br><div><div>Marcelo Barbosa</div><div><i><font color="#660000"><a href="mailto:mr.marcelo.barbosa@gmail.com" target="_blank">mr.marcelo.barbosa@gmail.com</a></font></i></div>
</div></div>
<br><br><div class="gmail_quote">On Wed, Jan 9, 2013 at 10:10 AM, Alexandre Santos <span dir="ltr"><<a href="mailto:santosam72@gmail.com" target="_blank">santosam72@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
2013/1/9 Karli Sjöberg <<a href="mailto:Karli.Sjoberg@slu.se" target="_blank">Karli.Sjoberg@slu.se</a>>:<br>
<div><div>> tis 2013-01-08 klockan 11:03 -0500 skrev Yeela Kaplan:<br>
><br>
> So, first of all, you should know that resizing a disk is not yet supported<br>
> in oVirt.<br>
> If you decide that you must use it anyway, you should know in advance that<br>
> it's not recommended,<br>
> and that your data is at risk when you perform these kind of actions.<br>
><br>
> There are several ways to perform this.<br>
> One of them is to create a second (larger) disk for the vm,<br>
> run the vm from live cd and use dd to copy the first disk contents into the<br>
> second one,<br>
> and finally remove the first disk and make sure that the new disk is<br>
> configured as your system disk.<br>
><br>
> Here you guide for the dd operation to be done from within the guest system,<br>
> but booted from live.<br>
> Can this be done directly from the NFS storage itself instead?<br>
><br>
><br>
> The second, riskier, option is to export the vm to an export domain,<br>
> resize the image volume size to the new larger size using qemu-img and also<br>
> modify the vm's metadata in its ovf,<br>
> as you can see this option is more complicated and requires deeper<br>
> understanding and altering of the metadata...<br>
> finally you'll need to import the vm back.<br>
><br>
><br>
><br>
> ----- Original Message -----<br>
>> From: "Rocky" <<a href="mailto:rockybaloo@gmail.com" target="_blank">rockybaloo@gmail.com</a>><br>
>> To: "Yeela Kaplan" <<a href="mailto:ykaplan@redhat.com" target="_blank">ykaplan@redhat.com</a>><br>
>> Cc: <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
>> Sent: Tuesday, January 8, 2013 11:30:00 AM<br>
>> Subject: Re: [Users] Best practice to resize a WM disk image<br>
>><br>
>> Its just a theoretical question as I think the issue will come for us<br>
>> and other users.<br>
>><br>
>> I think there can be one or more snapshots in the WM over the time.<br>
>> But<br>
>> if that is an issue we can always collapse them I think.<br>
>> If its a base image it should be RAW, right?<br>
>> In this case its on file storage (NFS).<br>
>><br>
>> Regards //Ricky<br>
>><br>
>> On 2013-01-08 10:07, Yeela Kaplan wrote:<br>
>> > Hi Ricky,<br>
>> > In order to give you a detailed answer I need additional details<br>
>> > regarding the disk:<br>
>> > - Is the disk image composed as a chain of volumes or just a base<br>
>> > volume?<br>
>> > (if it's a chain it will be more complicated, you might want to<br>
>> > collapse the chain first to make it easier).<br>
>> > - Is the disk image raw? (you can use qemu-img info to check)<br>
>> > - Is the disk image on block or file storage?<br>
>> ><br>
>> > Regards,<br>
>> > Yeela<br>
>> ><br>
>> > ----- Original Message -----<br>
>> >> From: "Ricky" <<a href="mailto:rockybaloo@gmail.com" target="_blank">rockybaloo@gmail.com</a>><br>
>> >> To: <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
>> >> Sent: Tuesday, January 8, 2013 10:40:27 AM<br>
>> >> Subject: [Users] Best practice to resize a WM disk image<br>
>> >><br>
>> >> Hi,<br>
>> >><br>
>> >> If I have a VM that has run out of disk space, how can I increase<br>
>> >> the<br>
>> >> space in best way? One way is to add a second bigger disk to the<br>
>> >> WM<br>
>> >> and then use dd or similar to copy. But is it possible to stretch<br>
>> >> the<br>
>> >> original disk inside or outside oVirt and get oVirt to know the<br>
>> >> bigger<br>
>> >> size?<br>
>> >><br>
>> >> Regards //Ricky<br>
>> >> _______________________________________________<br>
>> >> Users mailing list<br>
>> >> <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
>> >> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
>> >><br>
>><br>
>><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
> <a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
><br>
<br>
</div></div>Sorry for this a bit "off topic" but I've been "resizing" my VM just<br>
by adding new disks to the VM and then using the LVM tool or just<br>
adding it to fstab.<br>
I know that it's not a true resizing but it has been a good solution<br>
for me. Once a Oracle DB (a XE used for tests:-)) went down because my<br>
disk went full (it was 8GB) and I added a new disk, moved the dbf to<br>
this new disk and restarted Oracle, without having to reboot the VM.<br>
<br>
Alex<br>
<div><div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@ovirt.org" target="_blank">Users@ovirt.org</a><br>
<a href="http://lists.ovirt.org/mailman/listinfo/users" target="_blank">http://lists.ovirt.org/mailman/listinfo/users</a><br>
</div></div></blockquote></div><br></div>