TBH the requirement is not very clear to me.
When you say "a large datastore is dedicated to storing archived data for one of their VMs", do you mean to say that dedicated datastore contains backup (snapshot) files of the VM?
Also, your statement "A virtual disk was created to fully utilize this datastore and attached to the VM as needed", how are you preventing other VMs from getting migrated to this Datastore since this ISCSI Datastore would be presented to the Host and there would be several other VMs running on that Host.
Also, as per your statement "following the creation of a snapshot, the VM began experiencing crashes, citing insufficient space on the datastore", do you have the exact error message? What is the free space on the datastore?
What application is this VM hosting? Is this a Database VM?
Now coming to your question "Would it be possible to configure the datastore so it is reserved exclusively for this VM?"
I can think of 2 ways
- Present a specific LUN as physical rdm to the VM
- Use Storage Policy Based Management (SPBM) to create a storage policy to include a specific datastore type and then associate the VM with this policy.
Hope this helps.
Original Message:
Sent: Dec 26, 2024 07:34 AM
From: Nathanael Pacheco
Subject: Preventing Space and Snapshot Problems with a Dedicated VM Datastore
Hello everyone,
I'm currently managing a client's environment where a large datastore is dedicated to storing archived data for one of their virtual machines. A virtual disk was created to fully utilize this datastore and attached to the VM as needed. However, following the creation of a snapshot, the VM began experiencing crashes, citing insufficient space on the datastore.
After deleting the snapshots and dealing with several days of disk consolidation errors, the issue was eventually resolved. That said, steps need to be taken to ensure similar problems don't arise in the future.
Would it be possible to configure the datastore so it is reserved exclusively for this VM? From the information gathered so far, it appears that removing the datastore from the heartbeat list and assigning vCenter read-only permissions to it could achieve this objective. Can anyone confirm if these steps would be effective? Additionally, could there be any unintended consequences for the VM's operability as a result? For context, the datastore is iSCSI, though this may not be directly relevant.
Thank you in advance for your insights!
------------------------------
Nathanael Pacheco
------------------------------