Skip to content

Fail early if incus-migrate size is larger than target #2160

@michagruner

Description

@michagruner

Is there an existing issue for this?

  • There is no existing issue for this feature

What are you currently unable to do

I was trying to migrate my first VM away from my Proxmox machine to my incus@TrueNas (6.0.2) using incus-migrate. I was wondering why it stopped in the middle of the transfer with a "no space left" error message. Obviously the size of the target zvol was set to 15GB (don't know why) but my source vol size was 33GB.

What do you think would need to be added

I think it would be nice to have like a warning "your target vol-size is smaller than your source vol-size" or something similar or set the target vol-size to the source vol-size as a default. Probably it would also be a good idea to provide the user with the target vol-size information in the summary "Instance to be created:" by default and not only in the event the user changed the value.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions