fdisk -l | grep -i GB | sort > prescan.txt for hst in $(ls /sys/class/scsi_host); do echo "Rescanning $hst..."; echo "- - -" > /sys/class/scsi_host/$hst/scan; done fdisk -l | grep -i GB | sort > postscan.txt diff prescan.txt postscan.txt | grep mapper