Root on ZFS customizations to zsys-setup
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức phù hợp với người mới
- 18/100
- Loại issue
- Tính năng
- Độ rõ ràng
- Cần làm rõ
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- shell
- Lĩnh vực
- operating-systems
Hướng nghiên cứu
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.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- Python
- Star
- 58
- Fork
- 57
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Chuẩn bị môi trường
Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của linuxmint/ubiquity
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
-
Độ khó 3/5 1-2 ngày Mức phù hợp với người mới 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".Có thể đã có người làm @eran132 đã nhận 71 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 18/100
Tất cả issue của linuxmint/ubiquity
Issue tương tự
-
available documentation good first issue
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 95/100
Nixitov/Riptide-Native#944 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
JTHCode/secretguard#24 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
area: middleware documentation good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
-
enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
good first issue
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
omarelshamy25x/shamy-hijri#63 ·
Maintainer thường phản hồi trong vòng 1 ngày