echo "- - -" > /sys/class/scsi_host/hostN/scan
# Re-scans
multipath -F && multipath
ls -ltra /dev/mapper
# Removing a LUN
umount /path/to/volume
multipath -l
multipath -F
lsof /dev/sdX
# Delete the drives.
# Do this for EACH drive
echo 1 > /sys/block/sdX/device/delete
# Unmap the volume on the SAN
multipath
multipath -l
No comments:
Post a Comment