| Commit message (Collapse) | Author | Age |
| |
|
|
|
|
|
|
|
|
| |
some options have default that are best described in prose, such as
defaults that depend on the system stateVersion, defaults that are
derivations specific to the surrounding context, or those where the
expression is much longer and harder to understand than a simple text
snippet.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The parentheses prevent the `continue` line from working by running the
enclosed in a subshell -- I noticed that ZFS would start asking me for
my password to encrypted child datasets, even though they were not
specified in `requestEncryptionCredentials`. The following logs would
also be present in the import unit's journal:
Oct 31 22:13:17 host systemd[1]: Starting Import ZFS pool "pool"...
Oct 31 22:13:44 host zfs-import-pool-start[3711]: importing ZFS pool "pool"...
Oct 31 22:13:44 host zfs-import-pool-start[4017]:pool/nix/store/39zij3xcxn4w38v6x8f88bx8y91nv0rm-unit-script-zfs-import-pool-start/bin/zfs-import-pool-start: line 31: continue: only meaningful in a `for', `while', or `until' loop
Oct 31 22:13:44 host zfs-import-pool-start[4020]:pool/nix/store/39zij3xcxn4w38v6x8f88bx8y91nv0rm-unit-script-zfs-import-pool-start/bin/zfs-import-pool-start: line 31: continue: only meaningful in a `for', `while', or `until' loop
Oct 31 22:15:14 host zfs-import-pool-start[4023]: Failed to query password: Timer expired
Oct 31 22:15:14 host zfs-import-pool-start[4024]: Key load error: encryption failure
Oct 31 22:15:14 host systemd[1]: zfs-import-pool.service: Main process exited, code=exited, status=255/EXCEPTION
Oct 31 22:15:14 host systemd[1]: zfs-import-pool.service: Failed with result 'exit-code'.
Oct 31 22:15:14 host systemd[1]: Failed to start Import ZFS pool "pool".
|
| |
|
|
|
|
|
| |
Either enumerating a list of pools to expand or expanding
all pools on boot.
|
| |
|
|\
| |
| | |
nixos/zfs: Fix regression that prevents people to boot from zfs using grub if they didn't add zfs to boot.initrd.supportedFilesystems
|
| |
| |
| |
| |
| |
| | |
if they didn't add zfs to boot.initrd.supportedFilesystems
See https://github.com/NixOS/nixpkgs/pull/99386
|
|/
|
|
|
| |
This was previously "Whether to enable Enables periodic scrubbing of
ZFS pools.."
|
| |
|
|
|
|
| |
"zed does not need the ability to send email by default" --Eelco
|
| |
|
|
|
|
| |
broken in 648a6c4348f19c5c50bbff20ed683f783194574b
|
| |
|
| |
|
| |
|
|
|
|
| |
Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
If the machine is powered off when the zpool-trim timer is supposed to
trigger (usually around midnight) then the timer will be skipped
outright in favor of the next instance.
For desktop systems which are usually powered off at this time, zpool
trimming will never be run which can degrade SSD performance.
By marking the timer as `Persistent = yes` we ensure that it will run at
the first possible opportunity after the trigger date is reached.
|
| |
|
|
|
|
| |
Also add 21.03 release note
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This change introduces more fine-grained requestEncryptionCredentials.
While previously when requestEncryptionCredentials = true, the
credentials for all imported pools and all datasets in these imported
pools were requested, it is now possible to select exactly the pools and
datasets for which credentials should be requested.
It is still possible to set requestEncryptionCredentials = true, which
continues to act as a wildcard for all pools and datasets, so the change
is backwards compatible.
|
| |
|
|
|
| |
Co-authored-by: Graham Christensen <graham@grahamc.com>
|
|
|
|
|
| |
Just in case something reads stdin, so that `while read ds kl` doesn't
miss anything
|
| |
|
|
|
|
| |
Fix #87823
|
|\
| |
| | |
nixos/zfs: populate PATH with needed programs for zed
|
| | |
|
| | |
|
|/
|
|
| |
fixes https://github.com/NixOS/nixpkgs/issues/81602
|
|
|
|
|
|
|
|
| |
A centralized list for these renames is not good because:
- It breaks disabledModules for modules that have a rename defined
- Adding/removing renames for a module means having to find them in the
central file
- Merge conflicts due to multiple people editing the central file
|
|
|
|
| |
Co-authored-by: sjau <github.com@sjau.ch>
|
|\
| |
| | |
nixos module zfs: provide /etc/zfs/zpool.d
|
| |
| |
| |
| |
| | |
The scripts for zpool iostat -c and zpool status -c are located in
/etc/zfs/zpool.d
|
| |
| |
| |
| |
| | |
This makes them consistent with the way zfs.trim is enabled
and allow to enable them by default in future.
|
| |
| |
| |
| |
| | |
Since we only have a single pipe we can save the overhead of building a derivation
when creating the zfs trim service file when building the system.
|
|/
|
|
|
| |
Also don't fail the service if there are no pools yet.
This might happen on installation ISOs.
|
| |
|
| |
|
|
|
|
|
|
|
| |
Introduces a trim timer similar to the fstrim service.
According to zpool(8) for consumer hardware periodic manual TRIM
is preferred over automatic TRIM that ZFS implements.
The period of one week is based on recommendations of fstrim.
|
|
|
|
|
| |
Since zfsStable now supports encryption, it no longer makes sense to set
the default based on whether we're using zfsUnstable
|
|
|
|
| |
zfs >= 0.8 supporting encryption is now stable
|
|
|
|
|
|
|
| |
Same as zfsUnstable for the moment.
We still keep the zfsUnstable expression as we likely
need it in the near future again.
Also remove spl since it is no longer needed.
|
|
|
|
| |
Fixes #53583
|
| |
|
|
|
|
| |
spl was merged into zfs master
|
|
|
|
|
| |
This package was only mandatory for migration for people on zfsUnstable
in nixos unstable.
|
| |
|
| |
|