Encrypted pool does not allow the volume to be pre created for the
restore purpose.
What this PR does?:
Here changing the design to do the restore first
and then create the ZFSVolume object which will bind the volume
already created while doing restore.
Does this PR require any upgrade changes?:
Backward compatibility is maintained by ZFS-LocalPV.
fixes: https://github.com/openebs/zfs-localpv/issues/286
Signed-off-by: Pawan pawan@mayadata.io
Why is this PR required? What issue does it fix?:
Encrypted pool does not allow the volume to be pre created for the restore purpose.
What this PR does?: Here changing the design to do the restore first and then create the ZFSVolume object which will bind the volume already created while doing restore.
Does this PR require any upgrade changes?:
Backward compatibility is maintained by ZFS-LocalPV.
Depends On
https://github.com/openebs/zfs-localpv/pull/292