Ramdisk for KVM Minecraft VM

rubylaser

Renowned Member
Nov 11, 2009
31
2
73
Hello, I'm trying to setup a Minecraft Server in a KVM instance for nephew. I have read that loading the maps in a ramdisk can greatly reduce the lag. I have this all working on my local hardware test machine (Ubuntu 12.04.3 Server), but when I add the tmpfs line to my /etc/fstab on Proxmox (Ubuntu 12.04.3 Server), the machine does not boot. Here's what I have in /etc/fstab for the machine.

Code:
tmpfs  /home/minecraft/minecraft_ramdisk tmpfs  defaults,size=512m      0       0
Is there any way to utilize a ramdisk in a KVM instance? As, you can see, I don't need a massive disk at all, so I hope this is doable.
 
What errors do you see on the vm console when you boot it?

You can use the WebVNC console to see the boot process.
 
Geez, I feel like an idiot. I looked at this stupid thing all day, and couldn't even get it to boot. I had created multiple directories like this.
Code:
mkdir -p {minecraft,minecraft_backup, minecraft_ramdisk}
As, you can see, the stupid space in my mkdir string created the wrong directory and as result prevented the ramdisk from mounting and halted the boot process.