Root on ZFS customizations to zsys-setup
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 18/100
- issue の種類
- 機能追加
- 明瞭さ
- 説明が足りない
- 活発さ
- 停滞
- 技術スタック
- shell
調査の方向性
Read /usr/share/ubiquity/zsys-setup and the linked zsys-setup.diff to see how the installer currently creates the EFI, swap, bpool and rpool partitions. This is a proposal, not an accepted task, so the first step is a maintainer decision on whether the ZFS layout should change at all. Done means the cleaned-up script produces the agreed layout and the partition order is confirmed in the installer.
索引モデルが issue の本文から書いたものです。
説明
I've installed Linux Mint using the ZFS option, and I find the default layout provided by the installer is really not good (rationale below) so I had to customize /usr/share/ubiquity/zsys-setup to produce something more usable.
script: zsys-setup
diff: zsys-setup.diff
And I think it would be good to contribute those changes upstream. I'd need to clean up the script a bit, but is anyone here interested in that? Is this the correct place to submit?
Why did I have to make changes to the ZFS layout?
For context, the default layout is
fat32 EFI 512 MiB
linux-swap 2 GiB
zfs bpool 2 GiB
zfs rpool rest of disk
This is not good because (and this is the only downside of ZFS) it's not possible to resize ZFS partitions. So if you want to add more swap or dual boot, you can't. You're stuck. So I changed zsys-setup to produce this for my 2TiB NVMe drive:
fat32 EFI 512 MiB
zfs bpool 2 GiB
zfs rpool 500 GiB
linux-swap 2 GiB
unallocated rest of disk
This leaves a bunch of unallocated space to be used how you wish. And if you want all that space in the rpool, you can easily create a second vdev and attach it to the rpool. In my case this is how I used the space:
fat32 EFI 512 MiB
zfs bpool 2 GiB
zfs rpool 500 GiB
zfs rpool(vdev2) 1.25 TiB
zfs SLOG(hdd) 32 GiB (SLOG for hdd pool separate from rpool)
linux-swap 64 GiB
- 主要言語
- Python
- スター
- 58
- フォーク
- 57
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
linuxmint/ubiquity のほかの issue
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
The variable named 'partition' causes an unhandled error when there are no disks connected to the system: "TypeError: argument of type 'NoneType' is not iterable".対応中かも @eran132 が 71 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 35/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 18/100
linuxmint/ubiquity の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
521xueweihan/HelloGitHub#4729 ·
-
auto-reported bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
needs-triage type:bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
pollen-robotics/reachy_mini_conversation_app#631 ·
メンテナーはふだん 7 日以内に返信
-
stix-atlas.json: the same relationship id is used for several different mitigates relationshipsオープン
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100