Root on ZFS customizations to zsys-setup
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 18/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Da chiarire
- Stato di attività
- Ferma
- Stack tecnologico
- shell
- Ambito
- operating-systems
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- Python
- Stelle
- 58
- Fork
- 57
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Preparare l'ambiente
Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di linuxmint/ubiquity
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
-
Difficoltà 3/5 1-2 giorni Idoneità per principianti 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".Forse già presa @eran132 l’ha presa 71 giorni fa. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 35/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 25/100
-
Difficoltà 4/5 3-5 giorni Idoneità per principianti 18/100
Tutte le issue di linuxmint/ubiquity
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
521xueweihan/HelloGitHub#4729 ·
-
auto-reported bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 62/100
I maintainer di solito rispondono entro 1 giorno
-
cliproxy-quota: a tab around a credential email skips own-accounts and paced-accounts matchingApertaneeds-triage type:bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
pollen-robotics/reachy_mini_conversation_app#631 ·
I maintainer di solito rispondono entro 7 giorni
-
stix-atlas.json: the same relationship id is used for several different mitigates relationshipsAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100