Commit Graph

400 Commits

Author SHA1 Message Date
Richard Laager
7343c2253f Debian & Ubuntu: Use compatibility=grub2
This reduces the number of features I need to enable explicitly.

As discussed in #306 and #307.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-19 23:17:17 -05:00
Richard Laager
bc3af3ba58 Ubuntu 22.04: Update bpool features
This brings in things from Debian Bullseye.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-19 23:17:17 -05:00
Richard Laager
c084a2ebff Debian: Set autotrim=on on Bullseye
I had this for Ubuntu 22.04.  This should be supported on Debian Bullseye too.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-19 23:17:17 -05:00
Adrian Tritschler
ebb9db2c7b Update index.rst - typo in example command line
Commandline "yum install https://zfsonlinux.org/epel/zfs-release$(rpm -E %dist).noarch.rpm" had typo, to use "%distro" rather "%dist"

[root]# rpm -E %distro
%distro
[root]# rpm -E %dist
.el7_9
2022-05-19 19:34:28 +03:00
Maurice Zhou
0ff944c678 Fedora 36: bump version; backup bash input history for future reference
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-05-19 17:57:49 +03:00
Laura Hild
5e947852c7 Update zfs_multihost_{fail,import}_intervals defaults for v0.8
Pull request was openzfs/zfs#8495,
commit openzfs/zfs@db2af93d72.
2022-05-19 17:56:36 +03:00
Richard Laager
f110d52486 Debian Bullseye: Fix issue with zed steps
Running "zfs set canmount=off rpool/ROOT/debian" causes the root
filesystem to be remounted read-only.  I have no idea why, but that's
mostly beside the point.

I have no idea why I added these commands in the first place.  The
other guides were not this way.  These steps showed up in the initial
add of the Bullseye instructions.

Reported-by: Cameron Skappel <cskappel@wiktel.com>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-19 00:56:53 -05:00
Richard Laager
fc9bcbadb9 Debian: Fix some wording
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-19 00:52:31 -05:00
Richard Laager
903d631033 Set encryption=on
encryption=aes-256-gcm is now the default.

anarcat mentioned this in PR #306.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-19 00:51:52 -05:00
Richard Laager
3d94c40b4a Ubuntu 22.04: Update encryption default note
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-19 00:07:43 -05:00
thecoder-001
66f09a00fa Updated compatibility matrix
Updated the repo for openzfsonosx. Also updated man page links.
Signed-off-by: thecoder-001 <ayush06feb@gmail.com>
2022-05-01 17:12:32 -05:00
Richard Laager
8105d010fe Ubuntu 22.04 / Debian: Deprecate zsys
Ubuntu almost removed support for ZFS from the installer, and zsys is
on life support:
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1966773
https://bugs.launchpad.net/ubuntu/+source/ubiquity/+bug/1968150

I plan to rework the Ubuntu 22.04 instructions to be closer to those for
Debian Buster.  This will be straightforward, but I need to actually test
the resulting instructions before pushing that change.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-04-29 16:44:46 -05:00
Jonathan Dumont
d8e15645f6 Debian: Create /etc/dropbear-initramfs
/etc/dropbear-initramfs is not create automatically - at least on Debian
testing

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-04-27 14:21:06 -05:00
Richard Laager
5543afab03 Debian: Use tasksel --new-install
This switch makes tasksel include the "standard system utilities" task.

Unfortunately, it also defaults to installing a desktop environment, so
we need to warn users about that.

Co-authored-by: Marcello Mamino <m2@ciovil.li>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-04-27 14:18:00 -05:00
Matt Bentley
4007f89319 Added note about boot pool size consideration; fixes #296
Signed-off-by: Matt Bentley <mbentley@mbentley.net>
2022-04-24 16:40:53 -05:00
Martín Gómez
33b846f3e6 Debian: Use bullseye-backports
Update to use Debian bullseye-backports repository.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-04-22 22:50:53 -05:00
Richard Laager
180dedbe6f Debian/Ubuntu: Add a hint about multi-disk setups 2022-04-21 23:31:54 -05:00
Richard Laager
3236a8bc82 Ubuntu: Add 22.04 for Raspberry Pi
I haven't tested these yet.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-04-21 23:31:32 -05:00
Richard Laager
761e88acce Ubuntu: Update for 22.04 release
I removed the beta marking from 22.04 and added the "Newer release
available" note to 20.04.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-04-21 23:29:54 -05:00
Daniel Baker
58123389d6 Removing unnecessary usage mount/umounts of /boot/efi. /boot/efi is not used but /boot/efis is. 2022-04-12 12:43:52 +03:00
Daniel Baker
b29a791a6b Fixes 'attribute 'efi' already defined' error. 2022-03-31 17:06:20 +03:00
George Melikov
a3bd990124 Module Parameters: update zfs_arc_max for FreeBSD
Closes: #276
2022-03-27 15:15:28 +03:00
Maurice Zhou
b535751f23 Fix bug: dracut config must not be overwritten
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-03-21 12:14:36 +03:00
Maurice Zhou
2aa4040743 Fedora & RHEL: fix slow loading mpt3sas.
Credit: @mdiepart from #282

Closes #282 #262

Fix variable export before chroot

Credit: @mdiepart from #282

remind user to enable multi-disk support

NixOS: handle installation failure wrt encrypted boot pool

Closes #279
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-03-19 13:23:22 +03:00
George Melikov
c53d8efe03 Module Parameters: cleanup titles underlines 2022-03-19 13:18:41 +03:00
Richard Laager
e9ad548c11 Ubuntu 22.04: Fix some 20.04 references
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-03-17 19:10:21 -05:00
Richard Laager
c4010d709b Ubuntu 22.04: Drop zfs-mount-generator patch
The patch has been brought into Ubuntu 20.04.3 and is no longer needed.
I (rlaager) missed making this change to the 22.04 instructions too.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-03-17 19:06:47 -05:00
George Melikov
a749ae89c9 FAQ: update link to ceph "official" workaround 2022-03-17 14:31:54 +03:00
Richard Laager
0dddb09283 Ubuntu: Add beta 22.04 instructions
This is the 20.04 version with the following changes:
  - s/focal/jammy/
  - Drop the Errata section
  - The history symlink exists by default, so there is no need to
    create it.
  - Add a note about being beta instructions.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-03-10 22:33:59 -06:00
Richard Laager
8237016850 Ubuntu: Bump to 20.04.4
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-03-10 22:31:29 -06:00
schmidthausen
330ef6153d Ubuntu: Drop zfs-mount-generator patch
The patch has been brought into Ubuntu 20.04.3 and is no longer needed.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-03-10 22:27:51 -06:00
kewiha
1cbb76f064 Add details on l2arc_exclude_special (#275) 2022-03-05 21:13:01 +03:00
szubersk
77b8563015 Ubuntu: mention universe component
Signed-off-by: szubersk <szuberskidamian@gmail.com>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
[Split this out.]
2022-02-26 11:36:22 -06:00
Richard Laager
96c790d51b Ubuntu: Remove mentions of 16.04
Ubuntu 16.04 support ended April 2021.

Limited support is available to commercial customers via the Extended
Security Maintenance (ESM) program, but this is only for select
packages.  So I think we are safe to drop this.
2022-02-26 11:34:42 -06:00
Richard Laager
e004a424e4 Ubuntu: Change some formatting
Use a "note" section for the Root on ZFS note.

Signed-off-by: szubersk <szuberskidamian@gmail.com>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
[Split this out and rewrote commit message.]
2022-02-26 11:29:44 -06:00
Fernando Carolo
e8771c6d84 Update docs for Ubuntu on Raspberry Pi for 20.04.4 release.
Update the getting started instructions for Ubuntu on a Raspberry Pi to
use the new 20.04.4 LTS release.

Signed-off-by: Fernando Carolo <fcarolo@google.com>
2022-02-26 11:22:17 -06:00
Ed Maste
31db1ac4f1 Update FreeBSD instructions for FreeBSD src Git transition 2022-02-26 15:40:28 +03:00
Maurice Zhou
4c2bb3a230 Add users optional home directory to fstab
Closes #267

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-02-15 18:09:30 +03:00
Maurice Zhou
11c527ed27 NixOS Root on ZFS: replace /boot/efi with primary disk esp
/boot/efi is used exclusively to mirror EFI contents to
other disks, as in `cp /boot/efi/EFI /boot/efis/disk{0,1,2}`

As shown in issue #256, this approach causes trouble with
`nixos-generate-config`, which fills filesystem type as 'none'.

This commit fixes this issue by removing /boot/efi mountpoint and
directly copy from '/boot/efis/primary-disk/EFI/'.

Closes #256

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-02-15 17:30:27 +03:00
Maurice Zhou
891a5e1659 NixOS: remove encrypted swap section due to system bug
See https://github.com/NixOS/nixpkgs/issues/157989

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-02-07 12:27:43 +03:00
krumelmonster
bbea2a1c1b exporting bpool would reproducibly fail for me, suggesting import -f in initramfs on reboot as a fix 2022-02-02 21:08:58 +03:00
krumelmonster
02ade43665 suggest to use wipefs on disks containing obsolete zfs labels 2022-02-02 21:08:58 +03:00
George Melikov
3a0f9a4acd OpenSUSE RootOnZFS typoes cleanup 2022-02-02 19:45:32 +03:00
Maurice Zhou
b490d147c6 Arch Linux: add live iso instructions
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-01-31 20:07:46 +03:00
Kevin P. Fleming
5713bc08ed Use 'private' bind mounts
When plain '--rbind' is used, the 'umount' process executed later in the
setup process completely unmounts the bound filesystem, resulting in various
forms of breakage on the host used to do the setup. When a Live CD is used
and the system will be immediately shutdown/rebooted, this isn't an issue,
but in other scenarios it can be problematic.

Making the bind mounts 'private' avoids this problem. This patch changes
the setup guides for 'modern' distribution versions but does not touch
the older ones where this functionality may not be available.

Signed-off-by: Kevin P. Fleming <kevin@km6g.us>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-01-17 12:35:02 -06:00
LordNicky
7b974c4181 Update openSUSE Leap Root on ZFS.rst
Errors fixing.
2022-01-17 17:24:19 +03:00
jumbi77
6ab5670546 zfs doc: upper bound for slop space calculation
OpenZFS v2.1 and above added an upper bound for slop space calculation.
See: f01eaed455
2022-01-14 21:57:06 +03:00
shotcollin
28d89ab4a1 Ubuntu: Update errata to remove old paths
I think there might be a mixup in the errata between paths suggested
in 2020-05-30 fix and those in original/2020-12-15 fix.

Closes #244
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-01-12 01:41:00 -06:00
George Melikov
fee8273b39 FAQ: fix inner-page anchor
Closes #250
2022-01-09 20:45:27 +03:00
jumbi77
cbf1e0bafa Update OpenZFS Exceptions.rst 2022-01-04 02:35:28 +03:00