Well i'll be. It seems to work no problem upon subsequent tries. Here's my methodology and run-through.
virsh # list Id Name State ---------------------------------------------------- 17 mail running virsh # virsh # virsh # virsh # domblklist mail Target Source ------------------------------------------------ vda /images2/mail.img hdb /home/bestpa/iso/ubuntu-14.04.5-server-amd64.iso virsh # virsh # virsh # virsh # virsh # list Id Name State ---------------------------------------------------- 17 mail running virsh # domblklist mail Target Source ------------------------------------------------ vda /images2/mail.img hdb /home/bestpa/iso/ubuntu-14.04.5-server-amd64.iso virsh # snapshot-list mail Name Creation Time State ------------------------------------------------------------ virsh # snapshot-create-as --domain mail mail-snap1 --disk-only --atomic Domain snapshot mail-snap1 created virsh # snapshot-list mail Name Creation Time State ------------------------------------------------------------ mail-snap1 2017-04-20 16:03:06 -0400 disk-snapshot virsh # domblklist mail Target Source ------------------------------------------------ vda /images2/mail.mail-snap1 hdb /home/bestpa/iso/ubuntu-14.04.5-server-amd64.iso virsh # blockcommit mail vda --active --verbose --pivot Block commit: [100 %] Successfully pivoted virsh # domblklist mail Target Source ------------------------------------------------ vda /images2/mail.img hdb /home/bestpa/iso/ubuntu-14.04.5-server-amd64.iso virsh # snapshot-list mail Name Creation Time State ------------------------------------------------------------ mail-snap1 2017-04-20 16:03:06 -0400 disk-snapshot virsh # snapshot-delete mail mail-snap1 --metadata Domain snapshot mail-snap1 deleted virsh # snapshot-list mail Name Creation Time State ------------------------------------------------------------ virsh # domblklist mail Target Source ------------------------------------------------ vda /images2/mail.img hdb /home/bestpa/iso/ubuntu-14.04.5-server-amd64.iso so as you see, i had no problems doing this. I wish I could delete snap files , but for some reason we can only use --meta , and must delete them at the filesystem level. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1681839 Title: libvirt - disk not ready for pivot yet To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1681839/+subscriptions -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
