LUN Capacity Failed to Be Updated After Being Changed
Symptom
After the capacity of a LUN is changed, the new capacity of the LUN is not updated after system script /usr/bin/rescan-scsi-bus.sh is executed.
Root Cause
The LUN capacity is not updated on the host.
Solution
Run the echo 1 > /sys/block/sd*/device/rescan command to update the LUN and then execute /usr/bin/rescan-scsi-bus.sh.