Add create_zfs_centric_layout to gentoo.conf.example
This commit is contained in:
parent
09b920d6d4
commit
99667b2cd2
|
@ -32,11 +32,29 @@ function disk_configuration() {
|
|||
# root_fs=[ext4|btrfs] Root filesystem
|
||||
#create_classic_single_disk_layout swap=8GiB type=efi luks=true root_fs=ext4 /dev/sdX
|
||||
|
||||
# 2. create_raid0_luks_layout
|
||||
# 2. create_btrfs_centric_layout
|
||||
#
|
||||
# A modern disk layout designed around ZFS. This layout is the same as the
|
||||
# single_disk_layout, but uses ZFS as the root filesystem and optionally allows
|
||||
# you to put additional disks into the zfs pool (with striping or mirroring).
|
||||
# Only the first disk will have boot and swap partitions, the other disks will
|
||||
# directly be added to the zfs pool. It is also possible to use ZFS's native
|
||||
# encryption feature to encrypt the pool.
|
||||
#
|
||||
# Parameters:
|
||||
# swap=<size> Create a swap partition with given size, or no swap
|
||||
# at all if set to false
|
||||
# type=[efi|bios] Selects the boot type. Defaults to efi if not given.
|
||||
# encrypt=[true|false] Encrypt the zfs pool. Defaults to false if not given.
|
||||
# pool_type=[mirror|stripe] Select zfs pool type. Defaults to stripe.
|
||||
#create_zfs_centric_layout type=efi swap=8GiB encrypt=true pool_type=raid0 /dev/nvme0n1
|
||||
#create_zfs_centric_layout type=efi swap=8GiB encrypt=true pool_type=raid0 /dev/nvme0n1 /dev/nvme1n1
|
||||
|
||||
# 3. create_raid0_luks_layout
|
||||
#
|
||||
# This layout creates the single disk layout on multiple disks and combines
|
||||
# the swap and root partitions in separate raid0 arrays. Useful if you e.g. have
|
||||
# several nvme drives and want greater speed. Only one boot partition will actually
|
||||
# several nvme drives and want increased speed. Only one boot partition will actually
|
||||
# be used though.
|
||||
#
|
||||
# Parameters:
|
||||
|
@ -47,7 +65,7 @@ function disk_configuration() {
|
|||
# Careful: You will get N times the swap amount, so be sure to divide beforehand.
|
||||
#create_raid0_luks_layout swap=4GiB type=efi root_fs=ext4 /dev/sd{X,Y}
|
||||
|
||||
# 3. create_btrfs_centric_layout
|
||||
# 4. create_btrfs_centric_layout
|
||||
#
|
||||
# This layout is the same as the single_disk_layout, but uses btrfs as the root
|
||||
# filesystem and allows you to put additional disks into the btrfs device pool.
|
||||
|
|
Loading…
Reference in New Issue