From: Paulo Vital <pvital(a)linux.vnet.ibm.com>
It's not possible (probably by the libvirt rules on logical pools) to
resize a volume on logical pool.
Signed-off-by: Paulo Vital <pvital(a)linux.vnet.ibm.com>
---
ui/js/src/kimchi.storage_main.js | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/ui/js/src/kimchi.storage_main.js b/ui/js/src/kimchi.storage_main.js
index c23a4a6..832d3fc 100644
--- a/ui/js/src/kimchi.storage_main.js
+++ b/ui/js/src/kimchi.storage_main.js
@@ -247,7 +247,9 @@ kimchi.storageBindClick = function() {
} else {
// Read-write pools
if (poolType !== 'scsi' && poolType !== 'iscsi')
{
- if (selectedVolumes.length > 1) {
+ // Not able to resize more than one volume
+ // Logical pools don't enable resize of their volumes
+ if (selectedVolumes.length > 1 || poolType === 'logical')
{
disabled = ['volume-resize'];
enabled =
['volume-clone','volume-wipe','volume-delete'];
} else {
--
2.7.4
Show replies by date
Applied. Thanks.
Regards,
Aline Manera