After you have assigned a new disk/LUN from storage to the designated server, you have to follow few steps in order to scan the new LUN and make it visible on the server. Before you can configure the LUN in multipath configuration, you will have to scan it in OS first. Follow the steps below to scan the new LUN in OS and then in multipath.


1. Rescan SCSI hosts:

# for host in 'ls /sys/class/scsi_host'
	echo ${host}; echo "- - -" > /sys/class/scsi_host/${host}/scan


2. Issue LIP to FC hosts:

# for host in 'ls /sys/class/fc_host'
	echo ${host}; echo "1" > /sys/class/fc_host/${host}/issue_lip;


Note: Performing issue_lip is not recommended to scan the newly added devices on existing storage ports. This operation performs a Loop Initialization Protocol (LIP), scans the interconnect, and causes the SCSI layer to be updated to reflect the devices currently on the bus. Essentially, an LIP is a bus reset, and causes device addition and removal.


3. Run rescan script from sg3_utils:



# -i


Reload/Refresh Multipathd deamon


After above scan, the new assigned LUNs are visible in Linux OS level, but still multipathd daemon will show no mappings for new LUNs. You will have to refresh multipathd daemon to map the new LUNs.

Run the below command:

# multipath -v2


This should bring the LUNs in control of device mapper multipathd.




Verify with “multipath -ll“” that the LUNs are visible now.

# multipath -ll


If partitions created on multipath devices and that is not being listed, kpartx need to be executed on the affected multipath devices.

# kpartx -a -v /dev/mapper/XXXXXXX


After running the above command you should be able to see the partition.


Was this answer helpful? 0 Users Found This Useful (0 Votes)