Specifications

Administration Guide
276 VMware, Inc.
Type!the!following!command!to!select!the!fixed!policy!for!a!disk,!in!this!example,!
vmhba0:0:0.!
# vmkmultipath -s vmhba0:0:0 -p fixed
! mru!!ESX!Server!uses!the!most!recent!path!to!the!disk!until!this!path!becomes!
unavailable.!That!is,!ESX!Server!does!not!automatically!revert!back!to!the!preferred!
path.!Most!recent!path!(mru)!is!the!default!policy!for!active/passive!storage!devices.
Type!the!following!command!to!select!the!mru!
policy!for!a!disk,!in!this!example,!
vmhba0:0:0.!
# vmkmultipath -s vmhba0:0:0 -p mru
You!can!select!a!different!policy!for!each!disk.
Specifying Paths
Use!the!vmkmultipath!command!to!disable!and!enable!paths,!set!the!active!path,!and!
set!the!preferred!path,!as!illustrated!in!the!following!examples.!Configure!paths!by!
setting!path!modes!with!the!-s!option.
Enabling a Path
Use!the!-e!option!to!enable!paths!with!vmkmultipath.!In!this!example,!you!are!
enabling!the!path!from!controller!vmhba1:0:1!to!disk!vmhba0:0:1.
# vmkmultipath -s vmhba0:0:1 -e vmhba1:0:1
Disabling a Path
Use!the!-d!option!to!disable!paths!with!vmkmultipath.!In!this!example,!you!are!
disabling!the!path!from!controller!vmhba1:0:1!to!disk!vmhba0:0:1.
# vmkmultipath -s vmhba0:0:1 -d vmhba1:0:1
Setting the Preferred Path
Use!the!-r option!to!specify!the!preferred!path!to!a!disk.!In!this!example,!you!are!
setting!as!preferred!the!path!from!controller!vmhba1:0:1!to!disk!vmhba0:0:1.
# vmkmultipath -s vmhba0:0:1 -r vmhba1:0:1
N
OTE Use!the!MRU!path!policy!for!disks!on!active/passive!storage!devices.
NOTE Use!the!MRU!policy!for!disks!on!active/passive!storage!devices.!Using!the!fixed!policy!
can!cause!path!thrashing!and!significantly!reduced!performance.