I want to reduce the storage size of the VM's running on a Linux 8 physical machine from 2 TB to 400 GB. The actual size of VM's is around 100 GB. But the space we give it as allocated size is too big and I want to reduce it.
What I'm talking about is not reducing the VM's available storage, but reducing storage disk size of VM's disks from 2TB to 400GB.
All the required RPMs are installed and there is nothing extra I need to do inside the VM. However, I should definitely not lose the current data in the VM. How can I do that?
I know that the VM should be kept off during the process. I have no problem with this, if there is a way to do it online I don't have to use this method.
Or can I simply edit this using the XML files that make up the VM?
As you can see from the questions, I'm not an expert on this subject. I would appreciate a detailed answer.