Posts by tentious

    I'm getting this error when attaching an already existing volume(originally created in cockpit).


    Code
    Error #0:
    OMV\Exception: Unable to add disk to VM - Unable to attach disk in /usr/share/openmediavault/engined/rpc/kvm.inc:512
    Stack trace:
    #0 [internal function]: OMVRpcServiceKvm->setVm(Array, Array)
    #1 /usr/share/php/openmediavault/rpc/serviceabstract.inc(123): call_user_func_array(Array, Array)
    #2 /usr/share/php/openmediavault/rpc/rpc.inc(86): OMV\Rpc\ServiceAbstract->callMethod('setVm', Array, Array)
    #3 /usr/sbin/omv-engined(537): OMV\Rpc\Rpc::call('Kvm', 'setVm', Array, Array, 1)
    #4 {main}

    Hi, new to the community, so not sure if this is the correct place to talk about pull requests for plug-ins.


    I needed to move my OMV5 root drive over to a new one and had trouble restoring a backup taken by omvbackup plugin because it's hard coded to block size of 512 which will only capture mbr not gpt. I noticed this is a problem for a couple others in the forum so I created a pull request to add support for backing up gpt partition tables if detected:


    https://github.com/OpenMediaVa…mediavault-backup/pull/29