File:  [NetBSD Developer Wiki] / wikisrc / projects / project / zfs_root.mdwn
Revision 1.1: download - view: text, annotated - select for diffs
Fri Feb 21 22:41:58 2020 UTC (9 months, 1 week ago) by maya
Branches: MAIN
CVS tags: HEAD
Add ZFS root project

No listed mentor. If you care about this please sign up.

[[!template id=project

title="ZFS root support (bootloader and mount_root)"

contact="""
[tech-kern](mailto:tech-kern@NetBSD.org)
"""

mentors="""
[tech-kern](mailto:tech-kern@NetBSD.org)
"""

category="kernel"
difficulty="easy"
duration="1-2 months"

description="""
This project consists of two parts: getting the bootloader code ("libsa") to
read ZFS filesystems, and enabling mounting ZFS as a root filesystem.

For ZFS bootloader support, fortunately code already exists in the FreeBSD
variant of libsa, so it's a matter of adapting it.

Milestones:

ZFS bootloader:

* Setup test environment for testing bootloader changes, experiment with debug printing in libsa
* Identify & import ZFS libsa code in FreeBSD
* Read a kernel from a ZFS filesystem, while booting into a non-ZFS root.

ZFS as root filesystem:

* Understanding what root mount functions must do
* ???
* Write one for ZFS on NetBSD

Stretch goal:

* Pass a parameter for which ZFS snapshot to boot to, using the bootloader.
"""

]]

[[!tag gsoc]]

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb