How to do snapshots in virt manager when the snapshot symbol is greyed out and inaccessible. Am I missing some required dependency to get the snapshots working?
Are you using qcow2
or raw
?
raw ? I’m using actual physical ssd drive
Check the output:
virsh -c qemu:///system snapshot-create VM_NAME
virsh snapshot-create fedora39
error: failed to get domain fedora39
virsh -c qemu:///system snapshot-create fedora39
error: unsupported configuration: internal snapshot for disk vda unsupported for storage type raw
Convert the disk images to the qcow2 format:
sudo qemu-img convert -O qcow2 /path/to/image /path/to/image.qcow2
Then update your VM configuration.
path to image
being where the iso image is?
That’s the path to your disk image, see:
virsh -c qemu:///system dumpxml VM_NAME --xpath //disk/source
Thanks for chipping in, I had to leave early.
During initial set up, You should have done these steps to get the qcow2
image created onto your SSD (if it’s seperate) or onto a place where you want to store it. The default location I think is /var/lib/images
No I just put /dev/sdd in that box "select or create cumtom storage"
Create a Snapshot with Virt Manager
So after finishing the initial install, you can then click on View > Snapshot and create the first Snapshot of the system.
After clicking the + You can add the first Snapshot
And Viola Your first VM snapshot.
I might need you to explain this a bit more. I understand the drive you are using is /dev/sdd
but it would need to be mounted onto the filesystem and an option on the left pane in “Locate or create storage volume”, I could be misunderstanding. . .
No, you can put the device name straight in that box, I saw it in a YouTube video somebody doing that without clicking select or manage button
virsh -c qemu:///system dumpxml fedora --xpath //disk/source source dev=“/dev/sdd1” index=“2”
Ok, cool.
The device you previously created was a raw
format, so either way you need to make sure that it’s qcow2
then follow the steps in the picture to take your Snapshot after install.
Either way keep us posted.