My VCenter recently failed to resize a disk with error “Invalid operation for device ‘0’”. Here’s how I solved it.
Checking the disk in our VCenter showed that one disk had a size of 2150.2455550347 gigabyte. Wherever that size came from. No big deal, change the size to a full gigabyte number and your are done.
But this time Vcenter threw an error:
Invalid operation for device '0'
For future references: I was using a VCenter 6.7 Version 22.214.171.124000 with the HTML5 interface.
To solve that issue, I had to use the flex (Flash) client and everything worked perfectly without any error.