We have CX4-120 EMC SAN storage, I expend existing LUN size to 20GB but now i am not able to see any cylinder changes on host fdisk -l output. Following command i am running to re-scan my hda or LUNecho 1 > /sys/class/fc_host/host1/issue_lipecho 1 > /sys/class/fc_host/host2/issue_lipAnd thenecho - - - > /sys/class/scsi_host/host1/scanecho - - - > /sys/class/scsi_host/host2/scanecho - - - > /sys/class/scsi_host/host3/scanecho - - - > /sys/class/scsi_host/host4/scanecho - - - > /sys/class/scsi_host/host5/scanecho - - - > /sys/class/scsi_host/host6/scanecho - - - > /sys/class/scsi_host/host7/scanBut still fdisk -l /dev/emcpowere  showing old cylinder size, Am i missing something? I have qlogic hda
Linux EMC scan Lun not working
linux;storage;fdisk;scsi
All above command doesn't work if you expanding existing LUN or re-scaning existing LUN. Solution:echo 1 > /sys/block/<DEVICE>/device/rescanHandy script:cd /devfor DEVICE in `ls sd[a-z] sd?[a-z]`; do echo '1' > /sys/block/$DEVICE/device/rescan; done