Hi,
I think this is a bug report, let me know if it's best on Jira.
TrueNAS CORE version 13.0-U6.1
In the GUI, in Storage > Pools, setting "readonly" for the whole pool doesn't apply the same state to the datasets that were set to readonly : 'inherit'.
What seems to happen is (example) :
- Datasets shows 'inherit (false)' when set to inherit (coming from a fixed, non-inherited state) and the if the pool has readonly : Off
- Datasets with 'inherit (false)' will NOT change to 'inherit (true)' when the pool is set to 'readonly : On' but instead will stay on 'Off', now showing 'false' (without inherit specified), as if they were manually set to Off.
- Checking in 'Edit Options' will show that indeed, the setting seems to have changed from 'inherit (off)' to simply 'Off'.
- Switching the Pool readonly property back to 'Off' will revert both changes :
1. The dataset will now show 'inherit (false)' again in the table
2. The dataset will now show 'inherit (off)' in the 'Edit Options' menu.
tl;dr the inherit state wasn't respected, the dataset only showed 'inherit' when it happened to match the pool's readonly property state, and simply masked 'inherit' when it didn't match, never actually inheriting the property.
Let me know if you prefer me to post this on Jira, or require more informations, clarifications.
I hope it's clear enough, but the behaviour is so strange, it's hard to explain simply.
Thanks
I think this is a bug report, let me know if it's best on Jira.
TrueNAS CORE version 13.0-U6.1
In the GUI, in Storage > Pools, setting "readonly" for the whole pool doesn't apply the same state to the datasets that were set to readonly : 'inherit'.
What seems to happen is (example) :
- Datasets shows 'inherit (false)' when set to inherit (coming from a fixed, non-inherited state) and the if the pool has readonly : Off
- Datasets with 'inherit (false)' will NOT change to 'inherit (true)' when the pool is set to 'readonly : On' but instead will stay on 'Off', now showing 'false' (without inherit specified), as if they were manually set to Off.
- Checking in 'Edit Options' will show that indeed, the setting seems to have changed from 'inherit (off)' to simply 'Off'.
- Switching the Pool readonly property back to 'Off' will revert both changes :
1. The dataset will now show 'inherit (false)' again in the table
2. The dataset will now show 'inherit (off)' in the 'Edit Options' menu.
tl;dr the inherit state wasn't respected, the dataset only showed 'inherit' when it happened to match the pool's readonly property state, and simply masked 'inherit' when it didn't match, never actually inheriting the property.
Let me know if you prefer me to post this on Jira, or require more informations, clarifications.
I hope it's clear enough, but the behaviour is so strange, it's hard to explain simply.
Thanks