User Tools

Site Tools


storage:legacy

Multipath

yum install device-mapper-multipath

Mapping point

/dev/mapper/mpathN

Initialize multipath.conf

mpathconf --enable --user_friendly_names y

Default Blacklist

blacklist {     
  devnode "^(ram|raw|loop|fd|md|dm-|sr|scd|st)[0-9]*"     
 }

Block devices under two paths

defaults {
...
        find_multipaths yes
...
}

ORACLE DB

rescan-scsi-bus.sh
cd /dev/disk/by-id/
ls -lthr

grep scsi-xxxxxxxxxxxxxxxxxxx-part1

multipaths {
    multipath {
    wwid 36000d310042cbc000000000000000004
    alias  DATA_01
    features "1 queue_if_no_path"
    }
}

defaults {
no_path_retry    fail
}

DATA_01 should be ASM name

Multipath info

multipath -ll
mpatha (36000d310042cbc000000000000000004) dm-2 COMPELNT,Compellent Vol
size=500G features='1 queue_if_no_path' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=1 status=active
  |- 7:0:0:1  sdb 8:16 active ready running
  |- 7:0:2:1  sdc 8:32 active ready running
  |- 16:0:0:1 sdd 8:48 active ready running
  `- 16:0:2:1 sde 8:64 active ready running
storage/legacy.txt · Last modified: 2021/02/11 13:08 by Jan Forman