Having an issue with starting one of my VM's. Looks like there was a
problem with an auto generated snapshot on the VM. The snapshot file is
missing:
VDSM-Tool Output:
image: 52f31c3a-25ac-4930-8e67-105945dd42b5
- 461e1747-3a59-4abc-ac6a-2013ec7858d3
status: OK, voltype: INTERNAL, format: RAW, legality: LEGAL,
type: PREALLOCATED, capacity: 53687091200, truesize: 53687091200
- fe5fb4a4-8b3a-4bad-8f03-9dd179ac8397
status: OK, voltype: INTERNAL, format: COW, legality: LEGAL,
type: SPARSE, capacity: 53687091200, truesize: 6576668672
- a01d662f-cf33-4c86-b0ba-8bddc6d25dfd
status: ILLEGAL, voltype: LEAF, format: COW, legality:
ILLEGAL, type: SPARSE, capacity: 53687091200, truesize: 3221225472
lvs -o+lv_tags |grep 52f31c3a-25ac-4930-8e67-105945dd42b5
Couldn't find device with uuid 5UNXpR-SmSR-KqA2-swpe-kcQi-X7tt-7B5wRz.
461e1747-3a59-4abc-ac6a-2013ec7858d3 8dfaac42-32fc-4e23-b5cb-e5c2c3c56c9d
-wi-a----- 50.00g
IU_52f31c3a-25ac-4930-8e67-105945dd42b5,MD_43,PU_00000000-0000-0000-0000-000000000000
a01d662f-cf33-4c86-b0ba-8bddc6d25dfd 8dfaac42-32fc-4e23-b5cb-e5c2c3c56c9d
-wi------- 3.00g
IU_52f31c3a-25ac-4930-8e67-105945dd42b5,MD_46,PU_fe5fb4a4-8b3a-4bad-8f03-9dd179ac8397
fe5fb4a4-8b3a-4bad-8f03-9dd179ac8397 8dfaac42-32fc-4e23-b5cb-e5c2c3c56c9d
-wi-a----- 6.12g
IU_52f31c3a-25ac-4930-8e67-105945dd42b5,MD_45,PU_461e1747-3a59-4abc-ac6a-2013ec7858d3
qemu-img info
/dev/8dfaac42-32fc-4e23-b5cb-e5c2c3c56c9d/a01d662f-cf33-4c86-b0ba-8bddc6d25dfd
qemu-img: Could not open
'/dev/8dfaac42-32fc-4e23-b5cb-e5c2c3c56c9d/a01d662f-cf33-4c86-b0ba-8bddc6d25dfd':
Could not open
'/dev/8dfaac42-32fc-4e23-b5cb-e5c2c3c56c9d/a01d662f-cf33-4c86-b0ba-8bddc6d25dfd':
No such file or directory
What is the best way to remove the snapshot from the vm (PSQL statement to
delete the entry from the database)?
Thank You,
Bryan Sockel