vmfest icon indicating copy to clipboard operation
vmfest copied to clipboard

temp file considerations

Open pepijndevos opened this issue 12 years ago • 1 comments

On my Linux laptop, and I assume others as well, /tmp is mounted as a tmpfs with a defaut size set to half the available RAM, exluding swap. This is not an ideal place to put GB-sized files in.

I was getting java.io.IOException: No space left on device because of this. I had to swapon some leftover disk space and mount -o remount,size=4G /tmp to make it work. (2G still failed for some reason)

While it is dubious that one should attempt to run virtual machines on a machien with not enough RAM to fit a disk image in half of it, there is another reason to reconsider this.

Move operations from the same partition are nearly instantaneous, while moving from another partition involves actual copying.

Alll very minor stuff.

pepijndevos avatar Mar 17 '13 12:03 pepijndevos

A bug prevented the user supplied :temp-dir option to be taken into account. You can specify extra options when calling vmfest.image/setup-model, and one of them is :temp-dir, which is being ignored at the moment.

tbatchelli avatar Mar 25 '13 13:03 tbatchelli