diff --git a/server/src/com/cloud/api/commands/ListVolumesCmd.java b/server/src/com/cloud/api/commands/ListVolumesCmd.java index cc3e885dec6..bd22964efeb 100644 --- a/server/src/com/cloud/api/commands/ListVolumesCmd.java +++ b/server/src/com/cloud/api/commands/ListVolumesCmd.java @@ -218,7 +218,8 @@ public class ListVolumesCmd extends BaseCmd{ } Long poolId = volume.getPoolId(); String poolName = (poolId == null) ? "none" : getManagementServer().findPoolById(poolId).getName(); - volumeData.add(new Pair(BaseCmd.Properties.STORAGE.getName(), poolName)); + volumeData.add(new Pair(BaseCmd.Properties.STORAGE.getName(), poolName)); + volumeData.add(new Pair(BaseCmd.Properties.DEVICE_ID.getName(), volume.getDeviceId())); vTag[i++] = volumeData; }