VM File System expansion
by Punit Dambiwal
Hi,
I read this article and found that we can expand the VM disk online but it
doesn't expand the filesystem of the VM.....
I tried the following but still it didn't work..all the below commands
failed on the host..
I am using :-
1. Ovirt 3.4.3
2. Glusterfs 3.5
https://inthecloud.readthedocs.org/zh_CN/latest/index.html it's
in Chinese but can translate here :-
http://translate.google.com.hk/translate?hl=en&sl=zh-CN&u=https://inthecl...
Virtual Machine File System expansion
<https://translate.googleusercontent.com/translate_c?depth=1&hl=en&prev=/s...>
oVirt 3.4 disks can be online expansion, but for the disk within a file
system requires a separate support for Linux and Windows lists commonly
used method in this expansion.
*Linux file system expansion (libguestfs)*
For details, please refer to libguestfs site
<https://translate.googleusercontent.com/translate_c?depth=1&hl=en&prev=/s...>
.
1. View disk
# Virt-filesystem --all --long -h -a hda.img
1. Expansion disk copy to be created, while the expansion of 10G
(Assuming the original disk size is 10G)
For RAW format:
# Truncate -r hda.img hda-new.img # Truncate -s + 10G hda-new.img
For QCOW2 and other compressed formats:
# Qemu-img create -f qcow2 -o preallocation = metadata hda-new.img 20G
1. Extended partition size
Ordinary extended partition, / boot partition expansion 200M, all the rest
to the / partition:
# Virt-resize --resize / dev / sda1 = + 200M --expand / dev / sda2
hda.img hda-new.img
LVM partition expansion, expansion lv_root logical volume:
# Virt-resize --expand / dev / sda2 --LV-expand / dev / vg_livecd /
lv_root hda.qcow2 hda-new.qcow2
Thanks,
Punit
10 years, 3 months
VM Autostart disable
by Punit Dambiwal
Hi,
I have checked and found that by default the Autostart is disable...is
there any drawback to enable it ???
How i can enable it for all the VM's by default ??
[image: Inline image 1]
Thanks,
Punit
10 years, 3 months
Can I use qcow2?
by Demeter Tibor
------=_Part_44946689_1427106975.1409671286440
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Hi,
I have a lot of qcow2 based vm (from my kvm box) disks and I would like to copy to ovirt them.
Ovirt can use qcow2 based images directly or I need to convert to raw in any case?
I don't have long time for migration, the conversion process takes a long time.
Thanks in advance
Tibor
------=_Part_44946689_1427106975.1409671286440
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: 7bit
<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div>Hi,</div><div><br></div><div>I have a lot of qcow2 based vm (from my kvm box) disks and I would like to copy to ovirt them.</div><div>Ovirt can use qcow2 based images directly or I need to convert to raw in any case?</div><div>I don't have long time for migration, the conversion process takes a long time.</div><div><br></div><div>Thanks in advance</div><div><br></div><div>Tibor</div><div><br></div></div></body></html>
------=_Part_44946689_1427106975.1409671286440--
10 years, 3 months
Default VM Disk Format is RAW ??
by Punit Dambiwal
Hi,
I have checked and found that ovirt support two type of disk formats (RAW &
QCOW2)...but bydefault it create the VM disk with RAW format....i try but
didn't find any way to change this format to qcow2 ??
How i can change the default vm disk from RAW to QCOW2 ??
I am using the below :-
Ovirt :- 3.4.3
Glusterfs :- 3.5
Thanks,
Punit
10 years, 3 months
Input/output error with engine-iso-uploader
by Jorick Astrego
This is a multi-part message in MIME format.
--------------050600030904080509000600
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Hi,
Trying to import the ManageIQ ova and it fails with an Input/output error.
engine-iso-uploader -u admin@internal -i ISO_DOMAIN upload
~/manageiq-ovirt-anand-1.ova
Please provide the REST API password for the admin@internal oVirt
Engine user (CTRL+D to abort):
Uploading, please wait...
INFO: Start uploading /root/manageiq-ovirt-anand-1.ova
ERROR: Problem copying /root/manageiq-ovirt-anand-1.ova to
/tmp/tmpUGuWCY/c7d62257-840a-43a0-afd2-ad11162be279/images/11111111-1111-1111-1111-111111111111/.manageiq-ovirt-anand-1.ova.
Message: [Errno 5] Input/output error
In the log (nothing in engine.log):
2014-09-04 10:12:16::INFO::engine-iso-uploader::1099::root:: Start
uploading /root/manageiq-ovirt-anand-1.ova
2014-09-04 10:57:24::ERROR::engine-iso-uploader::795::root:: Problem
copying /root/manageiq-ovirt-anand-1.ova to
/tmp/tmpUGuWCY/c7d62257-840a-43a0-afd2-ad11162be279/images/11111111-1111-1111-1111-111111111111/.manageiq-ovirt-anand-1.ova.
Message: [Errno 5] Input/output error
There is enough space:
/dev/mapper/vg_root-lv_root
21G 11G 9.0G 54% /
tmpfs 2.0G 0 2.0G 0% /dev/shm
/dev/vda1 477M 113M 335M 26% /boot
And the ISO domain is active:
engine-iso-uploader -u admin@internal list
Please provide the REST API password for the admin@internal oVirt
Engine user (CTRL+D to abort):
ISO Storage Domain Name | Datacenter | ISO Domain
Status
ISO_DOMAIN | Default | active
The version I'm running is ovirt 3.5 rc1.1
(ovirt-iso-uploader-3.5.0-0.1.master.20140812133501.gita818d93.el6.noarch)
What can be the problem and how to debug?
Kind regards,
Jorick Astrego
Netbulae B.V.
--------------050600030904080509000600
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi,<br>
<br>
Trying to import the ManageIQ ova and it fails with an Input/output
error.<br>
<br>
<blockquote>engine-iso-uploader -u admin@internal -i ISO_DOMAIN
upload ~/manageiq-ovirt-anand-1.ova <br>
Please provide the REST API password for the admin@internal oVirt
Engine user (CTRL+D to abort): <br>
Uploading, please wait...<br>
INFO: Start uploading /root/manageiq-ovirt-anand-1.ova <br>
ERROR: Problem copying /root/manageiq-ovirt-anand-1.ova to
/tmp/tmpUGuWCY/c7d62257-840a-43a0-afd2-ad11162be279/images/11111111-1111-1111-1111-111111111111/.manageiq-ovirt-anand-1.ova.
Message: [Errno 5] Input/output error<br>
</blockquote>
<br>
In the log (nothing in engine.log):<br>
<br>
<blockquote>2014-09-04
10:12:16::<a class="moz-txt-link-freetext" href="INFO::engine-iso-uploader::1099::root">INFO::engine-iso-uploader::1099::root</a>:: Start uploading
/root/manageiq-ovirt-anand-1.ova <br>
2014-09-04 10:57:24::ERROR::engine-iso-uploader::795::root::
Problem copying /root/manageiq-ovirt-anand-1.ova to
/tmp/tmpUGuWCY/c7d62257-840a-43a0-afd2-ad11162be279/images/11111111-1111-1111-1111-111111111111/.manageiq-ovirt-anand-1.ova.
Message: [Errno 5] Input/output error<br>
<br>
</blockquote>
There is enough space:<br>
<br>
<blockquote>/dev/mapper/vg_root-lv_root<br>
21G 11G 9.0G 54% /<br>
tmpfs 2.0G 0 2.0G 0% /dev/shm<br>
/dev/vda1 477M 113M 335M 26% /boot<br>
</blockquote>
And the ISO domain is active:<br>
<br>
<blockquote>engine-iso-uploader -u admin@internal list<br>
Please provide the REST API password for the admin@internal oVirt
Engine user (CTRL+D to abort): <br>
ISO Storage Domain Name | Datacenter | ISO Domain
Status<br>
ISO_DOMAIN | Default | active<br>
<br>
</blockquote>
The version I'm running is ovirt 3.5 rc1.1
(ovirt-iso-uploader-3.5.0-0.1.master.20140812133501.gita818d93.el6.noarch)<br>
<br>
What can be the problem and how to debug?<br>
<br>
Kind regards,<br>
<br>
Jorick Astrego<br>
Netbulae B.V.<br>
</body>
</html>
--------------050600030904080509000600--
10 years, 3 months
Re: [ovirt-users] After reboot system "Starting ovirt-post" never ending...
by Grzegorz Szypa
Hi.
Today, I noticed that it's a problem with connect VM via Nativ VNC after I
turn off service ovirt-post.
2014-09-04 6:57 GMT+02:00 Grzegorz Szypa <grzegorz.szypa(a)gmail.com>:
> Hi.
>
> There is Centos 6.5 FINAL OS with all with latest update
> There is oVirt Engine Version: 3.4.3-1.el6 with latest update
> and it happens on a fresh installation. I noticed it after the first
> reboot the server.
>
> Could you explain to me what does this service (ovirt-post) and is it
> requaired to activities ovirt-engine?
>
> Grzegorz Szypa
>
--
G.Sz.
10 years, 3 months
After reboot system "Starting ovirt-post" never ending...
by Grzegorz Szypa
Hi.
I have a problem with starting Centos system, after reboot. It's still stay
at "Starting ovirt-post:".
When i start node on livecd and change mv /etc/init.d/ovirt-post
/etc/init.d/ovirt-post.bak
What going on.
So it should be or should disable this service?
--
G.Sz.
10 years, 3 months