Skip to content

Instantly share code, notes, and snippets.

@severgun
Forked from dubcl/multipath_hp.conf
Created February 19, 2024 21:14
Show Gist options
  • Save severgun/c8c44df5d259d4e907a63bd55dfdc8a7 to your computer and use it in GitHub Desktop.
Save severgun/c8c44df5d259d4e907a63bd55dfdc8a7 to your computer and use it in GitHub Desktop.

Revisions

  1. @dubcl dubcl renamed this gist Aug 14, 2018. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  2. @dubcl dubcl revised this gist Jun 16, 2017. 1 changed file with 1 addition and 0 deletions.
    1 change: 1 addition & 0 deletions multipath.conf
    Original file line number Diff line number Diff line change
    @@ -7,6 +7,7 @@ defaults {
    path_checker directio
    }
    blacklist {
    # avoid multipath configure local disks
    devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
    devnode "^hd[a-z]"
    wwid 3600508b1001cxxxxxxxxxx63fa93e456
  3. @dubcl dubcl created this gist Jun 16, 2017.
    36 changes: 36 additions & 0 deletions multipath.conf
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,36 @@
    # Example config for P2000 G3

    defaults {
    polling_interval 5
    path_selector "round-robin 0"
    user_friendly_names yes
    path_checker directio
    }
    blacklist {
    devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"
    devnode "^hd[a-z]"
    wwid 3600508b1001cxxxxxxxxxx63fa93e456
    wwid 3600508b1001xxxxxxxxxx9db6f5aabaf

    }
    devices {
    device {
    vendor "HP"
    product "P2000 G3 FC|P2000G3 FC/iSCSI|P2000 G3 SAS|P2000 G3 iSCSI"
    path_grouping_policy "group_by_prio"
    path_checker "tur"
    features "0"
    hardware_handler "0"
    prio "alua"
    failback "immediate"
    rr_weight "uniform"
    no_path_retry 18
    rr_min_io 100
    }
    }
    multipaths {
    multipath {
    wwid 3600c0ff000xxxxxxxxxxfd5701000000
    alias name-for-foo-disk
    }
    }