Commit Graph

388 Commits

Author SHA1 Message Date
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
Maurice Zhou
7b2af8129a NixOS: remove unnecessary import service for LUKS bpool
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-01-03 10:16:18 +03:00
Maurice Zhou
00d5a7e806 Fedora: replace dnf remove with rpm -e --nodeps
Fix an issue where removing zfs-fuse package will cause tons of other
packages marked for removal

Reported by @siepkes

Closes #245

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-12-30 22:09:17 +03:00
Maurice Zhou
4aa28d1d66 RHEL: switch to kmod
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-12-28 15:56:26 +03:00
Maurice Zhou
4a74c075b9 RHEL: upgrade to 8.5; Fedora: upgrade to 35
RHEL/Fedora: add link to list of repositories

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-12-28 13:09:48 +03:00
George Melikov
d1fe488e56 CI: use actions/checkout@v2 everywhere 2021-12-20 11:26:20 +03:00
Maurice Zhou
dd5988c0f8 RHEL: Remove automatic detection of system version.
Closes #216

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-12-15 11:11:04 +03:00
Maurice Zhou
6f435e59e4 RHEL and Fedora: Fix package installation order.
Closes #238
Also see openzfs/zfs#12822

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2021-12-15 11:11:04 +03:00
Richard Laager
704cb2f8b8 Ubuntu: Update link for 20.04.3 2021-12-13 20:06:11 -06:00
Richard Laager
a408cc2d67 Debian/Ubuntu: Set hostname in Live environment
This ensures that the Live hostname does not leak into e.g. OpenSSH
server keys.  It's not a huge deal either way, but this is nicer.

Closes #158
Thanks: anarcat
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-12-12 14:24:41 -06:00
Richard Laager
a90b19b0f7 Debian: Update initrd example
This now uses a /BOOT instead of /ROOT.  I also changed
rpool/ROOT/debian-1 to rpool/ROOT/debian.  These changes make it match
the Root on ZFS systems.  I have no actually tested this.

Closes #215
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-12-12 13:52:12 -06:00
Richard Laager
567524c1e0 Debian: Add dropbear instructions
The dropbear-initramfs package can be used to add dropbear SSH support
to the initramfs.  That can be used to remotely unlock the root pool
using the `zfsunlock` script.

Closes #46
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-12-11 20:26:15 -06:00
Richard Laager
db8b190f73 Debian: Fix formatting error
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2021-12-11 20:08:15 -06:00