37.2. Resizing an iSCSI Logical Unit
# iscsiadm -m node --targetname target_name -R
target_namewith the name of the target where the device is located.
# iscsiadm -m node -R -I interface
interfacewith the corresponding interface name of the resized logical unit (for example,
iface0). This command performs two operations:
- It scans for new devices in the same way that the command
echo "- - -" > /sys/class/scsi_host/host/scandoes (refer to Chapter 36, Scanning iSCSI Targets with Multiple LUNs or Portals).
- It re-scans for new/modified logical units the same way that the command
echo 1 > /sys/block/sdX/device/rescandoes. Note that this command is the same one used for re-scanning fibre-channel logical units.