-
Notifications
You must be signed in to change notification settings - Fork 661
feat: add resize disk guide #3539
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
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Animesh Pathak <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The file name should be disk.md
and should cover other disk operations too
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
gotcha! I'll rename and add other options too. Also in this case it make sense to include both the Linux and MacOS instructions, (previous assumption was only for MacOS)
1. Sufficient free disk space on your host. | ||
2. Using `Qemu` VM type for the lima. | ||
|
||
## Steps to Resize Lima VM Disk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be used:
Signed-off-by: Animesh Pathak <[email protected]>
@AkihiroSuda i have made the necessary changes, but since i primarily use |
@@ -0,0 +1,72 @@ | |||
--- | |||
title: Resize Disk Size |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
title: Resize Disk Size | |
title: Disks |
|
||
## Option 1: Resize Disk Using limactl | ||
|
||
Lima supports editing the disk size of an existing instance using the `--disk` flag with the `limactl edit` command. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lima supports editing the disk size of an existing instance using the `--disk` flag with the `limactl edit` command. | |
Starting with v1.1, Lima supports editing the disk size of an existing instance using the `--disk` flag with the `limactl edit` command. |
> - Increasing disk size is supported, but shrinking disks is not recommended. | ||
> - The instance may need to be stopped before editing disk size. | ||
|
||
## Option 2: Manually Resize Lima VM Disk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be needed
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please squash the commits
Documentation Update:
This pull request introduces a new documentation page to guide users on resizing the disk size of a Lima VM running on macOS. The guide provides a step-by-step process, including prerequisites, commands for successful resizing.
Issue resolve: #3418