TeeJayHoward
Limpness Supreme
- Joined
- Feb 8, 2005
- Messages
- 12,271
I got the Failed to extend swap file from 0 KB to <size> KB error mentioned here this morning. The VM is located on an iSCSI datastore on a Windows Server 2012 box, in a Storage Spaces pool of drives. The datastore is 250GB in size. The "hard drive" for the VM is 40GB in size. Nothing else is on that datastore.
I've never played with iSCSI before, and I've very little experience with ESXi 5.1. Needless to say, I'm almost certain I screwed up somewhere. What troubleshooting steps I should go through to resolve the issue? For the time being, I did the memory reservation bit, and it worked. I assume that vSphere tries to put the swap file in the same location as the vmdk, right? How would I verify this? I'd also like to know how to tell how much free space is remaining on the datastore/volume, in case I somehow made a 40GB volume on my 250GB datastore.
I've never played with iSCSI before, and I've very little experience with ESXi 5.1. Needless to say, I'm almost certain I screwed up somewhere. What troubleshooting steps I should go through to resolve the issue? For the time being, I did the memory reservation bit, and it worked. I assume that vSphere tries to put the swap file in the same location as the vmdk, right? How would I verify this? I'd also like to know how to tell how much free space is remaining on the datastore/volume, in case I somehow made a 40GB volume on my 250GB datastore.
Last edited: