From f23c5ded0b611a3a4edb17b20ba5af4c057babfd Mon Sep 17 00:00:00 2001 From: Mike Tutkowski Date: Sun, 25 Jan 2015 22:48:30 -0700 Subject: [PATCH] Provide a more detailed snapshot name on the SAN side --- .../datastore/driver/SolidFirePrimaryDataStoreDriver.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 485cffa33f5..064bb1a805a 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