Solution, Linux cleanup after lun removal, Solution linux cleanup after lun removal – Dell Acceleration Appliances for Databases User Manual
Page 69

Solution
To resolve this issue,
1. Add the following code to the end of the
/lib/udev/rules.d/50-udev-
default.rules
file:
# InfiniBand
KERNEL=="umad*", NAME="infiniband/%k"
KERNEL=="issm*", NAME="infiniband/%k"
KERNEL=="uverbs*", NAME="infiniband/%k"
KERNEL=="ucm*", NAME="infiniband/%k"
KERNEL=="uat", NAME="infiniband/%k"
KERNEL=="ucma", NAME="infiniband/%k"
KERNEL=="rdma_cm", NAME="infiniband/%k"
2. Run the following command to restart
rdma
:
# /etc/init.d/rdma restart
3. Wait for a few seconds after
rdma
has restarted, and then run the following commands to
verify that the changes have solved the issue:
# srp_daemon -oac
# opensm
OpenSM will now start as expected, as will SRPTools.
LINUX CLEANUP AFTER LUN REMOVAL
Linux does not automatically clean up after ION Accelerator LUN removals. For RHEL and OL, the
required steps for LUN removal are described here:
These instructions also work for SLES.
For all distros, before running
multipath –f
, run the following command:
dmsetup message mpathXYZ 0 "fail_if_no_path"
where
mpathXYZ
is the name of the device.
62