diff --git a/src/middlewared/middlewared/plugins/pool_/dataset.py b/src/middlewared/middlewared/plugins/pool_/dataset.py index f20156d6a98fb..bb60a266c24a2 100644 --- a/src/middlewared/middlewared/plugins/pool_/dataset.py +++ b/src/middlewared/middlewared/plugins/pool_/dataset.py @@ -464,7 +464,7 @@ async def __common_validation(self, verrors, schema, data, mode, parent=None, cu Int('refreservation'), Inheritable(Int('special_small_block_size'), has_default=False), Inheritable(Int('copies')), - Inheritable(Str('snapdir', enum=['VISIBLE', 'HIDDEN'])), + Inheritable(Str('snapdir', enum=['DISABLED', 'VISIBLE', 'HIDDEN'])), Inheritable(Str('deduplication', enum=['ON', 'VERIFY', 'OFF'])), Inheritable(Str('checksum', enum=ZFS_CHECKSUM_CHOICES)), Inheritable(Str('readonly', enum=['ON', 'OFF'])),