nixpkgs/nixos/modules/tasks/filesystems
Jakub Sokołowski c70f047315
nixos/zfs: assert no force import with hibernation
According to a ZFS issue about hibernation causing data corruption:
https://github.com/openzfs/zfs/issues/12842

The way this happens is if the system force imports a pool that was
suspended during hibernation. I've had this happen twice on NixOS and
I'd like to avoid having this happen again, to me or others.

To do this I've added an assertion that makes sure you can't have
`forceImportRoot` or `forceImportAll` enabled with `allowHibernation`.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
2022-12-17 13:11:23 +01:00
..
apfs.nix nixos/apfs: init 2022-01-27 15:18:45 +01:00
bcachefs.nix
btrfs.nix nixos/*: automatically convert option descriptions 2022-08-31 16:32:53 +02:00
cifs.nix nixos/filesystems: Make most simple filesystems compatible with systemd 2022-04-24 16:32:34 +02:00
ecryptfs.nix nixos: explicitely set security.wrappers ownership 2021-09-13 13:48:13 +02:00
exfat.nix
ext.nix nixos: Add ext to fsPackages in stage 2 with systemd-initrd enabled 2022-11-20 22:30:01 -05:00
f2fs.nix nixos/filesystems: Make most simple filesystems compatible with systemd 2022-04-24 16:32:34 +02:00
glusterfs.nix
jfs.nix nixos/jfs: correct broken toplevel reference 2022-10-06 19:26:13 +00:00
nfs.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
ntfs.nix
reiserfs.nix nixos/filesystems: Make most simple filesystems compatible with systemd 2022-04-24 16:32:34 +02:00
unionfs-fuse.nix nixos/filesystems: Make most simple filesystems compatible with systemd 2022-04-24 16:32:34 +02:00
vboxsf.nix
vfat.nix nixos/filesystems: Make most simple filesystems compatible with systemd 2022-04-24 16:32:34 +02:00
xfs.nix nixos/xfs: Fix evaluation (#170471) 2022-04-26 21:43:01 +02:00
zfs.nix nixos/zfs: assert no force import with hibernation 2022-12-17 13:11:23 +01:00