zfs(4)
名称
说明
dbuf_cache_max_bytes = UINT64_MAX B (u64)
dbuf_metadata_cache_max_bytes = UINT64_MAX B (u64)
dbuf_cache_hiwater_pct = 10 % (uint)
dbuf_cache_lowater_pct = 10 % (uint)
dbuf_cache_shift = 5 (uint)
dbuf_metadata_cache_shift = 6 (uint)
dbuf_mutex_cache_shift = 0 (uint)
dmu_object_alloc_chunk_shift = 7 (128) (uint)
dmu_ddt_copies = 3 (uint)
dmu_prefetch_max = 134217728 B (128 MiB) (uint)
l2arc_feed_again = 1 | 0 (int)
l2arc_feed_min_ms = 200 (u64)
l2arc_feed_secs = 1 (u64)
l2arc_headroom = 8 (u64)
l2arc_headroom_boost = 200 % (u64)
l2arc_dwpd_limit = 100 (uint)
l2arc_exclude_special = 0 | 1 (int)
l2arc_mfuonly = 0 | 1|2 (int)
l2arc_meta_percent = 33 % (uint)
l2arc_trim_ahead = 0 % (u64)
l2arc_noprefetch = 1 | 0 (int)
l2arc_norw = 0 | 1 (int)
l2arc_ext_headroom_pct = 25 (u64)
l2arc_meta_cycles = 2 (u64)
l2arc_write_max = 33554432 B (32 MiB) (u64)
l2arc_rebuild_enabled = 1 | 0 (int)
l2arc_rebuild_blocks_min_l2size = 1073741824 B (1 GiB) (u64)
metaslab_aliquot = 2097152 B (2 MiB) (u64)
metaslab_bias_enabled = 1 | 0 (int)
metaslab_perf_bias = 1 | 0|2 (int)
metaslab_force_ganging = 16777217 B (16 MiB + 1 B) (u64)
metaslab_force_ganging_pct = 3 % (uint)
brt_zap_prefetch = 1 | 0 (int)
brt_zap_default_bs = 13 (8 KiB) (int)
brt_zap_default_ibs = 13 (8 KiB) (int)
ddt_zap_default_bs = 15 (32 KiB) (int)
ddt_zap_default_ibs = 15 (32 KiB) (int)
zfs_default_bs = 9 (512 B) (int)
zfs_default_ibs = 17 (128 KiB) (int)
zfs_dio_enabled = 1 | 0 (int)
zfs_dio_strict = 0 | 1 (int)
zfs_history_output_max = 1048576 B (1 MiB) (u64)
zfs_keep_log_spacemaps_at_export = 0 | 1 (int)
zfs_metaslab_segment_weight_enabled = 1 | 0 (int)
zfs_metaslab_switch_threshold = 2 (int)
metaslab_debug_load = 0 | 1 (int)
metaslab_debug_unload = 0 | 1 (int)
metaslab_fragmentation_factor_enabled = 1 | 0 (int)
metaslab_df_max_search = 16777216 B (16 MiB) (uint)
metaslab_df_use_largest_segment = 0 | 1 (int)
zfs_metaslab_max_size_cache_sec = 3600秒 (1 小时) (u64)
zfs_metaslab_mem_limit = 25 % (uint)
zfs_metaslab_try_hard_before_gang = 0 | 1 (int)
zfs_metaslab_find_max_tries = 100 (uint)
zfs_vdev_default_ms_count = 200 (uint)
zfs_vdev_default_ms_shift = 29 (512 MiB) (uint)
zfs_vdev_max_ms_shift = 34 (16 GiB) (uint)
zfs_vdev_max_auto_ashift = 14 (uint)
zfs_vdev_direct_write_verify = Linux 1 | FreeBSD 0 (uint)
zfs_vdev_min_auto_ashift = ASHIFT_MIN (9) (uint)
zfs_vdev_min_ms_count = 16 (uint)
vdev_validate_skip = 0 | 1 (int)
zfs_vdev_ms_count_limit = 131072 (128k) (uint)
metaslab_preload_enabled = 1 | 0 (int)
metaslab_preload_limit = 10 (uint)
metaslab_preload_pct = 50 (uint)
metaslab_lba_weighting_enabled = 1 | 0 (int)
metaslab_unload_delay = 32 (uint)
metaslab_unload_delay_ms = 600000 毫秒 (10 分钟) (uint)
reference_history = 3 (uint)
raidz_expand_max_copy_bytes = 160MB (ulong)
raidz_expand_max_reflow_bytes = 0 (ulong)
raidz_io_aggregate_rows = 4 (ulong)
reference_tracking_enable = 0 | 1 (int)
send_holes_without_birth_time = 1 | 0 (int)
spa_config_path = /etc/zfs/zpool.cache (charp)
spa_asize_inflation = 24 (uint)
spa_load_print_vdev_tree = 0 | 1 (int)
spa_load_verify_data = 1 | 0 (int)
spa_load_verify_metadata = 1 | 0 (int)
spa_load_verify_shift = 4 (1/16) (uint)
spa_slop_shift = 5 (1/32) (int)
spa_num_allocators = 4 (int)
spa_cpus_per_allocator = 4 (int)
spa_upgrade_errlog_limit = 0 (uint)
vdev_read_sit_out_secs = 600 秒 (10 分钟) (ulong)
vdev_raidz_outlier_check_interval_ms = 1000 ms (1 秒) (ulong)
vdev_raidz_outlier_insensitivity = 50 (uint)
vdev_removal_max_span = 32768 B (32 KiB) (uint)
vdev_file_logical_ashift = 9 (512 B) (u64)
vdev_file_physical_ashift = 9 (512 B) (u64)
zap_iterate_prefetch = 1 | 0 (int)
zap_micro_max_size = 131072 B (128 KiB) (int)
zap_shrink_enabled = 1 | 0 (int)
zfetch_min_distance = 4194304 B (4 MiB) (uint)
zfetch_max_distance = 67108864 B (64 MiB) (uint)
zfetch_max_idistance = 67108864 B (64 MiB) (uint)
zfetch_max_reorder = 16777216 B (16 MiB) (uint)
zfetch_max_streams = 8 (uint)
zfetch_min_sec_reap = 1 (uint)
zfetch_max_sec_reap = 2 (uint)
zfs_abd_scatter_enabled = 1 | 0 (int)
zfs_abd_scatter_max_order = MAX_ORDER-1 (uint)
zfs_abd_scatter_min_size = 1536 B (1.5 KiB) (uint)
zfs_arc_dnode_limit = 0 B (u64)
zfs_arc_dnode_limit_percent = 10 % (u64)
zfs_arc_dnode_reduce_percent = 10 % (u64)
zfs_arc_average_blocksize = 8192 B (8 KiB) (uint)
zfs_arc_eviction_pct = 200 % (uint)
zfs_arc_evict_batch_limit = 10 (uint)
zfs_arc_evict_batches_limit = 5 (uint)
zfs_arc_evict_threads = 0 (int)
CPU 数
线程数
zfs_arc_grow_retry = 0 秒 (uint)
zfs_arc_lotsfree_percent = 10 % (int)
zfs_arc_max = 0 B (u64)
zfs_arc_meta_balance = 500 (uint)
zfs_arc_min = 0 B (u64)
zfs_arc_min_prefetch_ms = 0 ms (≡1 s) (uint)
zfs_arc_min_prescient_prefetch_ms = 0 ms (≡6 s) (uint)
zfs_arc_prune_task_threads = 1 (int)
zfs_max_missing_tvds = 0 (int)
zfs_max_nvlist_src_size = 0 B (u64)
zfs_multilist_num_sublists = 0 (uint)
zfs_arc_overflow_shift = 8 (int)
zfs_arc_shrink_shift = 0 (uint)
zfs_arc_pc_percent = 0 % (off) (uint)
zfs_arc_shrinker_limit = 0 (int)
zfs_arc_shrinker_seeks = 2 (int)
zfs_arc_sys_free = 0 B (u64)
zfs_checksum_events_per_second = 20/s (uint)
zfs_commit_timeout_pct = 10 % (uint)
zfs_condense_indirect_commit_entry_delay_ms = 0 ms (int)
zfs_condense_indirect_obsolete_pct = 25 % (uint)
zfs_condense_indirect_vdevs_enable = 1 | 0 (int)
zfs_condense_max_obsolete_bytes = 1073741824 B (1 GiB) (u64)
zfs_condense_min_mapping_bytes = 131072 B (128 KiB) (u64)
zfs_dbgmsg_enable = 1 | 0 (int)
zfs_dbgmsg_maxsize = 4194304 B (4 MiB) (uint)
zfs_dbuf_state_index = 0 (int)
zfs_deadman_checktime_ms = 60000 ms (1 min) (u64)
zfs_deadman_enabled = 1 | 0 (int)
zfs_deadman_events_per_second = 1/s (int)
zfs_deadman_failmode = wait (charp)
wait
continue
panic
zfs_deadman_synctime_ms = 600000 毫秒(10 min) (u64)
zfs_deadman_ziotime_ms = 300000 毫秒(5 min) (u64)
zfs_dedup_prefetch = 0 | 1 (int)
zfs_dedup_log_flush_min_time_ms = 1000 毫秒(uint)
zfs_dedup_log_flush_entries_min = 100 (uint)
zfs_dedup_log_flush_entries_max = UINT_MAX (uint)
zfs_dedup_log_flush_txgs = 100 (uint)
zfs_dedup_log_cap = UINT_MAX (uint)
zfs_dedup_log_hard_cap = 0 | 1 (uint)
zfs_dedup_log_flush_flow_rate_txgs = 10 (uint)
zfs_dedup_log_txg_max = 8 (uint)
zfs_dedup_log_mem_max = 0 (u64)
zfs_dedup_log_mem_max_percent = 1 % (uint)
zfs_delay_min_dirty_percent = 60 % (uint)
zfs_delay_scale = 500000 (int)
zfs_dio_write_verify_events_per_second = 20/s (uint)
zfs_disable_ivset_guid_check = 0 | 1 (int)
zfs_key_max_salt_uses = 400000000 (4×10^8) (ulong)
zfs_object_mutex_size = 64 (uint)
zfs_slow_io_events_per_second = 20 /s (int)
zfs_unflushed_max_mem_amt = 1073741824 B (1 GiB) (u64)
zfs_unflushed_max_mem_ppm = 1000 ppm (0.1%) (u64)
zfs_unflushed_log_block_max = 131072 (128k) (u64)
zfs_unflushed_log_block_min = 1000 (u64)
zfs_unflushed_log_block_pct = 400 % (u64)
zfs_unflushed_log_txg_max = 1000 (u64)
zfs_unlink_suspend_progress = 0 | 1 (uint)
zfs_delete_blocks = 20480 (ulong)
zfs_dirty_data_max =(int)
zfs_dirty_data_max_max =(int)
zfs_dirty_data_max_max_percent = 25 % (uint)
zfs_dirty_data_max_percent = 10 % (uint)
zfs_dirty_data_sync_percent = 20 % (uint)
zfs_wrlog_data_max = (int)
zfs_fallocate_reserve_percent = 110 % (uint)
zfs_fletcher_4_impl = fastest(字符串)
zfs_bclone_enabled = 1 | 0 (int)
zfs_bclone_strict_properties = 1 | 0 (int)
zfs_bclone_wait_dirty = 1 | 0 (int)
zfs_blake3_impl = fastest(字符串)
zfs_free_bpobj_enabled = 1 | 0 (int)
zfs_async_block_max_blocks = UINT64_MAX (u64)
zfs_max_async_dedup_frees = 250000 (u64)
zfs_async_free_zio_wait_interval = 2000 (u64)
zfs_vdev_async_read_max_active = 3 (uint)
zfs_vdev_async_read_min_active = 1 (uint)
zfs_vdev_async_write_active_max_dirty_percent = 60 % (uint)
zfs_vdev_async_write_active_min_dirty_percent = 30 % (uint)
zfs_vdev_async_write_max_active = 10 (uint)
zfs_vdev_async_write_min_active = 2 (uint)
zfs_vdev_initializing_max_active = 1 (uint)
zfs_vdev_initializing_min_active = 1 (uint)
zfs_vdev_max_active = 1000 (uint)
zfs_vdev_open_timeout_ms = 1000 (uint)
zfs_vdev_rebuild_max_active = 3 (uint)
zfs_vdev_rebuild_min_active = 1 (uint)
zfs_vdev_removal_max_active = 2 (uint)
zfs_vdev_removal_min_active = 1 (uint)
zfs_vdev_scrub_max_active = 2 (uint)
zfs_vdev_scrub_min_active = 1 (uint)
zfs_vdev_sync_read_max_active = 10 (uint)
zfs_vdev_sync_read_min_active = 10 (uint)
zfs_vdev_sync_write_max_active = 10 (uint)
zfs_vdev_sync_write_min_active = 10 (uint)
zfs_vdev_trim_max_active = 2 (uint)
zfs_vdev_trim_min_active = 1 (uint)
zfs_vdev_nia_delay = 5 (uint)
zfs_vdev_nia_credit = 5 (uint)
zfs_vdev_failfast_mask = 1 (uint)
值
名称
描述
zfs_vdev_disk_max_segs = 0 (uint)
zfs_expire_snapshot = 300 s (int)
zfs_admin_snapshot = 0 | 1 (int)
zfs_snapshot_no_setuid = 0 | 1 (int)
zfs_flags = 0 (int)
值
名称
说明
zfs_btree_verify_intensity = 0 (uint)
值
描述
zfs_free_leak_on_eio = 0 | 1 (int)
zfs_free_min_time_ms = 500 毫秒(uint)
zfs_obsolete_min_time_ms = 500 毫秒(uint)
zfs_immediate_write_sz = 32768 B (32 KiB) (s64)
zil_special_is_slog = 1 | 0 (int)
zfs_import_defer_txgs = 5 (uint)
zfs_initialize_value = 16045690984833335022 (0xDEADBEEFDEADBEEE) (u64)
zfs_initialize_chunk_size = 1048576 B (1 MiB) (u64)
zfs_livelist_max_entries = 500000 (5×10^5) (u64)
zfs_livelist_min_percent_shared = 75 % (int)
zfs_livelist_condense_new_alloc = 0 (int)
zfs_livelist_condense_sync_cancel = 0 (int)
zfs_livelist_condense_sync_pause = 0 | 1 (int)
zfs_livelist_condense_zthr_cancel = 0 (int)
zfs_livelist_condense_zthr_pause = 0 | 1 (int)
zfs_lua_max_instrlimit = 100000000 (10^8) (u64)
zfs_lua_max_memlimit = 104857600 (100 MiB) (u64)
zfs_max_dataset_nesting = 50 (int)
zfs_max_log_walking = 5 (u64)
zfs_max_logsm_summary_length = 10 (u64)
zfs_max_recordsize = 16777216 (16 MiB) (uint)
zfs_allow_redacted_dataset_mount = 0 | 1 (int)
zfs_min_metaslabs_to_flush = 1 (u64)
zfs_metaslab_fragmentation_threshold = 77 % (uint)
zfs_mg_fragmentation_threshold = 95 % (uint)
zfs_mg_noalloc_threshold = 0 % (uint)
zfs_ddt_data_is_special = 1 | 0 (int)
zfs_user_indirect_is_special = 1 | 0 (int)
zfs_multihost_history = 0 (uint)
zfs_multihost_interval = 1000 毫秒(1 s) (u64)
zfs_multihost_import_intervals = 20 (uint)
zfs_multihost_fail_intervals = 10 (uint)
zfs_no_scrub_io = 0 | 1 (int)
zfs_no_scrub_prefetch = 0 | 1 (int)
zfs_nocacheflush = 0 | 1 (int)
zfs_nopwrite_enabled = 1 | 0 (int)
zfs_dmu_offset_next_sync = 1 | 0 (int)
zfs_pd_bytes_max = 52428800 B (50 MiB) (int)
zfs_traverse_indirect_prefetch_limit = 32 (uint)
zfs_per_txg_dirty_frees_percent = 30 % (u64)
zfs_prefetch_disable = 0 | 1 (int)
zfs_qat_checksum_disable = 0 | 1 (int)
zfs_qat_compress_disable = 0 | 1 (int)
zfs_qat_encrypt_disable = 0 | 1 (int)
zfs_vnops_read_chunk_size = 33554432 B (32 MiB) (u64)
zfs_read_history = 0 (uint)
zfs_read_history_hits = 0 | 1 (int)
zfs_rebuild_max_segment = 1048576 B (1 MiB) (u64)
zfs_rebuild_scrub_enabled = 1 | 0 (int)
zfs_rebuild_vdev_limit = 67108864 B (64 MiB) (u64)
zfs_reconstruct_indirect_combinations_max = 4096 (int)
zfs_recover = 0 | 1 (int)
zfs_removal_ignore_errors = 0 | 1 (int)
zfs_removal_suspend_progress = 0 | 1 (uint)
zfs_remove_max_segment = 16777216 B (16 MiB) (uint)
zfs_resilver_disable_defer = 0 | 1 (int)
zfs_resilver_defer_percent = 10 % (uint)
zfs_resilver_min_time_ms = 1500 毫秒 (uint)
zfs_scan_ignore_errors = 0 | 1 (int)
zfs_scrub_after_expand = 1 | 0 (int)
zfs_scrub_min_time_ms = 750 毫秒 (uint)
zfs_scrub_error_blocks_per_txg = 4096 (uint)
zfs_scan_checkpoint_intval = 7200 秒 (2 小时) (uint)
zfs_scan_fill_weight = 3 (uint)
zfs_scan_issue_strategy = 0 (uint)
1
2
0
zfs_scan_legacy = 0 | 1 (int)
zfs_scan_max_ext_gap = 2097152 B (2 MiB) (int)
zfs_scan_mem_lim_fact = 20 ^-1 (uint)
^-1 (uint)zfs_scan_mem_lim_soft_fact = 20 ^-1 (uint)
^-1 (uint)zfs_scan_report_txgs = 0 | 1 (uint)
zfs_scan_strict_mem_lim = 0 | 1 (int)
zfs_scan_suspend_progress = 0 | 1 (int)
zfs_scan_vdev_limit = 16777216 B (16 MiB) (int)
zfs_send_corrupt_data = 0 | 1 (int)
zfs_send_unmodified_spill_blocks = 1 | 0 (int)
zfs_send_no_prefetch_queue_ff = 20 ^-1 (uint)
^-1 (uint)zfs_send_no_prefetch_queue_length = 1048576 B (1 MiB) (uint)
zfs_send_queue_ff = 20 ^-1 (uint)
^-1 (uint)zfs_send_queue_length = 16777216 B (16 MiB) (uint)
zfs_recv_queue_ff = 20 ^-1 (uint)
^-1 (uint)zfs_recv_queue_length = 16777216 B (16 MiB) (uint)
zfs_recv_write_batch_size = 1048576 B (1 MiB) (uint)
zfs_recv_best_effort_corrective = 0 (int)
zfs_override_estimate_recordsize = 0 | 1 (uint)
zfs_sync_pass_deferred_free = 2 (uint)
zfs_spa_discard_memory_limit = 16777216 B (16 MiB) (int)
zfs_spa_note_txg_time = 600 (uint)
zfs_spa_flush_txg_time = 600 (uint)
zfs_special_class_metadata_reserve_pct = 25 % (uint)
zfs_sync_pass_dont_compress = 8 (uint)
zfs_sync_pass_rewrite = 2 (uint)
zfs_trim_extent_bytes_max = 134217728 B (128 MiB) (uint)
zfs_trim_extent_bytes_min = 32768 B (32 KiB) (uint)
zfs_trim_metaslab_skip = 0 | 1 (uint)
zfs_trim_queue_limit = 10 (uint)
zfs_trim_txg_batch = 32 (uint)
zfs_txg_history = 100 (uint)
zfs_txg_timeout = 5 秒 (uint)
zfs_vdev_aggregation_limit = 1048576 B (1 MiB) (uint)
zfs_vdev_aggregation_limit_non_rotating = 131072 B (128 KiB) (uint)
zfs_vdev_mirror_rotating_inc = 0 (int)
zfs_vdev_mirror_rotating_seek_inc = 5 (int)
zfs_vdev_mirror_rotating_seek_offset = 1048576 B (1 MiB) (int)
zfs_vdev_mirror_non_rotating_inc = 0 (int)
zfs_vdev_mirror_non_rotating_seek_inc = 1 (int)
zfs_vdev_read_gap_limit = 32768 B (32 KiB) (uint)
zfs_vdev_write_gap_limit = 4096 B (4 KiB) (uint)
zfs_vdev_raidz_impl = fastest(字符串)
zfs_zevent_len_max = 512 (uint)
zfs_zevent_retain_max = 2000 (int)
zfs_zevent_retain_expire_secs = 900 秒 (15 分钟) (int)
zfs_zil_clean_taskq_maxalloc = 1048576 (int)
zfs_zil_clean_taskq_minalloc = 1024 (int)
zfs_zil_clean_taskq_nthr_pct = 100 % (int)
zil_maxblocksize = 131072 B (128 KiB) (uint)
zil_maxcopied = 7680 B (7.5 KiB) (uint)
zil_nocacheflush = 0 | 1 (int)
zil_replay_disable = 0 | 1 (int)
zil_slog_bulk = 67108864 B (64 MiB) (u64)
zfs_zil_saxattr = 1 | 0 (int)
zfs_embedded_slog_min_ms = 64 (uint)
zstd_earlyabort_pass = 1 (uint)
zstd_abort_size = 131072 (uint)
zio_deadman_log_all = 0 | 1 (int)
zio_slow_io_ms = 30000 毫秒 (30 s) (int)
zio_dva_throttle_enabled = 1 | 0 (int)
zfs_xattr_compat = 0 | 1 (int)
zio_requeue_io_start_cut_in_line = 0 | 1 (int)
zfs_delete_inode = 0 | 1 (int)
zfs_delete_dentry = 0 | 1 (int)
zio_taskq_batch_pct = 80 % (uint)
zio_taskq_batch_tpq = 0 (uint)
zio_taskq_write_tpq = 16 (uint)
zio_taskq_read = fixed,1,8 null scale null (charp)
zio_taskq_write = sync null scale null (charp)
zio_taskq_free = scale,32 null null null (charp)
zvol_inhibit_dev = 0 | 1 (uint)
zvol_major = 230 (uint)
zvol_max_discard_blocks = 16384 (long)
zvol_prefetch_bytes = 131072B (128 KiB) (uint)
zvol_request_sync = 0 | 1 (uint)
zvol_num_taskqs = 0 (uint)
zvol_threads = 0 (uint)
zvol_blk_mq_threads = 0 (uint)
zvol_use_blk_mq = 0 | 1 (uint)
zvol_blk_mq_blocks_per_thread = 8 (uint)
zvol_blk_mq_queue_depth = 0 (uint)
zvol_volmode = 1 (uint)
1
2
3
zvol_enforce_quotas = 0 | 1 (uint)
ZFS I/O 调度器
异步写入
ZFS 事务延迟
最后更新于