Commit Graph

494 Commits

Author SHA1 Message Date
Maurice Zhou
68eebfd5df Add double quotes to DISK=$DISK
Without the double quotes, the $DISK variable expands and will not
handle multi-disk correctly.

Co-authored-by: @baberlevi

Signed-off-by: Maurice Zhou <ja@apvc.uk>
2022-09-23 21:49:09 +03:00
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
Tino Reichardt
56bf668e81 Change BLAKE3 checksum documentation
The module parameter icp_blake3_impl is rennamed to zfs_blake3_impl now.
2022-09-03 14:47:44 +03: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
Christian Schwarz
d29daba7cf add bzip2 to ZTS requirements
A bunch of pool images included in the test suite are bzip2-compressed.
The tests fail if bunzip2 is not installed.
2022-08-23 14:32:16 +03: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
Mormacill
5777295f0a Removed dropped ncompress dependency for RHEL9 2022-07-22 09:50:06 +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
24ac67ce92 Fix style warning 2022-07-13 23:41:59 +03: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
c4dadd7ec7 Add RHEL 9 dependencies
RHEL 9 needs the 'CRB' repo enabled to install libtirpc-devel, and does not use the 'powertools' repo. 
See: https://wiki.almalinux.org/repos/AlmaLinux.html

Signed-off-by: Tony Hutter <hutter2@llnl.gov>
2022-07-07 12:59:46 -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
gyto6
46773e0cd4 Update Hardware.rst - removed comments and obsolete warning paragraph (#323) 2022-06-27 01:38:50 +03:00
gyto6
38982070ca Add NVMe et SATA drives with PLP + Optane Drives
Update Hardware.rst
2022-06-26 16:15:28 +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
Rich Ercolani
daafae4a1e Additional caveats for by-XXX paths (#301)
Added a few caveats I've run into about /dev/disk/ paths that weren't already present.

Co-authored-by: George Melikov <mail@gmelikov.ru>
2022-06-19 15:52:15 +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
Tino Reichardt
c401b72bf1 Add BLAKE3 to the Checksums documentation 2022-06-19 14:19:10 +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
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