Highlighted
Enthusiast
Enthusiast

Swapfile location priority

Jump to solution

Is it possible to set the swap file location per host to a datastore on the host then if that runs out of space keep the swap file with the virtual machine? If not what happens when a swap datastore runs out of space?

Tags (2)
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Immortal
Immortal

I suppose you mean VM swapfile.

Is it possible to set the swap file location per host to a datastore on the host then if that runs out of space keep the swap file with the virtual machine?

No, you can choose a different location on the single VM, or at cluster level.

If not what happens when a swap datastore runs out of space?

You probably cannot power on new VM (depending on the needed swap size).

Andre

**if you found this or any other answer useful please consider allocating points for helpful or correct answers

Andre | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro

View solution in original post

0 Kudos
2 Replies
Highlighted
Immortal
Immortal

If you are not able to create a vmkernel swap file either with the VMs other files or on seperate storage you will not be able to start the VM -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
Highlighted
Immortal
Immortal

I suppose you mean VM swapfile.

Is it possible to set the swap file location per host to a datastore on the host then if that runs out of space keep the swap file with the virtual machine?

No, you can choose a different location on the single VM, or at cluster level.

If not what happens when a swap datastore runs out of space?

You probably cannot power on new VM (depending on the needed swap size).

Andre

**if you found this or any other answer useful please consider allocating points for helpful or correct answers

Andre | http://about.me/amauro | http://vinfrastructure.it/ | @Andrea_Mauro

View solution in original post

0 Kudos