diff options
author | George Amanakis <[email protected]> | 2023-05-08 22:35:03 +0200 |
---|---|---|
committer | GitHub <[email protected]> | 2023-05-08 13:35:03 -0700 |
commit | 4eca03faaf6a1c05d739c738e3d5c0df2931da98 (patch) | |
tree | a0a65f26b22df9f7860b433a78928359da33eb45 /man | |
parent | 3095ca91c261756c509d0afb4422027753e68c90 (diff) |
Fixes in head_errlog feature with encryption
For the head_errlog feature use dsl_dataset_hold_obj_flags() instead of
dsl_dataset_hold_obj() in order to enable access to the encryption keys
(if loaded). This enables reporting of errors in encrypted filesystems
which are not mounted but have their keys loaded.
Reviewed-by: Brian Behlendorf <[email protected]>
Signed-off-by: George Amanakis <[email protected]>
Closes #14837
Diffstat (limited to 'man')
-rw-r--r-- | man/man7/zpool-features.7 | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/man/man7/zpool-features.7 b/man/man7/zpool-features.7 index efe9e8339..2b7dcb638 100644 --- a/man/man7/zpool-features.7 +++ b/man/man7/zpool-features.7 @@ -562,13 +562,12 @@ This feature enables the upgraded version of errlog, which required an on-disk error log format change. Now the error log of each head dataset is stored separately in the zap object and keyed by the head id. -In case of encrypted filesystems with unloaded keys or unmounted encrypted -filesystems we are unable to check their snapshots or clones for errors and -these will not be reported. -In this case no filenames will be reported either. With this feature enabled, every dataset affected by an error block is listed in the output of .Nm zpool Cm status . +In case of encrypted filesystems with unloaded keys we are unable to check +their snapshots or clones for errors and these will not be reported. +An "access denied" error will be reported. .Pp \*[instant-never] . |