Cannot remove snapshot
by Nicolas Ecarnot
Hello,
oVirt 3.6.7.5-1
I'm trying to remove a snapshot in a cold way (VM shut down).
It is failing, and VDSM is telling :
4f1588f3-ae2d-4702-b7e1-4ef53b5b5a1d::DEBUG::2017-11-17
13:04:11,448::lvm::290::Storage.Misc.excCmd::(cmd) SUCCESS: <err> = '
WARNING: lvmetad is running but disabled. Restart lvmetad before
enabling it!\n'; <rc> = 0
4f1588f3-ae2d-4702-b7e1-4ef53b5b5a1d::DEBUG::2017-11-17
13:04:11,456::lvm::462::Storage.LVM::(_reloadlvs) lvs reloaded
4f1588f3-ae2d-4702-b7e1-4ef53b5b5a1d::DEBUG::2017-11-17
13:04:11,456::lvm::462::Storage.OperationMutex::(_reloadlvs) Operation
'lvm reload operation' released the operation mutex
4f1588f3-ae2d-4702-b7e1-4ef53b5b5a1d::ERROR::2017-11-17
13:04:11,457::image::1302::Storage.Image::(merge) Unexpected error
Traceback (most recent call last):
File "/usr/share/vdsm/storage/image.py", line 1293, in merge
sdDom, srcVolParams, volParams, reqSize, chain)
File "/usr/share/vdsm/storage/image.py", line 1039, in
_baseCowVolumeMerge
unsafe=False, rollback=True)
File "/usr/share/vdsm/storage/volume.py", line 278, in rebase
raise se.MergeSnapshotsError(self.volUUID)
MergeSnapshotsError: Error merging snapshots:
('4a8c17aa-5882-45a1-8a6e-40db39ed06ca',)
I read this : https://bugzilla.redhat.com/show_bug.cgi?id=1069610 ,
hoping I could find some workaround. But I couldn't.
If there is no abvious workaround, would there be other ways like :
- find the bare logical volume, shut down the VM, and play with low
level qemu-img commands. I think I knwn how to do that, but I'm worried
the oVirt database won't be in sync once I've removed the snapshot
or
- export the VM then re-import, if this is related to some LV space
missing. Then removing the snapshot the usual way.
Any advice (apart the obvious upgrade-to-4.X-sir)?
--
Nicolas ECARNOT
7 years, 5 months
Re: [ovirt-users] Some tests results: lustrefs over nfs on VM
by Arman Khalatyan
hi Yaniv,
yes for sure I hit some cache in between but not the vm cache, it has a 4GB
ram, with oflag=direct I get about 120MB/s
for the data analysis the cache is our friend:)
The backend is a lustrefs 2.10.x.
yes we have dedicated 10G on the hosts, where we can limit the vm interface
to 10Gbit?
Am 19.11.2017 8:33 nachm. schrieb "Yaniv Kaul" <ykaul(a)redhat.com>:
On Sun, Nov 19, 2017 at 7:08 PM, Arman Khalatyan <arm2arm(a)gmail.com> wrote:
> Hi, in our environment we got pretty good io performance on VM, with
> following configuration:
> lustrebox: /lust mounted on "GATEWAY" over IB
> GATEWAY: export /lust as nfs4 on 10G interface
> VM(test.vm): import as NFS over 10G interface
>
> [root(a)test.vm <root(a)gans.vm> ~]# dd if=/dev/zero bs=128K count=100000
>
Without oflag=direct, you are hitting (somewhat) the cache.
>
> of=/test/tmp/test.tmp
> 100000+0 records in
> 100000+0 records out
> 13107200000 <(310)%20720-0000> bytes (13 GB) copied, 20.8402 s, 629 MB/s
> looks promising for the future deployments.
>
Very - what's the backend storage?
>
> only one problem remains that on heavy io I get some wornings that the vm
> network is saturated, are there way to configure the bandwidth limits to
> 10G for the VM Interface??
>
Yes, but you really need a dedicated storage interface, no?
Y.
>
>
> thank you beforehand,
> Arman.
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users
>
>
7 years, 5 months
Some tests results: lustrefs over nfs on VM
by Arman Khalatyan
Hi, in our environment we got pretty good io performance on VM, with
following configuration:
lustrebox: /lust mounted on "GATEWAY" over IB
GATEWAY: export /lust as nfs4 on 10G interface
VM(test.vm): import as NFS over 10G interface
[root(a)test.vm <root(a)gans.vm> ~]# dd if=/dev/zero bs=128K count=100000
of=/test/tmp/test.tmp
100000+0 records in
100000+0 records out
13107200000 bytes (13 GB) copied, 20.8402 s, 629 MB/s
looks promising for the future deployments.
only one problem remains that on heavy io I get some wornings that the vm
network is saturated, are there way to configure the bandwidth limits to
10G for the VM Interface??
thank you beforehand,
Arman.
7 years, 5 months
NIC Bonding
by magnus.isaksson@ilw.se
----=_RainLoop_715_686258566.1509963308
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Hello!=0AI'm new(-ish) to oVirt and have a question regarding network. =
=0A=0A I currently use vmware, the hosts have 4 nic each and connected to=
two switches in stack(extreme), i have two vSwitch with two nic each set=
up in active/standby, with this i don't have to do anything with the phys=
ical switch. =0A So how do i do this setup on oVirt so i don't need to co=
nfigure the switches?=0AI know how to bond the cards, but i am afraid of =
a switchloop, so i just want to make sure that does not happen.=0A=0ARega=
rds=0AMagnus Isaksson
----=_RainLoop_715_686258566.1509963308
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE html><html><head><meta http-equiv=3D"Content-Type" content=3D"t=
ext/html; charset=3Dutf-8" /></head><body><div data-html-editor-font-wrap=
per=3D"true" style=3D"font-family: arial, sans-serif; font-size: 13px;"> =
<signature><signature><p><span display=3D"inline">Hello!<br>I'm new(-ish)=
to oVirt and have a question regarding network.</span></p> <p><span disp=
lay=3D"inline">I currently use vmware, the hosts have 4 nic each and conn=
ected to two switches in stack(extreme), i have two vSwitch with two nic =
each setup in active/standby, with this i don't have to do anything with =
the physical switch.</span></p> <div><p><span display=3D"inline">So how d=
o i do this setup on oVirt so i don't need to configure the switches?<br>=
I know how to bond the cards, but i am afraid of a switchloop, so i just =
want to make sure that does not happen.</span><br><br>Regards<br>Magnus I=
saksson</p></div></signature></signature><br> </div></body></html>
----=_RainLoop_715_686258566.1509963308--
7 years, 5 months
using oVirt with newer librbd1
by Matthias Leopold
Hi,
we want to use a Ceph cluster as the main storage for our oVirt 4.1.x
datacenter. We successfully tested using librbd1-12.2.1-0.el7 package
from Ceph repos instead of the standard librbd1-0.94.5-2.el7 from CentOS
7 in an oVirt virtualization node. Are there any caveats when doing so?
Will this work in oVirt 4.2?
thx
matthias
7 years, 5 months
Snapshot or not?
by Demeter Tibor
--=_356f090b-8288-4845-8f3a-5ab9dcf0b36a
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
Dear Users,
I have a disk of a vm, that is have a snapshot. It is very interesting, because there are two other disk of that VM, but there are no snapshots of them.
I found this while I've try to migrate a storage-domain between two datacenter.
Because, I didn't import that vm from the storage domain, I did an another similar VM with exactly same sized thin-provisioned disks. I have renamed, copied to here my originals.
The VM started successfully, but the disk that contain a snapshot did not recognized by the os. I can see the whole disk as raw. (disk id, format in ovirt, filenames of images, etc) . I think ovirt don't know that is a snapshotted image and use as raw. Is it possible?
I don't see any snapshot in snapshots. Also I have try to list snapshots with qemu-img info and qemu-img snapshot -l , but it does not see any snapshots in the image.
Really, I don't know how is possible this.
[root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info 5974fd33-af4c-4e3b-aadb-bece6054eb6b
image: 5974fd33-af4c-4e3b-aadb-bece6054eb6b
file format: qcow2
virtual size: 13T (13958643712000 bytes)
disk size: 12T
cluster_size: 65536
backing file: ../8d815282-6957-41c0-bb3e-6c8f4a23a64b/723ad5aa-02f6-4067-ac75-0ce0a761627f
backing file format: raw
Format specific information:
compat: 0.10
[root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img info 723ad5aa-02f6-4067-ac75-0ce0a761627f
image: 723ad5aa-02f6-4067-ac75-0ce0a761627f
file format: raw
virtual size: 2.0T (2147483648000 bytes)
disk size: 244G
[root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# ll
total 13096987560
-rw-rw----. 1 36 36 13149448896512 Nov 13 13:42 5974fd33-af4c-4e3b-aadb-bece6054eb6b
-rw-rw----. 1 36 36 1048576 Nov 13 19:34 5974fd33-af4c-4e3b-aadb-bece6054eb6b.lease
-rw-r--r--. 1 36 36 262 Nov 13 19:54 5974fd33-af4c-4e3b-aadb-bece6054eb6b.meta
-rw-rw----. 1 36 36 2147483648000 Jul 8 2016 723ad5aa-02f6-4067-ac75-0ce0a761627f
-rw-rw----. 1 36 36 1048576 Jul 7 2016 723ad5aa-02f6-4067-ac75-0ce0a761627f.lease
-rw-r--r--. 1 36 36 335 Nov 13 19:52 723ad5aa-02f6-4067-ac75-0ce0a761627f.meta
qemu-img snapshot -l 5974fd33-af4c-4e3b-aadb-bece6054eb6b
(nothing)
Because it is a very big (13 TB) disk I can't migrate to an another image, because I don't have enough free space. So I just would like to use it in ovirt like in the past.
I have a very old ovirt (3.5)
How can I use this disk?
Thanks in advance,
Regards,
Tibor
--=_356f090b-8288-4845-8f3a-5ab9dcf0b36a
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><body><div style=3D"font-family: arial, helvetica, sans-serif; font-s=
ize: 12pt; color: #000000"><div>Dear Users,</div><div><br data-mce-bogus=3D=
"1"></div><div>I have a disk of a vm, that is have a snapshot. It is very i=
nteresting, because there are two other disk of that VM, but there are no s=
napshots of them.</div><div>I found this while I've try to migrate a storag=
e-domain between two datacenter. </div><div>Because, I didn't import t=
hat vm from the storage domain, I did an another similar VM with exactly sa=
me sized thin-provisioned disks. I have renamed, copied to here my original=
s. </div><div><br data-mce-bogus=3D"1"></div><div>The VM started succe=
ssfully, but the disk that contain a snapshot did not recognized by the os.=
I can see the whole disk as raw. (disk id, format in ovirt, filenames of i=
mages, etc) . I think ovirt don't know that is a snapshotted image and use =
as raw. Is it possible?</div><div>I don't see any snapshot in snapshots. Al=
so I have try to list snapshots with qemu-img info and qemu-img snapshot -l=
, but it does not see any snapshots in the image.</div><div><br data-mce-b=
ogus=3D"1"></div><div>Really, I don't know how is possible this.</div><div>=
<br data-mce-bogus=3D"1"></div><div><div>[root@storage1 8d815282-6957-41c0-=
bb3e-6c8f4a23a64b]# qemu-img info 5974fd33-af4c-4e3b-aadb-bece6054eb6b</div=
><div>image: 5974fd33-af4c-4e3b-aadb-bece6054eb6b</div><div>file format: qc=
ow2</div><div>virtual size: 13T (13958643712000 bytes)</div><div>disk size:=
12T</div><div>cluster_size: 65536</div><div>backing file: ../8d815282-6957=
-41c0-bb3e-6c8f4a23a64b/723ad5aa-02f6-4067-ac75-0ce0a761627f</div><div>back=
ing file format: raw</div><div>Format specific information:</div><div> =
; compat: 0.10</div></div><div><div><div><br data-mce-bogus=3D"1"></=
div><div>[root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# qemu-img inf=
o 723ad5aa-02f6-4067-ac75-0ce0a761627f</div><div>image: 723ad5aa-02f6-4067-=
ac75-0ce0a761627f</div><div>file format: raw</div><div>virtual size: 2.0T (=
2147483648000 bytes)</div><div>disk size: 244G</div></div><div><br></div><d=
iv>[root@storage1 8d815282-6957-41c0-bb3e-6c8f4a23a64b]# ll</div><div>total=
13096987560</div><div>-rw-rw----. 1 36 36 13149448896512 Nov 13 13:42 5974=
fd33-af4c-4e3b-aadb-bece6054eb6b</div><div>-rw-rw----. 1 36 36 =
1048576 Nov 13 19:34 5974fd33-af4c-4e3b-aadb-bece6054eb6b.le=
ase</div><div>-rw-r--r--. 1 36 36 =
262 Nov 13 19:54 5974fd33-af4c-4e3b-aadb-bece6054eb6b.meta</div><div>-rw-rw=
----. 1 36 36 2147483648000 Jul 8 2016 723ad5aa-02f6-4067=
-ac75-0ce0a761627f</div><div>-rw-rw----. 1 36 36 =
1048576 Jul 7 2016 723ad5aa-02f6-4067-ac75-0ce0a761627f.lease<=
/div><div>-rw-r--r--. 1 36 36 335 =
Nov 13 19:52 723ad5aa-02f6-4067-ac75-0ce0a761627f.meta</div><div><br data-m=
ce-bogus=3D"1"></div><div>qemu-img snapshot -l 5974fd33-af4c-4e3b-aadb-bece=
6054eb6b<br data-mce-bogus=3D"1"></div><div><br data-mce-bogus=3D"1"></div>=
<div>(nothing)</div><div><br data-mce-bogus=3D"1"></div><div>Because it is =
a very big (13 TB) disk I can't migrate to an another image, because I don'=
t have enough free space. So I just would like to use it in ovirt like in t=
he past. </div><div><br data-mce-bogus=3D"1"></div><div>I have a very =
old ovirt (3.5)</div><div><br data-mce-bogus=3D"1"></div><div>How can I use=
this disk?</div><div><br data-mce-bogus=3D"1"></div><div>Thanks in advance=
,</div><div><br data-mce-bogus=3D"1"></div><div>Regards,</div></div><div><b=
r></div><div data-marker=3D"__SIG_PRE__"><p style=3D"font-family: 'Times Ne=
w Roman'; font-size: medium; margin: 0px;" data-mce-style=3D"font-family: '=
Times New Roman'; font-size: medium; margin: 0px;"><strong><span style=3D"f=
ont-size: medium;" data-mce-style=3D"font-size: medium;"><span style=3D"col=
or: #2d67b0;" data-mce-style=3D"color: #2d67b0;"></span></span></strong></p=
>Tibor<p></p></div></div></body></html>
--=_356f090b-8288-4845-8f3a-5ab9dcf0b36a--
7 years, 5 months