Thanks for the hint but unfortunately every qemu command quits with
a segfault with this image:

scotty images # qemu-nbd nweb.img
Segmentation fault

[192749.840652] qemu-nbd[16052]: segfault at 7f88b1382000 ip
0000000000419492 sp 00007fff1e94f710 error 7 in qemu-nbd[400000+31000]

It's sad that a segfault of Qemu/KVM can corrupt a whole image
while the host itself was running without any problems as the
segfault happened. Seems that the data is lost. But thanks again
anyway!

Robert

On 01/22/10 15:35, Liang Guo wrote:
> 
> 2010/1/20 RW <k...@tauceti.net <mailto:k...@tauceti.net>>
> 
> 
>     > Is there any chance to get (some) data in the image back? Backup
>     is a few weeks old :-(
>     >
> 
> 
> you may use kvm-nbd or qemu-nbd to present kvm image as a NBD device, so
> that you can use nbd-client to access them. eg:
> 
> kvm-nbd /vm/sid1.img
> modprobe nbd
> nbd-client localhost 1024 /dev/nbd0
> fdisk -l /dev/nbd0 
> 
> -- 
> Liang Guo
> http://bluestone.cublog.cn
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to