Red Hat Bugzilla – Bug 599307
info snapshot return "bdrv_snapshot_list: error -95"
Last modified: 2013-01-09 17:40:13 EST
Description of problem: info snapshot return error envn there is no snapshot. run with virtio blk (qemu) info snapshots Snapshot devices: virtio0 bdrv_snapshot_list: error -95 run with ide block. (qemu) info snapshots Snapshot devices: ide0-hd0 bdrv_snapshot_list: error -95 Version-Release number of selected component (if applicable): qemu-kvm-0.12.1.2-2.68.el6.x86_64 How reproducible: 100% Steps to Reproduce: 1.start guest 2.(qemu) info snapshots 3. Actual results: Expected results: Additional info:
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux major release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Major release. This request is not yet committed for inclusion.
qemu cmdline? What's the actual expected snapshots?
Can't reproduce this with the obvious options. I definitely need the command line for qemu and possibly for image creation. (Most importantly: Which image format and is it a file or a block device?)
checked again. image's format is raw... of cause,snapshot is not supported in raw format.. Not sure if we need to fix the problem ( for example . return snapshot is not supported). so I keep the bug open.
Hm, indeed. I thought I tested it with raw and got the right error message, but in fact it only works right in upstream. Will investigate what broke this in RHEL.
This is fixed by upstream commit feeee5ac. However, we don't support internal snapshots in RHEL 6.0, so I think this should be moved to 6.1.
*** Bug 627831 has been marked as a duplicate of this bug. ***
Reproduce this bug with qemu-kvm-0.12.1.2-2.113.el6.x86_64.rpm (qemu) info snapshots Snapshot devices: drive-virtio-disk0 bdrv_snapshot_list: error -95 And verify this bug with qemu-kvm-0.12.1.2-2.128.el6.x86_64.rpm (qemu) info snapshots No available block device supports snapshots This bug has been fixed.
An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHSA-2011-0534.html