summary refs log tree commit diff
path: root/nixos/modules/tasks/filesystems/zfs.nix
Commit message (Collapse)AuthorAge
* treewide: add defaultText for options using other shortcut bindingspennae2021-12-09
|
* treewide: add literalDocBook text to options with complex defaultspennae2021-12-09
| | | | | | | | 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.
* nixos/zfs: replace parentheses with bracesCole Helbling2021-11-03
| | | | | | | | | | | | | | | | | | 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".
* nixos/doc: clean up defaults and examplesNaïm Favier2021-10-04
|
* services.zfs.expandOnBoot: support expanding pools on bootYour Name2021-08-24
| | | | | Either enumerating a list of pools to expand or expanding all pools on boot.
* nixos/zfs: Add defaultText for 'boot.zfs.package'-option (#122002)Jens Nolte2021-05-13
|
* Merge pull request #117071 from mohe2015/hotfix-zfs-grubJörg Thalheim2021-04-17
|\ | | | | nixos/zfs: Fix regression that prevents people to boot from zfs using grub if they didn't add zfs to boot.initrd.supportedFilesystems
| * nixos/zfs: Fix regression that prevents people to boot from zfs using grub ↵Hedtke, Moritz2021-03-20
| | | | | | | | | | | | if they didn't add zfs to boot.initrd.supportedFilesystems See https://github.com/NixOS/nixpkgs/pull/99386
* | nixos/zfs: fix autoScrub.enable descriptionAlyssa Ross2021-04-01
|/ | | | | This was previously "Whether to enable Enables periodic scrubbing of ZFS pools.."
* zfs: disable smartmontools mail functionalityCole Helbling2021-02-06
|
* nixos/zfs: make zed mail optionalCole Helbling2021-02-06
| | | | "zed does not need the ability to send email by default" --Eelco
* zfs: fix invalid package referencesJörg Thalheim2021-02-03
|
* nixos/zfs: fix reference to awkJörg Thalheim2021-02-03
| | | | broken in 648a6c4348f19c5c50bbff20ed683f783194574b
* nixos/lxd: refactor to use zfs.package/enabled propertyJörg Thalheim2021-02-01
|
* nixos/zfs: expose enabled optionJörg Thalheim2021-02-01
|
* nixos/zfs: expose zfs package as readonly attributeJörg Thalheim2021-02-01
|
* treewide: fix double quoted strings in meta.descriptionvolth2021-01-24
| | | | Signed-off-by: Ben Siraphob <bensiraphob@gmail.com>
* nixos/zfs: make zpool-trim timer persistentIvan Petkov2021-01-15
| | | | | | | | | | | | 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.
* utillinux: rename to util-linuxGraham Christensen2020-11-24
|
* nixos: boot.zfsImportAll = false; by defaultSarah Brofeldt2020-11-11
| | | | Also add 21.03 release note
* nixos/zfs: Respect forceImportAll in import serviceSarah Brofeldt2020-11-11
|
* ZFS: Request credentials only for selected poolsHenri Menke2020-07-21
| | | | | | | | | | | | 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.
* ZFS: Update description for requestEncryptionCredentialsWill Fancher2020-07-02
|
* ZFS: Set IFS=$'\t' for the read command in stage 2 load-keyWill Fancher2020-07-02
| | | Co-authored-by: Graham Christensen <graham@grahamc.com>
* ZFS: Pipe /dev/null into the stage 2 load-key scriptWill Fancher2020-07-02
| | | | | Just in case something reads stdin, so that `while read ds kl` doesn't miss anything
* ZFS: Ask for stage 2 encryption passwords using systemd-ask-passwordWill Fancher2020-06-23
|
* nixos/zfs: add missing dependendy nettoolsdatafoo2020-05-18
| | | | Fix #87823
* Merge pull request #79828 from Mic92/zedJörg Thalheim2020-04-02
|\ | | | | nixos/zfs: populate PATH with needed programs for zed
| * nixos/zfs: populate PATH with needed programs for zedJörg Thalheim2020-02-11
| |
* | zfs: document systemd-udev-settle dependencyPeter Hoeg2020-03-21
| |
* | nixos/zfs: continue trimming also if one pool failsJörg Thalheim2020-03-03
|/ | | | fixes https://github.com/NixOS/nixpkgs/issues/81602
* nixos/treewide: Move rename.nix imports to their respective modulesSilvan Mosberger2019-12-10
| | | | | | | | 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
* nixos/zfs: Adding ZED configuration optionsnyanloutre2019-12-04
| | | | Co-authored-by: sjau <github.com@sjau.ch>
* Merge pull request #70240 from woffs/pr-etc-zpool.dJörg Thalheim2019-10-15
|\ | | | | nixos module zfs: provide /etc/zfs/zpool.d
| * nixos module zfs: provide /etc/zfs/zpool.dFrank Doepper2019-10-02
| | | | | | | | | | The scripts for zpool iostat -c and zpool status -c are located in /etc/zfs/zpool.d
* | nixos/zfs: simplify logic for scrub/autosnapshot serviceJörg Thalheim2019-10-14
| | | | | | | | | | This makes them consistent with the way zfs.trim is enabled and allow to enable them by default in future.
* | nixos/zfs: avoid script derivation for trim serviceJörg Thalheim2019-10-08
| | | | | | | | | | 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.
* | nixos/zfs: only enable trim if zfs is enabledJörg Thalheim2019-10-07
|/ | | | | Also don't fail the service if there are no pools yet. This might happen on installation ISOs.
* nixos/zfs: Enable trim by defaultSvein Ove Aas2019-09-27
|
* treewide: remove redundant quotesvolth2019-08-26
|
* nixos/zfs: add trim serviceJörg Thalheim2019-07-25
| | | | | | | 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.
* nixos/zfs: enable requestEncryptionCredentials by defaultIvan Jager2019-07-04
| | | | | Since zfsStable now supports encryption, it no longer makes sense to set the default based on whether we're using zfsUnstable
* nixos/zfs: Remove requestEncryptionCredentials assertionSilvan Mosberger2019-06-21
| | | | zfs >= 0.8 supporting encryption is now stable
* zfs: 0.7.13 -> 0.8.0Jörg Thalheim2019-06-06
| | | | | | | 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.
* nixos/zfs: autoscrub only after boot is completeLinus Heckemann2019-01-14
| | | | Fixes #53583
* Hide useless errors when waiting for zpool to be readyAndrew Dunham2018-10-16
|
* linuxPackages.zfsUnstable: 2018-05-22 -> 2018-08-13Jörg Thalheim2018-08-14
| | | | spl was merged into zfs master
* zfsLegacyCrypto: removeJörg Thalheim2018-08-13
| | | | | This package was only mandatory for migration for people on zfsUnstable in nixos unstable.
* [bot]: remove unreferenced codevolth2018-07-20
|
* zfs: Improve import handlingSvein Ove Aas2018-07-02
|