Repository: cloudstack Updated Branches: refs/heads/master ebd7a7be5 -> 8204a4489
Provide a more detailed snapshot name on the SAN side Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/f23c5ded Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/f23c5ded Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/f23c5ded Branch: refs/heads/master Commit: f23c5ded0b611a3a4edb17b20ba5af4c057babfd Parents: ebd7a7b Author: Mike Tutkowski <[email protected]> Authored: Sun Jan 25 22:48:30 2015 -0700 Committer: Mike Tutkowski <[email protected]> Committed: Sun Jan 25 22:51:16 2015 -0700 ---------------------------------------------------------------------- .../datastore/driver/SolidFirePrimaryDataStoreDriver.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cloudstack/blob/f23c5ded/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java ---------------------------------------------------------------------- diff --git a/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java b/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java index 485cffa..064bb1a 100644 --- a/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java +++ b/plugins/storage/volume/solidfire/src/org/apache/cloudstack/storage/datastore/driver/SolidFirePrimaryDataStoreDriver.java @@ -549,7 +549,9 @@ public class SolidFirePrimaryDataStoreDriver implements PrimaryDataStoreDriver { storagePool.setUsedBytes(usedBytes); - long sfNewVolumeId = SolidFireUtil.createSolidFireVolume(sfConnection, snapshotInfo.getUuid(), sfVolume.getAccountId(), sfVolumeSize, + String volumeName = volumeInfo.getName() + "-" + snapshotInfo.getUuid(); + + long sfNewVolumeId = SolidFireUtil.createSolidFireVolume(sfConnection, volumeName, sfVolume.getAccountId(), sfVolumeSize, sfVolume.isEnable512e(), NumberFormat.getInstance().format(volumeInfo.getSize()), sfVolume.getMinIops(), 50000, 75000); // Now that we have successfully created a volume, update the space usage in the storage_pool table
