Commit Graph

303 Commits

Author SHA1 Message Date
sam-kleiner
233952e4e7 update partition sizes 2022-09-11 23:30:11 -05:00
Sam Kleiner
1a3b19f2e8 fix ubuntu 22.04 zfs on pi link 2022-09-11 23:30:11 -05:00
bajjer
f7aafbd853 Revise example to tune to the recordsize for rpool
Change the provided example to tune the ``recordsize`` to apply to the
root dataset when creating the rpool. See
https://github.com/openzfs/openzfs-docs/issues/345#issuecomment-1242657449

Closes #345
Closes #346

Signed-off-by: Richard Laager <rlaager@wiktel.com>
[applied the change to all the distros]
2022-09-10 16:28:09 -05:00
Scott G. Ainsworth
f5fbbb6f90 Clarify boot wording. Remove trailing spaces. 2022-08-28 15:53:55 -05:00
Scott G. Ainsworth
2fdc3aaf9a Update image link to Ubuntu 2022.04.01 2022-08-28 15:53:55 -05:00
Adam Kalisz
90fbd14df3 Add cryptsetup-initramfs package to include cryptsetup into initrd.
The initrd cannot otherwise decrypt the partition.
2022-08-23 12:25:31 +03:00
Maurice Zhou
d5ae2ab80b Update links to ZFS repo for RHEL
Signed-off-by: Maurice Zhou <ja@apvc.uk>
2022-08-10 23:33:44 +03:00
Tony Hutter
46a912175e Remove unneeded rpm --import <key>
RPM will prompt to install our signing key, so no need to manually import it:
```
ZFS on Linux for EL9 - kmod                                                                                                                                                         3.3 MB/s | 3.4 kB     00:00    
Importing GPG key 0x9DB84141:
 Userid     : "OpenZFS <release@openzfs.org>"
 Fingerprint: 7DC7 299D CF7C 7FD9 CD87 701B A599 FD5E 9DB8 4141
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-openzfs
Is this ok [y/N]: y
```
Removing the line also gets around the problem of the key being renamed from `RPM-GPG-KEY-zfsonlinux` -> `RPM-GPG-KEY-openzfs`
2022-08-08 12:27:17 -07:00
Tony Hutter
5d2d7b4d23 Point to new zfs-release-2-2 RPMs, add key
Add our new key for EL9+ and Fedora 37+, and update instructions
to include EL9.  Also update links for Fedora/EL to use the
new zfs-release-2-2 RPM.

Signed-off-by: Tony Hutter <hutter2@llnl.gov>
2022-08-08 21:46:51 +03:00
Maurice Zhou
b35065b4fc Alpine: Use ZFS for /boot, updated bootloader instructions
Signed-off-by: Maurice Zhou <ja@apvc.uk>
2022-07-31 21:48:31 +03:00
Maurice Zhou
82988571d1 Root on ZFS: Fix broken links
Signed-off-by: Maurice Zhou <ja@apvc.uk>
2022-07-27 15:38:33 +03:00
Maurice Zhou
0e22ae68eb Add support for Alpine Linux
Signed-off-by: Maurice Zhou <ja@apvc.uk>
2022-07-27 11:12:03 +03:00
Maurice Zhou
2766cb7197 Updates and cleanup for Arch, RHEL, NixOS and Fedora
Signed-off-by: Maurice Zhou <ja@apvc.uk>
2022-07-27 11:11:03 +03:00
Tony Hutter
5b51f08df4 Temporarly remove EL 9
Remove EL 9 references until we can sign EL9 packages with an updated RPM key that EL9 supports by default.
2022-07-20 17:14:32 -07:00
Tony Hutter
bc3d372c17 Add EL 9.0 text 2022-07-19 14:20:14 -07:00
Tony Hutter
64a1217920 Use universal zfs-release link for CentOS again
Earlier we had to revert the CentOS 7 zfs-release RPM to point to the older `zfs-release.el8_6` RPM, since the newer universal RPM was encoded with zstd compression (which CentOS 7 didn't support).  Since then, we've rebuilt the universal RPM with gzip, so we can use it again.
2022-07-14 10:08:51 -07:00
George Melikov
1d2ffe3528 Apt: use kernel/headers meta packages
- `generic` packages exist since bullseye
- older versions have `amd64` meta package
2022-07-13 23:41:59 +03:00
weijh
ecc6c713f9 Update index.rst 2022-07-08 10:20:30 -07:00
Tony Hutter
2d636cb596 Use universal zfs-release RPM (#325)
We now have universal zfs-release RPMs that will work for all
version of either Fedora or RHEL/CentOS:

https://github.com/zfsonlinux/zfsonlinux.github.com/pull/67

Update the docs to point to the new RPMs.

Signed-off-by: Tony Hutter <hutter2@llnl.gov>
2022-07-06 09:28:04 +03:00
Maria
c67000823a Update 2-system-configuration.rst (#321)
Add correct path to `aliases` file on immutable step
2022-06-22 13:31:06 +03:00
Maurice Zhou
077e24712a NixOS: update system major version inside configuration files
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-06-19 14:23:05 +03:00
Maurice Zhou
1cd6ef244f fix argument order
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-06-19 14:23:05 +03:00
Maurice Zhou
d9782f7877 NixOS: upgrade to 22.05, mail notification, procedure for system upgrade
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2022-06-19 14:23:05 +03:00
Richard Laager
e1f251bba1 Debian: Correct backports pinning
The source package is zfs-linux, not zfsutils-linux.  I had this wrong
in the fix for #314.

Closes #318
Reported-by: Piscium
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-06-13 12:40:50 -05:00
Antoine Beaupré
726f07a127 port the recent commits to Ubuntu 22.04
Signed-off-by: Antoine Beaupré <anarcat@debian.org>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-06-09 12:28:50 -05:00
Antoine Beaupré
bc5882432b reorder the bpool to be consistent with the rpool
We stick to two rules here:

 * -o options come before -O

 * pool-specific options are wedged in between -o and
   -O (e.g. compatibility=grub2)

I don't know if that was a deliberate policy, I'm just trying to guess
what the pattern was

Signed-off-by: Antoine Beaupré <anarcat@debian.org>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-06-09 12:28:47 -05:00
Antoine Beaupré
16d2fe20df reorder and regroup zpool create commands
This regroups the options passed to zpool create in a more logical
way.

 1. the ACL/xattr/dnodesize settings are all on one line, since they
    are all related (latter being optimizations because we enable the
    former)

 2. ashift, autotrim, compression, normalization, relatime are all
    independent options that merit their own line for better
    visibility, they are also optional and therefore it makes sense to
    have them separate

 3. canmount, mountpoint and -R are all related as well

This is only a "whitespace" fix: there should be no functional change
to this patch.

I also noted that dnodesize=auto is *not* passed to the bpool cache
creation, even though it's passed to the rpool creation. I suspect
that might be an omission. This also goes to show that ordering those
options consistently makes it easier to spot those errors.

This is a followup to #307.

Signed-off-by: Antoine Beaupré <anarcat@debian.org>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-06-09 12:28:30 -05:00
Richard Laager
9e7a1e8c54 Add "the" to a phrase
I noticed this while looking at #317.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-06-09 12:18:48 -05:00
Richard Laager
36c1f2f5cd Debian: Update backports pinning
According to the apt_preferences man page, we should be able to use
"Package: src:zfsutils-linux".  Then we don't have to worry about keeping
the list of packages up-to-date, especially as library soversions change.

Reported-by: udf2457
Closes #314
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-06-08 01:14:00 -05:00
Tony Hutter
f0cbd9a29c Update directions for RHEL 8.6 zfs-release 2022-06-06 14:54:34 -07:00
Tony Hutter
cf17cf5306 Add AlmaLinux/RHEL 8.6 2022-06-06 13:49:26 -07:00
Richard Laager
f30e459aa2 Debian/Ubuntu: Strengthen "New version" messages
This makes it more clear that the old guides are not receiving updates.

This came up in #309.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-25 13:53:46 -05:00
Richard Laager
7493fd37e4 Debian: Revert compatibility=grub2
This doesn't work on Debian Bullseye.  While I tested the actual
create command on unstable, I know I looked at a file list on
packages.debian.org.  I must have looked at bullseye-backports by
mistake.  That's what I get for not testing the whole thing!

This partially reverts commit 7343c2253f.

Reported-by: anarcat
Closes #309
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-20 23:23:17 -05:00
Richard Laager
db5c8c4785 Debian & Ubuntu: Rework dataset creation step
The major change for Ubuntu is to mark many of these as optional, like
with Debian and the old guides.  As I move away from zsys, this will end
up being more like the old way.

This was also discussed in #306 and #307, but this change has
trade-offs.  It can reduce the number of datasets created on the
system, but it does so by increasing the complexity to read and follow
the guide.

Then I just harmonized Debian with Ubuntu.  Aside from whitespace,
reordering, rewording, the substantive changes were to drop /opt and
add /var/lib/NetworkManager.

Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-05-19 23:17:17 -05:00
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
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
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