KVM plugin restore bug: qcow2 format not preserved.

  • ryecoaaron I'm back to testing OMV6 after couple of weeks breaks and there seems to be a bug in the KVM restore function. A VM with a single qcow2 format disk backs up as qcow2, but restores as a raw format disk producing an error when the VM is started.



    The culprit seems to be line 143 in /usr/sbin/omv-restore-vm


    Code
       qemu-img dd if="${bak}" of="${copyTo}" bs=1M


    Without -f -o flags, "qemu-img dd" doesn't seem to preserve qcow2 format.

    • Offizieller Beitrag

    Without -f -o flags, "qemu-img dd" doesn't seem to preserve qcow2 format.

    Thanks for pointing that out. I guess I thought it did auto-detection of the source file and left it the same. I will fix that.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

    • Offizieller Beitrag

    Krisbee Hopefully this is fixed in 6.1.17 in the repo now.

    omv 7.0.5-1 sandworm | 64 bit | 6.8 proxmox kernel

    plugins :: omvextrasorg 7.0 | kvm 7.0.13 | compose 7.1.4 | k8s 7.1.0-3 | cputemp 7.0.1 | mergerfs 7.0.4


    omv-extras.org plugins source code and issue tracker - github - changelogs


    Please try ctrl-shift-R and read this before posting a question.

    Please put your OMV system details in your signature.
    Please don't PM for support... Too many PMs!

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!