[zfs] Update module documentation

This commit is contained in:
dalto 2021-11-19 10:46:23 -06:00
parent 855391b31d
commit f37a775977
2 changed files with 10 additions and 0 deletions

View File

@ -6,7 +6,10 @@
There are a few considerations to be aware of when enabling the zfs module There are a few considerations to be aware of when enabling the zfs module
* You must provide zfs kernel modules or kernel support on the ISO for the zfs module to function * You must provide zfs kernel modules or kernel support on the ISO for the zfs module to function
* The zfs kernel module must be loaded prior to the partition module running
* One way to acheive this is by running `modprobe zfs`
* Support for zfs in the partition module is conditional on the zfs module being enabled * Support for zfs in the partition module is conditional on the zfs module being enabled
* The config for the default pools and datasets is configured and described in modules/zfs.conf
* If you use grub with zfs, you must have `ZPOOL_VDEV_NAME_PATH=1` in your environment when running grub-install or grub-mkconfig. * If you use grub with zfs, you must have `ZPOOL_VDEV_NAME_PATH=1` in your environment when running grub-install or grub-mkconfig.
* Calamares will ensure this happens during the bootloader module. * Calamares will ensure this happens during the bootloader module.
* It will also add it to `/etc/environment` so it will be available in the installation * It will also add it to `/etc/environment` so it will be available in the installation

View File

@ -10,6 +10,9 @@
poolName: zpcala poolName: zpcala
# A list of options that will be passed to zpool create # A list of options that will be passed to zpool create
#
# Encryption options should generally not be added here since they will be added by
# selecting the encrypt disk option in the partition module
poolOptions: "-f -o ashift=12 -O mountpoint=none -O acltype=posixacl -O relatime=on" poolOptions: "-f -o ashift=12 -O mountpoint=none -O acltype=posixacl -O relatime=on"
# A list of options that will be passed to zfs create when creating each dataset # A list of options that will be passed to zfs create when creating each dataset
@ -17,6 +20,10 @@ poolOptions: "-f -o ashift=12 -O mountpoint=none -O acltype=posixacl -O relatime
datasetOptions: "-o compression=lz4 -o atime=off -o xattr=sa" datasetOptions: "-o compression=lz4 -o atime=off -o xattr=sa"
# An array of datasets that will be created on the zpool mounted at / # An array of datasets that will be created on the zpool mounted at /
#
# This default configuration is commonly used when support for booting more than one distro
# out of a single zpool is desired. If you decide to keep this default configuration,
# you should replace "distro" with an identifier that represents your distro.
datasets: datasets:
- dsName: ROOT - dsName: ROOT
mountpoint: none mountpoint: none