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

multipass info doesn't show disk location #1551

Closed
parrotcar00 opened this issue May 21, 2020 · 10 comments
Closed

multipass info doesn't show disk location #1551

parrotcar00 opened this issue May 21, 2020 · 10 comments
Labels

Comments

@parrotcar00
Copy link

How does one find out the location for the virtual HDD that multipass uses for any vm?

I thought multipass info $VM_NAME would show the location of the virtual disk file?

@Saviq
Copy link
Collaborator

Saviq commented May 21, 2020

Hi @parrotcar00 the location of the file is (at the moment) an internal detail. There's no way to move it, and modifying it is unsupported.

May I ask what's your use case?

@Saviq Saviq added question and removed bug labels May 21, 2020
@parrotcar00
Copy link
Author

I wanted to be able to make sure that in case of something bad happening to my vm, I can get my data out. So I was trying to figure out where the disk files are located that I could copy?

Another possible way might be for me to take daily snapshots of the vm, does multipass support this?
I'm just trying to figure out how do can I use multipass when I need to backup my vm data periodically?

@parrotcar00
Copy link
Author

Also, I wanted to add that I'd always be using this on an Ubuntu host running Linux guests, so I wouldn't be affected by by other platform incompatibilities.

@Saviq
Copy link
Collaborator

Saviq commented May 21, 2020

@parrotcar00 it's recommended that you multipass mount important data into your VM, rather than storing it inside, this way you can easily replace an instance with another.

Snapshotting is not currently supported (#208), but since Multipass is a snap, you can snap save its data. All data is stored in /var/snap/multipass/.

@Saviq
Copy link
Collaborator

Saviq commented May 21, 2020

I'm gonna close this as we'd rather not expose this detail, at least not without introducing support for configuring storage.

@Saviq Saviq closed this as completed May 21, 2020
@paulstelian97
Copy link

Because of this I cannot resize my Multipass disk on macOS, and since recreating would take me a full week of downtime I'll ditch it. Completely disappointed because of the default of 5GB which is COMPLETELY inadequate for everything. And for my usecase (running a specific version of the Haskell platform since I cannot find the exact configuration on my macOS host) I cannot use a shared folder either.

@Saviq
Copy link
Collaborator

Saviq commented Jan 10, 2021

@paulstelian97 the issue relevant for resizing has manual steps to resize:

#62 (comment)

@paulstelian97
Copy link

@paulstelian97 the issue relevant for resizing has manual steps to resize:

#62 (comment)

Thanks, you kinda came in too late to save me. I have tried some things which ended up corrupting my Multipass instance and forced me to recreate it. Eh, after like one or two hours of being frustrated I just recreated it, thankfully I didn't actually have much important data in it. Had to increase memory as well (1GB wasn't enough) anyway.

@Saviq
Copy link
Collaborator

Saviq commented Jan 10, 2021

Thanks, you kinda came in too late to save me.

Heh, trying, it's Sunday here ;)

Glad you got it working, we do have to err on the conservative side for default resources. But yes we'll definitely allow resizing / changing memory / CPU and other properties of instances.

@jimthedj65
Copy link

Thanks, you kinda came in too late to save me.

Heh, trying, it's Sunday here ;)

Glad you got it working, we do have to err on the conservative side for default resources. But yes we'll definitely allow resizing / changing memory / CPU and other properties of instances.

Any idea when the ability to resize a disk will be available?

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

4 participants