Commit Graph

449 Commits

Author SHA1 Message Date
Maurice Zhou
e437989739 NixOS: add support for ARM64 architecture with UEFI firmware
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2023-03-20 13:21:47 +03:00
Maurice Zhou
6b8c308aad NixOS: enclose disk variable in double quotes
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2023-03-19 01:39:25 +03:00
Umer Saleem
8a4b537f47 Build instructions for native Debian packages
This commit updates the build instructions for native Debian packages.

Signed-off-by: Umer Saleem <usaleem@ixsystems.com>
2023-03-18 22:05:13 +03:00
Maurice Zhou
b6cf700f62 Update NixOS configuration, clean up RHEL, Fedora, Arch guide mount section
Closes #397

Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2023-03-18 21:58:25 +03:00
Maurice Zhou
a69befb2ce Update Alpine, Arch, Fedora and RHEL root on ZFS guides
Signed-off-by: Maurice Zhou <jasper@apvc.uk>
2023-03-10 20:57:14 +03:00
Tino Reichardt
a0c149af5b Add zfs_sha256_impl and zfs_sha512_impl to Checksums.rst
We should add these two module parameter.

They can be used for setting up individual SIMD module
parameters.

Signed-off-by: Tino Reichardt <milky-zfs@mcmilk.de>
2023-03-07 20:45:43 +03:00
George Melikov
c3db54b664 Workload Tuning: actualize volblocksize
It was a little bit obsolete and obscure.

Signed-off-by: George Melikov <mail@gmelikov.ru>
2023-02-23 12:38:37 +03:00
Laura Hild
2254f0cb61 Update zfs_dmu_offset_next_sync for v2.1.5
Pull request was openzfs/zfs#12746,
commit openzfs/zfs@9f6943504a.
2023-02-20 23:36:39 +03:00
m3t
450f043363 NixOS Root on ZFS: fix config hints
Stay in sync with the config template generated by nixos-generate-config
2023-02-16 23:54:49 +03:00
Richard Laager
2efebdb5db Debian/Ubuntu: Mention blkdiscard
Inspired by PR #387

Co-authored-by: Maurice Zhou <ja@apvc.uk>
[The author of PR #387.]
2023-02-15 12:51:54 -06:00
Richard Laager
e51faf4e81 Ubuntu: Add wipefs to the instructions
This was present in the Debian instructions.  I don't know why we
wouldn't want it here too.
2023-02-15 12:51:54 -06:00
Maurice Zhou
3a93793b53 NixOS Root on ZFS: add escape hatch for zfs rollback
Signed-off-by: Maurice Zhou <ja@apvc.uk>
2023-02-14 20:51:04 +03:00
Maurice Zhou
b3180fd225 NixOS Root on ZFS: wipe flash-based storage device.
Signed-off-by: Maurice Zhou <ja@apvc.uk>
2023-02-14 20:51:04 +03:00
Maurice Zhou
cc6d72c02d NixOS Root on ZFS: use Nix-config for multi-disk
NixOS has enjoyed popularity among ZFS users thanks to
its declarative configuration and native ZFS support.
However, the installation guide used hardcoded disk
names in configuration files, which is unnecessary and
is the source of difficulties in multidisk setups.

The guide is now rewritten to leverage expressions in
the Nix language to manage multidisk setups.

Also adds instruction on replacing failed disk.

Closes #385.

Signed-off-by: Maurice Zhou <ja@apvc.uk>
2023-02-12 19:24:24 +03:00
Mason Loring Bliss
d8713058b3 RHEL 9 needs kernel-abi-stablelists too 2023-02-10 11:17:58 +03:00
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
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
5643c66781 Add basic RAIDZ intro
Signed-off-by: George Melikov <mail@gmelikov.ru>
2022-10-31 18:51:42 +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