Linked clones: base disks are never cleaned up
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 42/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Active
- Tech stack
- electron, react, typescript
Research direction
Start by tracing linked clone creation and VM removal, then inspect how the app finds disk files and invokes qemu-img info. The issue proposes either offering cleanup after VM removal or adding an unused-base list with size and a Delete button. Done means unused bases can be identified safely, with every remaining disk checked to confirm its backing chain does not reference the base before deletion.
Written by the indexing model from the issue text.
Description
A linked clone (#65) renames the source disk to <name>.base-<id>.qcow2 and makes it read-only. Nothing ever deletes it. Remove from library keeps disks on purpose, but once every VM that used a base is gone (or has been fully cloned and removed), the base just sits in disks\ taking the full size of the original disk, and it's read-only so deleting it by hand fails until you change the attribute.
Ideas:
- When a VM is removed, check whether any remaining VM's disk has that base in its backing chain, and if none does, offer to delete it.
- Or list unused base files somewhere (Settings, once #14 lands) with their size and a Delete button.
Needs care: only delete a base when qemu-img info on every remaining disk confirms nothing points at it.
- Dominant language
- TypeScript
- Stars
- 3
- Forks
- 0
- Avg merge
- 2m
- Merged PRs (30d)
- 59
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from A21-devs/Virtual-Machine-Manager
-
enhancement ui
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
A21-devs/Virtual-Machine-Manager#128 ·
Maintainers usually reply within 1 day
-
bug ui
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
A21-devs/Virtual-Machine-Manager#127 ·
Maintainers usually reply within 1 day
-
ui
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
A21-devs/Virtual-Machine-Manager#126 ·
Maintainers usually reply within 1 day
-
documentation tests
Difficulty 2/5 1-3 hours Newbie friendliness 77/100
A21-devs/Virtual-Machine-Manager#106 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
A21-devs/Virtual-Machine-Manager#105 ·
Maintainers usually reply within 1 day
All issues in A21-devs/Virtual-Machine-Manager
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
platform:windows provider:antigravity-cli providers setup triaged wontfix
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
can1357/oh-my-pi#21349 · 1 comment ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 2 days
-
agentic-workflows
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
ohcnetwork/care_fe#17474 ·
Maintainers usually reply within 1 day
-
enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 90/100