Commit Graph

471 Commits

Author SHA1 Message Date
Maurice Zhou
1211e98faf NixOS Root on ZFS: Do not bind mount /boot/efi
Previously we used a bind mount from /boot/efis/*-part1
to /boot/efi to facilitate bootloader configuration.
Recent reports indicate that this bind mount prevents
the system from booting.  This pull request removes the
bind mount.

Closes #383.

Signed-off-by: Maurice Zhou <ja@apvc.uk>
2023-02-10 11:16:11 +03:00
FrostKiwi
0aaa23397e Remove instruction to block disk cache
By my understanding, unnecessary due to unmounting at the end of the instruction. Has lead to unstable and error-spewing ZFS setups, as discussed in this issue: https://github.com/NixOS/nixpkgs/issues/214871
2023-02-08 23:46:53 +03:00
George Melikov
e08d869fed man pages: gen .in pages too
Some pages have replacing placeholders,
just render them as is for now.

Signed-off-by: George Melikov <mail@gmelikov.ru>
2023-01-27 12:52:19 +03:00
Laura Hild
b358f76d1b Add stablelists to required EL8 build packages
Not having kernel-abi-stablelists causes e.g.

  error: Failed build dependencies:
        kernel-abi-whitelists is needed by zfs-kmod-2.1.5-1.el8.x86_64

when following the section on building kABI-tracking kmods.
2023-01-27 02:34:13 +03:00
A1EF
0dd61741f2 Add ZSTD into available compression algorithms 2023-01-23 02:09:58 +03:00
George Melikov
48e3fded3d Module Parameters: update zfs_dirty_data_max_max defaults 2023-01-18 14:07:35 +03:00
Richard Laager
33de2eef4b Debian/Ubuntu: Add a note about ZFS_INITRD_ADDITIONAL_DATASETS
Putting /etc on a separate dataset leads to a bad time.

Closes #356
2023-01-05 22:46:22 -06:00
Issam Maghni
2af017fe58 Use nix builtins for hostId 2023-01-02 13:22:43 +03:00
Gergin Darakov
ef2be632e8 - Fix typo 2022-12-30 13:18:18 +03:00
shribe
9e6d2461c3 improved PostgreSQL advice
The advice to not cache data in ARC is simply wrong--PG does not work that way, shared buffers are more special purpose. PG *expects* the majority of caching to be done by the OS file cache and is designed around that assumption.

LZ4 compression changes things with regard to record size--even with fast NVMe--using a record size that will fit multiple compressed blocks increases performance by reducing the total data written despite the partial record writes. (I have benchmarked this extensively.)
2022-12-19 21:42:51 +03:00
jze2
d63d75e5a0 Update openSUSE Tumbleweed Root on ZFS.rst
There is no dbus package, only dbus-1
2022-12-10 11:56:36 +03:00
jze2
91088376fa Update openSUSE Tumbleweed Root on ZFS.rst
There is no grub2-x86_64-pc package anymore.
2022-12-10 11:56:09 +03:00
jze2
6f965cbe8b Update openSUSE Tumbleweed Root on ZFS.rst
When mail dataset is created in /var/mail, the filesystem package will fail to install (as it does not expect /var/mail to be a directory, see https://archive.virtualmin.com/node/23096), so create it in /var/spool/mail instead as is usual.
2022-12-10 11:53:29 +03:00
LordNicky
7e5a343523 Update openSUSE Leap Root on ZFS.rst
Suse have some problems with rpool's new features,
document features set for now + minor fixes.

Co-authored-by: George Melikov <mail@gmelikov.ru>
2022-12-10 11:50:28 +03:00
TonyBoston
218a441379 remove @-sign as this doesn't work
dnf group install gnome-desktop works
2022-11-29 15:44:11 +03:00
Pariksheet Nanda
577bcc4f93 Debian: Install NTP service on Bullseye to avoid web login failures
Closes #344
2022-11-29 12:56:07 +03:00
Brooks Davis
ccb9d2a17f Mention that fdescfs needs to be mounted
Some tests require access to /dev/fs/3 which requires a proper /dev/fd
with fdescfs not just symlinks to fd's 0-2.
2022-11-02 12:45:07 +03:00
Brooks Davis
56afbc77ef FreeBSD: define MAKE=gmake in configure env
The default make on FreeBSD is bmake not GNU make.  Set MAKE=gmake to
prevent configure errors.
2022-11-02 12:45:07 +03:00
Brooks Davis
28e0bde4c4 FreeBSD: Update python package references
Install the "python" package to get the a friendly bin/python wrapper
and install dependencies using origins rather than package names in
order to install the default flavor.
2022-11-02 12:45:07 +03:00
Brooks Davis
f8a3542b58 Drop svnlite instructions in favor of git
While FreeBSD 12 sources are still available via Subversion, users are
better off using git as it is the source of truth.
2022-11-02 12:45:07 +03:00
George Melikov
e626e252e4 compatibility_matrix: fix typo (close <a>)
Signed-off-by: George Melikov <mail@gmelikov.ru>
2022-10-31 19:16:08 +03:00
George Melikov
5643c66781 Add basic RAIDZ intro
Signed-off-by: George Melikov <mail@gmelikov.ru>
2022-10-31 18:51:42 +03:00
George Melikov
7d63db18b1 compatibility_matrix: fix omnios link for fresh releases
Signed-off-by: George Melikov <mail@gmelikov.ru>
2022-10-31 18:46:13 +03:00
George Melikov
f386276d0b compatibility_matrix: describe edonr support for FreeBSD
Signed-off-by: George Melikov <mail@gmelikov.ru>
2022-10-31 17:21:46 +03:00
George Melikov
1a4718c9c1 Update Workload Tuning.rst
Add info about init_on_alloc
2022-10-31 13:22:00 +03:00
George Melikov
35f18ee573 Workload tuning: prepare for FS_CASEFOLD_FL patch 2022-10-02 00:20:49 +03:00
Richard Laager
81b6c209e4 Debian: Add work-around for bpool import failures
I am not sure under what circumstances this occurs, or whether it also
affects Debian Buster or Ubuntu.

Closes #349
Co-authored-by: Immanuel Albrecht <immanuel.albrecht@dlh.de>
Signed-off-by: Richard Laager <rlaager@wiktel.com>
2022-10-01 04:50:09 -05:00
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