All of lore.kernel.org
 help / color / mirror / Atom feed
* block snapshot issue with RBD
@ 2024-05-27  7:03 Jin Cao
  2024-05-27 17:56 ` Jin Cao
  0 siblings, 1 reply; 7+ messages in thread
From: Jin Cao @ 2024-05-27  7:03 UTC (permalink / raw)
  To: qemu-devel

Hi,

I encountered RBD block snapshot issue after doing migration.

Steps
-----

1. Start QEMU with:
./qemu-system-x86_64 -name VM -machine q35 -accel kvm -cpu 
host,migratable=on -m 2G -boot menu=on,strict=on 
rbd:image/ubuntu-22.04-server-cloudimg-amd64.raw -net nic -net user 
-cdrom /home/my/path/of/cloud-init.iso -monitor stdio

2. Do block snapshot in monitor cmd: snapshot_delete_blkdev_internal. It 
works as expected: the snapshot is visable with command`rbd snap ls 
pool_name/image_name`.

3. Do pseudo migration with monitor cmd: migrate -d exec:cat>/tmp/vm.out

4. Do block snapshot again with snapshot_delete_blkdev_internal, then I get:
    Error: Block format 'raw' used by device 'ide0-hd0' does not support 
internal snapshots

I was hoping to do the second block snapshot successfully, and it feels 
abnormal the RBD block snapshot function is disrupted after migration.

BTW, I get the same block snapshot error when I start QEMU with:
     "-drive format=raw,file=rbd:pool_name/image_name"

My questions is: how could I proceed with RBD block snapshot after the 
pseudo migration?


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-05-29 11:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-27  7:03 block snapshot issue with RBD Jin Cao
2024-05-27 17:56 ` Jin Cao
2024-05-27 19:06   ` Jin Cao
2024-05-28 18:13     ` Ilya Dryomov
2024-05-28 18:19       ` Jin Cao
2024-05-29 10:14         ` Fiona Ebner
2024-05-29 10:59           ` Kevin Wolf

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.