Persistent ramdisk with tmpfs and rsync

Minecraft reads and writes a lot from disk. In order to speed this up we can store the files in memory instead. If you google “minecraft tmpfs” you will find a lot of info on this.

The main issue is that ramdisks created using tmpfs are temporary. The content is wiped on a system reboot.

The script I created takes care of persisting the ramdisk. It is a general solution that can be used for any content. Minecraft servers included.

Download RamDriveTick
This is the content of the file:

OR you could just move your whole server there 🙂 That way you won’t need to mess with symbolic links at all. If you are using the dynmap plugin you should configure so the rendered tiles are stored elsewhere. Because all those images can easily reach over 10 gigabytes.

By | 2012-10-21T08:15:22+00:00 October 1st, 2011|Uncategorized|4 Comments


  1. Lilleman 2011-10-02 at 08:47 - Reply

    Snyggt! Och grymt bra dokumenterat script. Har ingen direkt användning för det just nu, då jag lyckats hålla mig ifrån minecraft… Men det kommer väl 😉

  2. Dexeron 2012-03-13 at 09:18 - Reply

    Hey, I have actually been using Dataram on my client for a while now (under drive M:). Would it be worthwhile creating another drive to run servers from?

    And I’m gonna learn about those memory dumps too 🙂

  3. Guido Amabili 2014-03-28 at 06:17 - Reply

    Thanks simple solution but perfect for me. I am configuring my dev box and needed a script to save my projects from tmpfs to the ssd. And ramdrivetick does that very well.

  4. I Lingonskogen 2014-12-05 at 11:40 - Reply

    Tack för det här! Jag har inte ens tänkt på en ramdisk på årtionden men i desperata försök att få fart på en seeeg Vagrantbox (många filer i flera Drupalinstallationer) som vägrar fungera med NFS provade jag din skript. Det funkar faktiskt riktigt bra. Nöden har ingen lag osv. TACKAR som delar!

Leave A Comment