Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

temp file considerations #53

Open
pepijndevos opened this issue Mar 17, 2013 · 1 comment
Open

temp file considerations #53

pepijndevos opened this issue Mar 17, 2013 · 1 comment

Comments

@pepijndevos
Copy link

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.

@tbatchelli
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants