qm config <VMID>
) and the storage config (cat /etc/pve/storage.cfg
), we might be able to help you with any additional steps required to get a raw image of your VM disks.Have you checked the AWS documentation on importing images? https://aws.amazon.com/ec2/vm-import/ and https://docs.aws.amazon.com/vm-import/latest/userguide/vmimport-image-import.html
If you could provide the VM config (qm config <VMID>
) and the storage config (cat /etc/pve/storage.cfg
), we might be able to help you with any additional steps required to get a raw image of your VM disks.
dd if=/dev/zvol/fivehundredgb/vm-102-disk-0 of=/path/to/file bs=4M
. This will create the file at `/path/to/file` and copy all data to it.As this is a ZVol, you can simply copy from the block device /dev/zvol/fivehundredgb/vm-102-disk-0 to a file with the `dd` command.
Create a backup first, just to be safe! Test it to see that it is working!
Make sure the VM is not running (for consistency).
Then rundd if=/dev/zvol/fivehundredgb/vm-102-disk-0 of=/path/to/file bs=4M
. This will create the file at `/path/to/file` and copy all data to it.
If you have enough space, a simpler method would be to move the disk to the `local` storage with the format `raw`. This can be done in the GUI.
We use essential cookies to make this site work, and optional cookies to enhance your experience.