mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
Fix a bug in creating volume path in copy command.
This commit is contained in:
parent
f23f341922
commit
01e36538aa
@ -994,7 +994,7 @@ public class XenServerStorageProcessor implements StorageProcessor {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create a SR for the volume UUID folder
|
// Create a SR for the volume UUID folder
|
||||||
secondaryStorage = hypervisorResource.createNfsSRbyURI(conn, new URI(nfsStore.getUrl() + destVolume.getPath()), false);
|
secondaryStorage = hypervisorResource.createNfsSRbyURI(conn, new URI(nfsStore.getUrl() + File.separator + destVolume.getPath()), false);
|
||||||
// Look up the volume on the source primary storage pool
|
// Look up the volume on the source primary storage pool
|
||||||
VDI srcVdi = getVDIbyUuid(conn, srcVolume.getPath());
|
VDI srcVdi = getVDIbyUuid(conn, srcVolume.getPath());
|
||||||
// Copy the volume to secondary storage
|
// Copy the volume to secondary storage
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user