Hi all,
I'm trying to figure out how to have my virtual hard drives run efficiently on thin provision volumes. I have a 4 node setup with all 10GB Backend for VM's and Containers mounted on each node.
The storage is mounted via NFS
The backend storage (Various QNAPs) are all created as thin provision volumes.
The Guest data all resides on the thin provisioned volumes on NFS storage.
On the guest hard drives, I have them set as Discard, however I cannot enable the SSD Emulation as its greyed out.
If I migrate a 1TB drive from one storage array to another one, even if its using only 200GB of data, once its migrated on to the other storage array its how utilizing the entire 1TB of space.
My question is the following:
1.) How do I enable SSD Emulation on existing drives. Not sure if i need this, but the wiki page about seemed to suggest that it might need to be.
2.) The servers effected are debian / ubuntu servers ranging from debian 9 to ubuntu 18.04
3.) All guests have the qemu-drivers installed. Not sure if there is anything else I need to do in order to configure it to let the guest know that trim needs to be done when data is discarded.
The set size only happens during a migration. When it sits on the initial storage unit that it was created on, the virtual disk will only use up the actual amount of storage in use, even if the disk is presented to the guest as a 1TB disk.
Can someone please give me a hand in figuring this out as I'd like to migrate disk between storage arrays and not have them take up the actual amount once the disk are used, but only the actual amount they are currently using.
I've searched the forums, but nothing seems to be in line with the issue I am seeing with thin provisioned drives and NFS.
Thank you!
I'm trying to figure out how to have my virtual hard drives run efficiently on thin provision volumes. I have a 4 node setup with all 10GB Backend for VM's and Containers mounted on each node.
The storage is mounted via NFS
The backend storage (Various QNAPs) are all created as thin provision volumes.
The Guest data all resides on the thin provisioned volumes on NFS storage.
On the guest hard drives, I have them set as Discard, however I cannot enable the SSD Emulation as its greyed out.
If I migrate a 1TB drive from one storage array to another one, even if its using only 200GB of data, once its migrated on to the other storage array its how utilizing the entire 1TB of space.
My question is the following:
1.) How do I enable SSD Emulation on existing drives. Not sure if i need this, but the wiki page about seemed to suggest that it might need to be.
2.) The servers effected are debian / ubuntu servers ranging from debian 9 to ubuntu 18.04
3.) All guests have the qemu-drivers installed. Not sure if there is anything else I need to do in order to configure it to let the guest know that trim needs to be done when data is discarded.
The set size only happens during a migration. When it sits on the initial storage unit that it was created on, the virtual disk will only use up the actual amount of storage in use, even if the disk is presented to the guest as a 1TB disk.
Can someone please give me a hand in figuring this out as I'd like to migrate disk between storage arrays and not have them take up the actual amount once the disk are used, but only the actual amount they are currently using.
I've searched the forums, but nothing seems to be in line with the issue I am seeing with thin provisioned drives and NFS.
Thank you!