Linked clones: base disks are never cleaned up

オープン
#70 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
42/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
活発
技術スタック
electron, react, typescript
領域
desktop, devtools

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

backend enhancement

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.

主要言語
TypeScript
スター
3
フォーク
0
平均マージ
2分
マージ済み PR(30日)
35

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

A21-devs/Virtual-Machine-Manager のほかの issue

A21-devs/Virtual-Machine-Manager の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。