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

no space left on device in VM or Docker flavours #152

Closed
proycon opened this issue Jun 28, 2019 · 0 comments
Closed

no space left on device in VM or Docker flavours #152

proycon opened this issue Jun 28, 2019 · 0 comments
Assignees
Labels

Comments

@proycon
Copy link
Owner

proycon commented Jun 28, 2019

This means the virtual disk used by the virtual machine or container is full. This may especially occur if you select some of the larger optional software packages. There is only limited space available in the VM or Docker container (roughly 9GB). For the VM, when you bootstrap your own LaMachine image from scratch (an option currently not available for Windows users though, see also #148), you can opt to create extra diskspace (an extra volume).

For Docker, you may need to increase the base size of your containers (depending on the storage driver you use for docker). Consult the docker documentation at https://docs.docker.com/storage/storagedriver/ and do so now if you need this.

Advanced VM users can resolve the problem on their existing LaMachine VM by adding another virtual disk and moving some of the data, but this requires a fair amount of Linux administration expertise on their part. The procedure is roughly as follows:

  • Create an extra disk for the LaMachine VM in the VirtualBox interface (see for instance this
    tutorial
    up to step 11).
  • From within the LaMachine VM:
    • Partition the new disk (with fdisk or parted)
    • Format the new disk (with mkfs.ext4)
    • Add the new disk to /etc/fstab
    • Move /usr/local (which is where most of LaMachine is installed) to the new disk
    • Symlink the old /usr/local to the new path on the new disk
@proycon proycon self-assigned this Jun 28, 2019
@proycon proycon closed this as completed Jun 28, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant