Skip to content

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

@proycon

Description

@proycon

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

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions