iscsiadm -m node --targetname target_name
-R
[7]
target_name
with the name of the target where the device is located.
iscsiadm -m node -R -I interface
interface
with the corresponding interface name of the resized logical unit (for example, iface0
). This command performs two operations:
echo "- - -" > /sys/class/scsi_host/host
/scan
does (refer to Section 21.12, “
Scanning iSCSI Interconnects”).
echo 1 > /sys/block/sdX/device/rescan
does. Note that this command is the same one used for re-scanning fibre-channel logical units.