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

not enough disk space VM too small #1387

Closed
alexladerman opened this issue Feb 25, 2020 · 2 comments
Closed

not enough disk space VM too small #1387

alexladerman opened this issue Feb 25, 2020 · 2 comments

Comments

@alexladerman
Copy link

I just spent hours installing all the prerequisites for an application onto a new VM only to find at the last step there is not enough disk space to copy some 15 GB of files that the application needs.

Is there any way of increasing the disk allocation for an existing container? or perhaps launch a new container with --disk but based on the image of earlier one?

@Saviq
Copy link
Collaborator

Saviq commented Feb 26, 2020

Hi @alexladerman see #62, growing the filesystem is not a trivial task, as the underlying block device needs to be resized, then the partitions inside, and then the filesystem itself. There's a non-negligible chance of things going wrong, so we're generally recommending a new VM with a generous --disk.

That said, if you want to dive into it, qemu-img can help you try and achieve what you need. You didn't say what your platform is - on Linux, all the data is stored in /var/snap/multipass/common, on macOS, in /var/root/Library/Application\ Support/multipassd and on Windows, in C:\Windows\System32\config\systemprofile\AppData\Roaming\multipassd.

I'm going to close this as a duplicate of #62.

@Saviq
Copy link
Collaborator

Saviq commented Feb 26, 2020

Duplicate of #62

@Saviq Saviq marked this as a duplicate of #62 Feb 26, 2020
@Saviq Saviq closed this as completed Feb 26, 2020
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