Red Hat Training

A Red Hat training course is available for RHEL 8

5.5. 配置文件覆盖部分

overrides 部分可以识别可选的 protocol 子部分,并可包含多个 protocol 子部分。系统使用强制 type 属性将路径设备与 protocol 子匹配。匹配 protocol 子部分中的属性优先于其它 overrides 部分中的属性。如果有多个匹配的 protocol 子部分,则后续条目具有更高的优先级。

以下列表中的属性是可选的。如果没有设置它们,则应用 devicesdefaults 部分中的默认值。

  • path_grouping_policy
  • uid_attribute
  • getuid_callout
  • path_selector
  • path_checker
  • alias_prefix
  • 功能
  • prio
  • prio_args
  • failback
  • no_path_retry
  • rr_min_io
  • rr_min_io_rq
  • flush_on_last_del
  • fast_io_fail_tmo
  • dev_loss_tmo
  • eh_deadline
  • user_friendly_names
  • retain_attached_hw_handler
  • detect_prio
  • detect_checker
  • deferred_remove
  • san_path_err_threshold
  • san_path_err_forget_rate
  • san_path_err_recovery_time
  • marginal_path_err_sample_time
  • marginal_path_err_rate_threshold
  • marginal_path_err_recheck_gap_time
  • marginal_path_double_failed_time
  • delay_watch_checks
  • delay_wait_checks
  • skip_kpartx
  • max_sectors_kb
  • ghost_delay
  • all_tg_pt

protocol 子部分识别以下强制属性:

表 5.4. multipath 子部分属性

å±�性描述

type

指定路径设备的协议字符串。可能的值包括:

scsi:fcp, scsi:spi, scsi:ssa, scsi:sbp, scsi:srp, scsi:iscsi, scsi:sas, scsi:adt, scsi:ata, scsi:unspec, ccw, cciss, nvme, undef

此属性不是正则表达式。路径设备协议字符串必须完全匹配。

以下列表中的属性对于 protocol 子部分是可选的。如果没有设置它们,则应用来自 overrides, devicesdefaults 部分中的默认值。

  • fast_io_fail_tmo
  • dev_loss_tmo
  • eh_deadline

其他资源