mirror of
git://git.proxmox.com/git/qemu-server.git
synced 2025-01-25 06:03:52 +03:00
fix move_disk on RBD
activating the disk when use RBD is necessary to have the given path.
This commit is contained in:
parent
952e3ac30f
commit
1dbd6d30e0
@ -6276,6 +6276,8 @@ sub clone_disk {
|
||||
$newvolid = PVE::Storage::vdisk_alloc($storecfg, $storeid, $newvmid, $format, undef, ($size/1024));
|
||||
push @$newvollist, $newvolid;
|
||||
|
||||
PVE::Storage::activate_volumes($storecfg, $newvollist);
|
||||
|
||||
if (!$running || $snapname) {
|
||||
qemu_img_convert($drive->{file}, $newvolid, $size, $snapname);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user