[ovirt-users] Engine missing snapshot which is used by VM
Jan Siml
jsiml at plusline.net
Tue Jul 14 09:39:18 UTC 2015
Hello,
while analyzing a performance issue of a VM, I discovered the machine
uses a snapshot which is not referenced in Engine's database.
[oVirt shell (connected)]# list disks --vm-identifier bamboo
id : 4244c296-2b81-4dff-89ab-cd7f8847576a
name : bamboo_Disk1
[oVirt shell (connected)]# list snapshots --vm-identifier bamboo
id : 24a7de50-83ec-4e33-8f19-28b729422982
description: Active VM
Within the storage mount path I see two images:
root at prod-node-07 4244c296-2b81-4dff-89ab-cd7f8847576a]# ls
ddb30e69-73ac-454a-b9a0-b67c970958e9
ddb30e69-73ac-454a-b9a0-b67c970958e9.lease
ddb30e69-73ac-454a-b9a0-b67c970958e9.meta
e2b4e67a-616c-4be0-bb9b-6470ef9012ba
e2b4e67a-616c-4be0-bb9b-6470ef9012ba.lease
e2b4e67a-616c-4be0-bb9b-6470ef9012ba.meta
[root at prod-node-07 4244c296-2b81-4dff-89ab-cd7f8847576a]# cat *.meta
DOMAIN=fe7e2860-ab10-4010-9b80-2d40a0198594
VOLTYPE=INTERNAL
CTIME=1435308199
FORMAT=RAW
IMAGE=4244c296-2b81-4dff-89ab-cd7f8847576a
DISKTYPE=2
PUUID=00000000-0000-0000-0000-000000000000
LEGALITY=LEGAL
MTIME=0
POOL_UUID=
SIZE=1468006400
TYPE=SPARSE
DESCRIPTION=
EOF
DOMAIN=fe7e2860-ab10-4010-9b80-2d40a0198594
VOLTYPE=LEAF
CTIME=1435308200
FORMAT=COW
IMAGE=4244c296-2b81-4dff-89ab-cd7f8847576a
DISKTYPE=2
PUUID=ddb30e69-73ac-454a-b9a0-b67c970958e9
LEGALITY=LEGAL
MTIME=0
POOL_UUID=
DESCRIPTION={"DiskAlias":"bamboo_Disk1","DiskDescription":""}
TYPE=SPARSE
SIZE=1468006400
EOF
Even if I have no clue why this has happened I would like to remove the
snapshot and return to a consistent state. What can I do now to solve
the problem?
--
Kind regards
Jan Siml
More information about the Users
mailing list